Configure Topology

About this task

To configure topology using OpenStack CLI, see Create Topology Using OpenStack CLI.

Note

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.

Procedure

  1. Configure the topology.
    • For bulk node configuration, proceed to the next step.
    • For individual node configuration, go to step 4.
  2. Save the network settings to a csv file.
    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
    • The number of comma delimiters used in each line within the csv file must be the same.
    • For DC-Edge entries, --nic must be empty.
    • Only links corresponding to VLAN based physnets must be added.
    • Only VLAN based Physnet entries must be added.
    • Only host names must be added for --host. Example: DC-GW1
  3. Perform bulk configuration.
    # efa-link-mapping add --file /home/ubuntu/link.csv
  4. Configure the nodes.
    # 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

    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.

What to do next

Connect OpenStack Instance to EFA Tenant