From f405ba43796bcd9789e850f02d073c473882ba3c Mon Sep 17 00:00:00 2001 From: Jaganathan Palanisamy Date: Mon, 12 Feb 2024 12:51:58 +0530 Subject: [PATCH] os-net-config nic alias mapping changes We can follow any method of below mentioned for NIC Mapping, 1. NIC Mapping based on NIC number and MAC address. 2. NIC Mapping based on NIC number and interface name using system uuid. 3. NIC Mapping based on NIC number and interface name using system product name. --- examples/va/nfv/ovs-dpdk/edpm/values.yaml | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/examples/va/nfv/ovs-dpdk/edpm/values.yaml b/examples/va/nfv/ovs-dpdk/edpm/values.yaml index d6632c117..3404b9004 100644 --- a/examples/va/nfv/ovs-dpdk/edpm/values.yaml +++ b/examples/va/nfv/ovs-dpdk/edpm/values.yaml @@ -29,6 +29,7 @@ data: - hostname: clock.redhat.com # CPU pinning settings # edpm nfv ovs dpdk config + # CHANGEME edpm_kernel_args: "default_hugepagesz=1GB hugepagesz=1G hugepages=64 iommu=pt intel_iommu=on tsx=off isolcpus=2-11,14-23" edpm_tuned_profile: "cpu-partitioning-powersave" edpm_tuned_isolated_cores: "2-11,14-23" @@ -43,10 +44,15 @@ data: # These vars are edpm_network_config role vars edpm_network_config_hide_sensitive_logs: false edpm_network_config_os_net_config_mappings: - edpm-compute: - nic2: eno2 - nic3: eno3 - nic4: eno4 + # Need to provide nic mapping based on system uuid or system product name + # here used systetm uuid + edpm-compute-0: # CHANGEME + dmiString: "system-uuid" # CHANGEME + id: "4c4c4544-0034-3810-8050-cac04f325432" # CHANGEME + nic1: eno1 # CHANGEME + nic2: eno2 # CHANGEME + nic3: eno3 # CHANGEME + nic4: eno4 # CHANGEME edpm_network_config_template: | --- {% set mtu_list = [ctlplane_mtu] %} @@ -106,7 +112,7 @@ data: # These vars are for the network config templates themselves and are # considered EDPM network defaults. neutron_physical_bridge_name: br-ex - neutron_public_interface_name: eth0 + neutron_public_interface_name: nic1 # edpm_nodes_validation edpm_nodes_validation_validate_controllers_icmp: false edpm_nodes_validation_validate_gateway_icmp: false