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:
257bedc
)
fix bug when adding router to external network
author
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 10 Apr 2013 13:07:45 +0000
(09:07 -0400)
committer
Tony Mack
<tmack@paris.CS.Princeton.EDU>
Wed, 10 Apr 2013 13:07:45 +0000
(09:07 -0400)
plstackapi/openstack/driver.py
patch
|
blob
|
history
diff --git
a/plstackapi/openstack/driver.py
b/plstackapi/openstack/driver.py
index
965c612
..
8b475de
100644
(file)
--- a/
plstackapi/openstack/driver.py
+++ b/
plstackapi/openstack/driver.py
@@
-85,7
+85,8
@@
class OpenStackDriver:
nets = self.shell.quantum.list_networks()['networks']
for net in nets:
if net['router:external'] == True:
- self.shell.quantum.add_gateway_router(router, net)
+ self.shell.quantum.add_gateway_router(router['id'],
+ {'network_id': net['id']})
return router