From 560788f94eb5397b506777d636516f1475dc55fd Mon Sep 17 00:00:00 2001 From: Tony Mack Date: Thu, 28 Mar 2013 20:46:58 -0400 Subject: [PATCH] fix bugs --- plstackapi/core/models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.47.0