summaryrefslogtreecommitdiffstats
path: root/deploy
diff options
context:
space:
mode:
authorzhouya <zhou.ya@zte.com.cn>2016-12-22 15:17:27 +0800
committerzhou ya <zhou.ya@zte.com.cn>2017-01-03 02:25:03 +0000
commit373b6b5f3abe006d115b708d18bb4f1d0119355e (patch)
tree5530b44ae4924ac29b71deafff77621cd346bd19 /deploy
parente77f23d3483621c52c1c2e25e9a0017ff1126ccd (diff)
set MANAGEMENT ip as null
we have got MANAGEMENT ip from network.yml section networks ip ranges part,so here is duplicated Change-Id: I144a4c5b7e59a1ec1cb1b83a944752a3a1f4d65a Signed-off-by: zhouya <zhou.ya@zte.com.cn>
Diffstat (limited to 'deploy')
-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