Code Review
/
snaps.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
b690666
)
Merge "Remove conditional on external_fixed_ips to allow for case that it is not...
author
Steven Pisarski
<s.pisarski@cablelabs.com>
Thu, 24 May 2018 16:31:38 +0000
(16:31 +0000)
committer
Gerrit Code Review
<gerrit@opnfv.org>
Thu, 24 May 2018 16:31:38 +0000
(16:31 +0000)
snaps/domain/network.py
patch
|
blob
|
history
diff --git
a/snaps/domain/network.py
b/snaps/domain/network.py
index
a028e2b
..
9f634aa
100644
(file)
--- a/
snaps/domain/network.py
+++ b/
snaps/domain/network.py
@@
-186,8
+186,7
@@
class Router:
self.port_subnets = kwargs.get('port_subnets')
if (kwargs.get('external_gateway_info') and
- isinstance(kwargs.get('external_gateway_info'), dict) and
- kwargs.get('external_gateway_info').get('external_fixed_ips')):
+ isinstance(kwargs.get('external_gateway_info'), dict)):
gateway_info = kwargs.get('external_gateway_info')
self.external_network_id = gateway_info.get('network_id')