From: Tony Mack Date: Fri, 29 Mar 2013 00:46:58 +0000 (-0400) Subject: fix bugs X-Git-Tag: 1.0~321 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=560788f94eb5397b506777d636516f1475dc55fd;p=plstackapi.git fix bugs --- diff --git a/plstackapi/core/models.py b/plstackapi/core/models.py index 5f48b13..30285c6 100644 --- a/plstackapi/core/models.py +++ b/plstackapi/core/models.py @@ -167,8 +167,8 @@ class SubNet(PlCoreBase): 'name' : self.name, 'ip_version': self.ip_version, 'cidr': self.cidr, - 'allocation_pools': ['start': self.start, - 'end': self.end] + 'allocation_pools': {'start': self.start, + 'end': self.end} } if not self.id: subnets = os_shell.quantum.list_subnets(name=self.name)