second shot on issue #28.
This commit is contained in:
parent
a7f75c0018
commit
e208130167
|
@ -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.
|
||||
|
|
|
@ -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):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue