summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhijiang Hu <hu.zhijiang@zte.com.cn>2017-01-03 07:57:15 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-01-03 07:57:15 +0000
commit644940250eff2f1c53d22928a3ae5c6335e4faba (patch)
treec9f264101ea342754988da746441aa6be93ff92b
parentd8cb12e71483a666f59807ae6d78a7df63ca222e (diff)
parent373b6b5f3abe006d115b708d18bb4f1d0119355e (diff)
Merge "set MANAGEMENT ip as null"
-rwxr-xr-xdeploy/get_conf.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/deploy/get_conf.py b/deploy/get_conf.py
index eaac8b17..569f5ede 100755
--- a/deploy/get_conf.py
+++ b/deploy/get_conf.py
@@ -93,10 +93,4 @@ def config(dha_file, network_file):
hosts_name = dha_config_parse(data, dha_file)
data = init(network_file)
network_map, vip, interface_map = network_config_parse(data, network_file)
- for interface_name in interface_map:
- for name in interface_map[interface_name]:
- if name.get('name', None) == 'MANAGEMENT':
- name['ip'] = network_map.get(
- 'MANAGEMENT', None).get(
- 'ip_ranges', None)[0].get('start', None)
return interface_map, hosts_name, network_map, vip