Add Provider Network Mapping

About this task

Note

Note

All network and server connection settings and mappings can be saved to csv files for bulk configuration using the startup file option in the ml2_conf_extreme.ini file.

Procedure

  1. Log in to the network node using SSH and go to the EFA folder.
    # cd efa
  2. Add Provider Network mapping.
    # sudo efa-pn-mapping  add -H compute-hostname/ip-address -p physical-network-alias-name -n NIC 
    
    # sudo efa-pn-mapping add -H 10.24.51.114 -p physnet1 -n eth1

Example

The following example shows the CSV file format for including all the Neutron provider network and mapping information.
ps.csv

<compute-host>,<openStack-provider-brigde>,<compute-nic> 
Compute1,physnet1,ens2f0 
Compute1,physnet1,ens2f1 
Compute2,physnet1,ens2f0 
Compute3,physnet1,ens2f0 
The sudo efa-pn-mapping add -f pn.csv command reads the CSV file and maps the provider network to NICs.
# sudo efa-pn-mapping add -H compute-hostname/ip-address -p physical-network-alias-name -n NIC 

# sudo efa-pn-mapping add -H 10.24.51.114 -p physnet1 -n eth1