Fix cleanup to remove external resources v6

The generated external resource v6 files were being left over after
running a clean.

Change-Id: I861d38a9e2e9f1262e61c29dc82faddd92354373
This commit is contained in:
Alex Schultz 2019-05-28 10:17:48 -06:00
parent 63985433de
commit 36670f60c1

View File

@ -302,6 +302,9 @@ def clean_templates(base_path, role_data_path, network_data_path):
external_resource_ports_path = os.path.join(
'network', 'ports',
'external_resource_%s.yaml' % network['name_lower'])
external_resource_ports_v6_path = os.path.join(
'network', 'ports',
'external_resource_%s_v6.yaml' % network['name_lower'])
ports_from_pool_path = os.path.join(
'network', 'ports', '%s_from_pool.yaml' % network['name_lower'])
ports_v6_path = os.path.join(
@ -315,6 +318,7 @@ def clean_templates(base_path, role_data_path, network_data_path):
delete(network_from_pool_v6_path)
delete(ports_path)
delete(external_resource_ports_path)
delete(external_resource_ports_v6_path)
delete(ports_from_pool_path)
delete(ports_v6_path)
delete(ports_from_pool_v6_path)