second shot on issue #28.

This commit is contained in:
tmetsch 2013-04-29 12:07:05 +02:00
parent a7f75c0018
commit e208130167
2 changed files with 10 additions and 1 deletions

View File

@ -85,6 +85,15 @@ class OsComputeBackend(backend.MixinBackend, backend.ActionBackend):
raise AttributeError('Not an applicable action.')
class OsNetLinkBackend(backend.MixinBackend, backend.ActionBackend):
"""
The OpenStack network link backend.
"""
pass
class SecurityGroupBackend(backend.UserDefinedMixinBackend):
"""
Security Group backend.

View File

@ -132,7 +132,7 @@ class OCCIApplication(occi_wsgi.Application, wsgi.Application):
self.register_backend(os_addon.OS_CHG_PWD,
openstack.OsComputeBackend())
self.register_backend(os_addon.OS_NET_LINK,
networkinterface_backend)
openstack.OsNetLinkBackend())
def __call__(self, environ, response):
"""