change multinode file genetare function in newton version
Change-Id: I1d8a34423c92e3668866ffa2318de6e4c6e41ffe
This commit is contained in:
@@ -29,7 +29,7 @@ def clean_inventory_file(file_path, filename):
|
||||
fp.close()
|
||||
node_names = ['control', 'network', 'compute', 'monitoring',
|
||||
'storage', 'baremetal:children']
|
||||
for section_name in node_names[0:4]:
|
||||
for section_name in node_names[0:5]:
|
||||
next_name_index = node_names.index('%s' % section_name)
|
||||
match = re.search(r"\[%s\](.*)\[%s\]" % (
|
||||
section_name,
|
||||
|
||||
Reference in New Issue
Block a user