diff options
author | Zhijiang Hu <hu.zhijiang@zte.com.cn> | 2017-03-28 02:23:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-03-28 02:23:41 +0000 |
commit | d17daf1af5056040e5399af814ebd850a70a4a75 (patch) | |
tree | 898a6e3b1bd430bb468389af64d5ef8d1b896840 /deploy/prepare/execute.py | |
parent | 3324525378940af1f53c75a264d3945382dfe623 (diff) | |
parent | 2a710a61e3b560c2d39cb759f5d9ac1da21d34c4 (diff) |
Merge "unify the way of obtaining network configuration"
Diffstat (limited to 'deploy/prepare/execute.py')
-rw-r--r-- | deploy/prepare/execute.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deploy/prepare/execute.py b/deploy/prepare/execute.py index 30319b2e..1e88755c 100644 --- a/deploy/prepare/execute.py +++ b/deploy/prepare/execute.py @@ -40,9 +40,9 @@ def _config_service(service, subs): @_config_service('nova', ['api']) def _set_default_floating_pool(network_file): - xnet = NetworkConfig(network_file=network_file).external_network + xnet = NetworkConfig(network_file=network_file).ext_network_name return '[DEFAULT]\n' \ - 'default_floating_pool = {}\n'.format(xnet['network_name']) + 'default_floating_pool = {}\n'.format(xnet) @_config_service('heat', ['api', 'engine']) |