From 7265eb2a3871a1729178fdf7f012a3828ea45f23 Mon Sep 17 00:00:00 2001 From: Rabi Mishra Date: Fri, 29 Mar 2024 07:14:07 +0530 Subject: [PATCH] Revert "Revert "Use nodeset_networks"" --- examples/va/hci/edpm-pre-ceph/values.yaml | 4 ++-- examples/va/nfv/ovs-dpdk-sriov/edpm/values.yaml | 4 ++-- examples/va/nfv/ovs-dpdk/edpm/values.yaml | 4 ++-- examples/va/nfv/sriov/edpm/values.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/va/hci/edpm-pre-ceph/values.yaml b/examples/va/hci/edpm-pre-ceph/values.yaml index b2cb08e67..30ca0c002 100644 --- a/examples/va/hci/edpm-pre-ceph/values.yaml +++ b/examples/va/hci/edpm-pre-ceph/values.yaml @@ -37,7 +37,7 @@ data: edpm_network_config_template: | --- {% set mtu_list = [ctlplane_mtu] %} - {% for network in role_networks %} + {% for network in nodeset_networks %} {{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }} {%- endfor %} {% set min_viable_mtu = mtu_list | max %} @@ -57,7 +57,7 @@ data: mtu: {{ min_viable_mtu }} # force the MAC address of the bridge to this interface primary: true - {% for network in role_networks %} + {% for network in nodeset_networks %} - type: vlan mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }} vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }} diff --git a/examples/va/nfv/ovs-dpdk-sriov/edpm/values.yaml b/examples/va/nfv/ovs-dpdk-sriov/edpm/values.yaml index 8ee17bddb..d4dd38fa1 100644 --- a/examples/va/nfv/ovs-dpdk-sriov/edpm/values.yaml +++ b/examples/va/nfv/ovs-dpdk-sriov/edpm/values.yaml @@ -64,7 +64,7 @@ data: edpm_network_config_template: | --- {% set mtu_list = [ctlplane_mtu] %} - {% for network in role_networks %} + {% for network in nodeset_networks %} {{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }} {%- endfor %} {% set min_viable_mtu = mtu_list | max %} @@ -84,7 +84,7 @@ data: mtu: {{ min_viable_mtu }} # force the MAC address of the bridge to this interface primary: true - {% for network in role_networks if network not in ['External', 'Tenant'] %} + {% for network in nodeset_networks if network not in ['External', 'Tenant'] %} - type: vlan mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }} vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }} diff --git a/examples/va/nfv/ovs-dpdk/edpm/values.yaml b/examples/va/nfv/ovs-dpdk/edpm/values.yaml index 2b5b96818..0db8ccb8c 100644 --- a/examples/va/nfv/ovs-dpdk/edpm/values.yaml +++ b/examples/va/nfv/ovs-dpdk/edpm/values.yaml @@ -60,7 +60,7 @@ data: edpm_network_config_template: | --- {% set mtu_list = [ctlplane_mtu] %} - {% for network in role_networks %} + {% for network in nodeset_networks %} {{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }} {%- endfor %} {% set min_viable_mtu = mtu_list | max %} @@ -80,7 +80,7 @@ data: mtu: {{ min_viable_mtu }} # force the MAC address of the bridge to this interface primary: true - {% for network in role_networks if network not in ['External', 'Tenant'] %} + {% for network in nodeset_networks if network not in ['External', 'Tenant'] %} - type: vlan mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }} vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }} diff --git a/examples/va/nfv/sriov/edpm/values.yaml b/examples/va/nfv/sriov/edpm/values.yaml index 645f22d5b..c863647f2 100644 --- a/examples/va/nfv/sriov/edpm/values.yaml +++ b/examples/va/nfv/sriov/edpm/values.yaml @@ -51,7 +51,7 @@ data: edpm_network_config_template: | --- {% set mtu_list = [ctlplane_mtu] %} - {% for network in role_networks %} + {% for network in nodeset_networks %} {{ mtu_list.append(lookup('vars', networks_lower[network] ~ '_mtu')) }} {%- endfor %} {% set min_viable_mtu = mtu_list | max %} @@ -71,7 +71,7 @@ data: mtu: {{ min_viable_mtu }} # force the MAC address of the bridge to this interface primary: true - {% for network in role_networks %} + {% for network in nodeset_networks %} - type: vlan mtu: {{ lookup('vars', networks_lower[network] ~ '_mtu') }} vlan_id: {{ lookup('vars', networks_lower[network] ~ '_vlan_id') }}