To configure topology using OpenStack CLI, see Create Topology Using OpenStack CLI.
Note
All network and server connection settings or mappings can be saved to csv files for bulk configuration using the startup file option in the ml2_conf_extreme.ini file.
Network provisioning and de-provisioning on EFA depends on physnet mapping for non-default physnets. When a node is added or deleted from the mapping file, the corresponding EFA operations are updated.
ubuntu@Openstack114:~$ cat /home/ubuntu/link.csv Openstack115,eth1,default,10.24.14.133,0/1,lag_1 Openstack115,eth2,default,10.24.14.134,0/1,lag_1 Openstack116,eth1,PFPT_LAG,10.24.14.135,0/1,lag_2 Openstack116,eth2,PFPT_LAG,10.24.14.136,0/1,lag_2 Openstack117,eth1,VFPT_L10.24.14.136,0/1 DC-GW1, ,EXT1,10.24.14.191,0/1,lag_4 DC-GW1, ,EXT1,10.24.14.192,0/1,lag_4
# efa-link-mapping add --file /home/ubuntu/link.csv
# efa-link-mapping add --host Openstack115 --nic eth1 --pn default --switch 10.24.14.133 --port 0/1 --po-name lag_1 # efa-link-mapping add --host Openstack115 --nic eth2 --pn default --switch 10.24.14.134 --port 0/1 --po-name lag_1 # efa-link-mapping add --host Openstack116 --nic eth1 --pn PFPT_LAG --switch 10.24.14.135 --port 0/1 --po-name lag_2 # efa-link-mapping add --host Openstack116 --nic eth2 --pn PFPT_LAG --switch 10.24.14.136 --port 0/1 --po-name lag_2 # efa-link-mapping add --host Openstack117 --nic eth1 --pn VFPT_L --switch 10.24.14.136 --port 0/2 # efa-link-mapping add --host DC-GW1 --pn EXT1 --switc10.24.14.191 --port 0/1 --po-name lag_4 # efa-link-mapping add --host DC-GW1 --pn EXT1 --switch 10.24.14.192 --port 0/1 --po-name lag_4
Note
If the LAG and PO are not created on EFA, leave the --po-name empty.
The --host name in the CSV file and the command must match the hypervisor hostname from the openstack hypervisor list command. If hypervisor hostname is a FQDN, then the same must be used here as well.