Replace host_interface with control_network_cidr
Add ability to autodetect interface name based on network CIDR
Related-Prod: PRODX-00000
Change-Id: I51b6701c4ca082c7560094cb25adcc615f5911d1
diff --git a/de/heat-templates/top.yaml b/de/heat-templates/top.yaml
index ff01525..7c85320 100644
--- a/de/heat-templates/top.yaml
+++ b/de/heat-templates/top.yaml
@@ -10,9 +10,10 @@
description: >
ID of public network for which floating IP addresses will be allocated/
for baremetal case flat provision network for nodes
- host_interface:
+ control_network_cidr:
type: string
- description: Interface which connects server with public network (world accessible network).
+ description: The CIDR of control network, used to detect control interface.
+ default: '10.10.0.0/24'
masters_size:
type: number
description: Number of masters instances to deploy
@@ -193,7 +194,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
functions_override: { get_param: functions_override }
hardware_metadata: { get_param: hardware_metadata}
@@ -220,7 +221,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
hardware_metadata: { get_param: hardware_metadata}
@@ -249,7 +250,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
storage_frontend_interface: { get_param: storage_frontend_interface }
@@ -281,7 +282,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
storage_frontend_interface: { get_param: storage_frontend_interface }
@@ -313,7 +314,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
hardware_metadata: { get_param: hardware_metadata}
@@ -341,7 +342,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
storage_frontend_interface: { get_param: storage_frontend_interface }
@@ -373,7 +374,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
storage_frontend_interface: { get_param: storage_frontend_interface }
@@ -409,7 +410,7 @@
private_floating_network_cidr: { get_param: private_floating_network_cidr }
accessible_subnet_id: { get_attr: [accessible_network, accessible_subnet_id]}
public_net_id: { get_param: public_net_id }
- host_interface: { get_param: host_interface }
+ control_network_cidr: { get_param: control_network_cidr }
ucp_master_host: { get_attr: [ucp, server_private_ip] }
functions_override: { get_param: functions_override }
hardware_metadata: { get_param: hardware_metadata}