[reclass] noifupdown for cluster nodes PXE/admin 97/60897/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 13 Aug 2018 14:08:38 +0000 (16:08 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Mon, 13 Aug 2018 14:08:38 +0000 (16:08 +0200)
Instead of applying PXE/admin static IPs via Salt right away,
delay the transition from DHCP until after node reboot to avoid
duplicate IPs and networking issues during deployment.

Change-Id: I8a12d78a6b42edc9bcf9eb9ebc9590e2af5ec52c
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
mcp/reclass/classes/cluster/mcp-common-ha/openstack_interface_vcp_biport.yml.j2
mcp/reclass/classes/cluster/mcp-common-ha/openstack_interface_vcp_triport.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_compute_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_control_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-common-noha/openstack_gateway_pdf.yml.j2
mcp/reclass/classes/cluster/mcp-odl-noha/opendaylight/control_pdf.yml.j2

index 4fa9597..cb4c233 100644 (file)
@@ -28,6 +28,7 @@ parameters:
           gateway: {{ nm.net_admin_gw }}
           name_servers:
             - {{ nm.net_admin_gw }}
+          noifupdown: true
         single:
           enabled: true
           type: eth
index 05550a2..38a4361 100644 (file)
@@ -27,6 +27,7 @@ parameters:
           name: ${_param:pxe_admin_interface}
           address: ${_param:pxe_admin_address}
           netmask: ${_param:opnfv_net_admin_mask}
+          noifupdown: true
         single_int:
           enabled: true
           type: eth
index aebd888..b6cba0c 100644 (file)
@@ -34,6 +34,7 @@ parameters:
           address: ${_param:pxe_admin_address}
           netmask: ${_param:opnfv_net_admin_mask}
           mtu: ${_param:interface_mtu}
+          noifupdown: true
         primary_interface:
           enabled: true
           name: ${_param:primary_interface}
index b0b55af..503bbec 100644 (file)
@@ -18,6 +18,7 @@ parameters:
           type: eth
           address: ${_param:pxe_admin_address}
           netmask: ${_param:opnfv_net_admin_mask}
+          noifupdown: true
         single_int:
           enabled: true
           name: {{ nm.ctl01.nic_mgmt }}
index 4f22d4f..5b10442 100644 (file)
@@ -24,6 +24,7 @@ parameters:
           address: ${_param:pxe_admin_address}
           netmask: ${_param:opnfv_net_admin_mask}
           mtu: ${_param:interface_mtu}
+          noifupdown: true
         primary_interface:
           enabled: true
           name: ${_param:primary_interface}
index 5bb5917..bd7c910 100644 (file)
@@ -21,6 +21,7 @@ parameters:
           gateway: {{ nm.net_admin_gw }}
           name_servers:
             - {{ nm.net_admin_gw }}
+          noifupdown: true
         single_int:
           enabled: true
           name: {{ nm.ctl01.nic_mgmt }}