git://git.onelab.eu
/
plstackapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ffada4
)
fix bugs
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 29 Mar 2013 00:46:58 +0000
(20:46 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Fri, 29 Mar 2013 00:46:58 +0000
(20:46 -0400)
plstackapi/core/models.py
patch
|
blob
|
history
diff --git
a/plstackapi/core/models.py
b/plstackapi/core/models.py
index
5f48b13
..
30285c6
100644
(file)
--- 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)