Fix network allocation parameter

Closes-Bug: 1590018
Change-Id: Ib865c86a87c9799e9133b080bafd44059ea60e79
This commit is contained in:
Enol Fernandez 2016-06-07 16:01:19 +02:00
parent 9bda682f7e
commit 61d99a6667
1 changed files with 2 additions and 2 deletions

View File

@ -155,11 +155,11 @@ class OSNetworkResource(network.NetworkResource):
@property
def allocation(self):
return self.attributes["occi.network.network.allocation"].value
return self.attributes["occi.network.allocation"].value
@allocation.setter
def allocation(self, value):
self.attributes["occi.network.network.allocation"] = value
self.attributes["occi.network.allocation"].value = value
neutron_network = mixin.Mixin(helpers.build_scheme("infrastructure/network"),