diff options
author | 2018-05-24 16:31:38 +0000 | |
---|---|---|
committer | 2018-05-24 16:31:38 +0000 | |
commit | f5ff39bd0b32c5d3c31bc21cb1f560161c559894 (patch) | |
tree | 458744a08780eed793a7e43debc5ac823cab5a33 | |
parent | b6906661c0c853761a4d65a5980e6f4f24194217 (diff) | |
parent | 26645b9602a5eb41a6ab066d51a08a4d67d08c62 (diff) |
Merge "Remove conditional on external_fixed_ips to allow for case that it is not set but network_id is set in external_gateway_info"
-rw-r--r-- | snaps/domain/network.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/snaps/domain/network.py b/snaps/domain/network.py index a028e2b..9f634aa 100644 --- 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') |