Create pair of virtual interfaces for baremetal network
Create pair of veth interfaces and plug then to linux bridge, will allow
to connect virtualized nodes to physics via ovs bridges.
Related-Prod: PRODX-3456
Change-Id: Icabdd75bbb5fca4962eb1161a6a518b22ae13d7e
diff --git a/de/heat-templates/fragments/SrvInstancesBM.yaml b/de/heat-templates/fragments/SrvInstancesBM.yaml
index cdf0647..805179c 100644
--- a/de/heat-templates/fragments/SrvInstancesBM.yaml
+++ b/de/heat-templates/fragments/SrvInstancesBM.yaml
@@ -104,8 +104,6 @@
availability_zone: nova
networks:
- network: { get_param: accessible_network }
- # NOTE(ohryhorov): connect to accessible network only as ironic doesn't
- # support multitenancy use-case. Use private_floating_network for IPAM only.
user_data_format: SOFTWARE_CONFIG
user_data: { get_resource: install_config_agent}
metadata: { get_param: metadata }
diff --git a/de/heat-templates/fragments/SrvInstancesBMCeph.yaml b/de/heat-templates/fragments/SrvInstancesBMCeph.yaml
index c097bdf..0d6a330 100644
--- a/de/heat-templates/fragments/SrvInstancesBMCeph.yaml
+++ b/de/heat-templates/fragments/SrvInstancesBMCeph.yaml
@@ -42,7 +42,7 @@
type: string
ironic_baremetal_subnet_id:
type: string
- ironic_baremetal_interface:
+ ironic_baremetal_network_cidr:
type: string
functions_override:
type: string
@@ -89,8 +89,8 @@
$storage_frontend_interface: { get_param: storage_frontend_interface }
$storage_frontend_network_interface_ip: { get_attr: [storage_frontend_server_port, fixed_ips, 0, ip_address] }
$storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
- $ironic_baremetal_interface: { get_param: ironic_baremetal_interface }
$ironic_baremetal_interface_ip: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
+ $ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
inject_files:
type: "OS::Heat::CloudConfig"
diff --git a/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
index f034022..b36bfa8 100644
--- a/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesBMCephOSD.yaml
@@ -50,7 +50,7 @@
type: string
ironic_baremetal_subnet_id:
type: string
- ironic_baremetal_interface:
+ ironic_baremetal_network_cidr:
type: string
functions_override:
type: string
@@ -100,8 +100,8 @@
$storage_backend_interface: { get_param: storage_backend_interface }
$storage_backend_network_interface_ip: { get_attr: [storage_backend_server_port, fixed_ips, 0, ip_address] }
$storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
- $ironic_baremetal_interface: { get_param: ironic_baremetal_interface }
$ironic_baremetal_interface_ip: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
+ $ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
inject_files:
type: "OS::Heat::CloudConfig"
diff --git a/de/heat-templates/fragments/SrvInstancesVMCeph.yaml b/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
index 11538ca..0fe648f 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCeph.yaml
@@ -40,7 +40,7 @@
type: string
ironic_baremetal_subnet_id:
type: string
- ironic_baremetal_interface:
+ ironic_baremetal_network_cidr:
type: string
control_network_cidr:
type: string
@@ -97,8 +97,8 @@
$storage_frontend_interface: { get_param: storage_frontend_interface }
$storage_frontend_network_interface_ip: { get_attr: [storage_frontend_server_port, fixed_ips, 0, ip_address] }
$storage_frontend_network_cidr: { get_param: storage_frontend_network_cidr }
- $ironic_baremetal_interface: { get_param: ironic_baremetal_interface }
$ironic_baremetal_interface_ip: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
+ $ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
inject_files:
type: "OS::Heat::CloudConfig"
diff --git a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
index 446c75b..ed5bf0d 100644
--- a/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
+++ b/de/heat-templates/fragments/SrvInstancesVMCephOSD.yaml
@@ -50,7 +50,7 @@
type: string
ironic_baremetal_subnet_id:
type: string
- ironic_baremetal_interface:
+ ironic_baremetal_network_cidr:
type: string
functions_override:
type: string
@@ -108,8 +108,8 @@
$storage_backend_interface: { get_param: storage_backend_interface }
$storage_backend_network_interface_ip: { get_attr: [storage_backend_server_port, fixed_ips, 0, ip_address] }
$storage_backend_network_cidr: { get_param: storage_backend_network_cidr }
- $ironic_baremetal_interface: { get_param: ironic_baremetal_interface }
$ironic_baremetal_interface_ip: { get_attr: [ironic_baremetal_server_port, fixed_ips, 0, ip_address] }
+ $ironic_baremetal_network_cidr: { get_param: ironic_baremetal_network_cidr }
inject_files:
type: "OS::Heat::CloudConfig"