commit | 560788f94eb5397b506777d636516f1475dc55fd | [log] [tgz] |
---|---|---|
author | Tony Mack <tmack@paris.CS.Princeton.EDU> | Thu Mar 28 20:46:58 2013 -0400 |
committer | Tony Mack <tmack@paris.CS.Princeton.EDU> | Thu Mar 28 20:46:58 2013 -0400 |
tree | 3d922ff392c3a5cc72a8abf7709e8a46d53dac0f | |
parent | 7ffada4fe830f690b565fe3bc3e848f5c8a1e848 [diff] |
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 @@ '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)