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:
28be756
)
fix bug
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 10 Apr 2013 12:58:09 +0000
(08:58 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 10 Apr 2013 12:58:09 +0000
(08:58 -0400)
plstackapi/openstack/driver.py
patch
|
blob
|
history
diff --git
a/plstackapi/openstack/driver.py
b/plstackapi/openstack/driver.py
index
30bb569
..
965c612
100644
(file)
--- a/
plstackapi/openstack/driver.py
+++ b/
plstackapi/openstack/driver.py
@@
-82,7
+82,7
@@
class OpenStackDriver:
else:
router = self.shell.quantum.create_router({'router': {'name': name}})
if set_gateway:
- nets = self.shell.quantum.list_networks()
+ nets = self.shell.quantum.list_networks()
['networks']
for net in nets:
if net['router:external'] == True:
self.shell.quantum.add_gateway_router(router, net)