Configure IP Fabric

Procedure

  1. Log in to the network node using SSH and go to the EFA folder.
    # cd efa
  2. Add devices to the fabric.
    # efa fabric device add-bulk --name default --spine 10.24.80.152-153 --leaf 10.24.80.154-157 --username admin --password password
  3. Configure the fabric.
    # efa fabric configure --name default
  4. Create the tenant.
    # efa tenant create --name RegionOne --port 10.24.80.154[0/1-6],10.24.80.155[0/1-6],10.24.80.156[0/53],10.24.80.157[0/54:1]
  5. Update the tenant.
    # efa tenant update --name RegionOne --vlan-range 100-500 --operation vlan-update

Example

The following example shows the physnet and link mappings on the Compute or Controller nodes.

user@Compute-1:~$ sudo efa-pn-mapping list 
+--------------+-----------------+--------+ 
|     Host     | ProviderNetwork |  Nic   | 
+--------------+-----------------+--------+ 
| 10.24.85.174 |    sriovnet2    | ens3f1 | 
| 10.24.85.173 |    sriovnet1    | ens3f0 | 
| 10.24.85.173 |    sriovnet2    | ens3f1 | 
| 10.24.85.174 |    sriovnet1    | ens2f0 | 
+--------------+-----------------+--------+ 

user@Compute-1:~$ sudo efa-link-mapping list 
+--------------+--------+--------------+--------+---------+ 
|     Host     |  Nic   |    Switch    |  Port  | Po-Name | 
+--------------+--------+--------------+--------+---------+ 
| 10.24.85.173 | ens3f1 | 10.24.80.154 |  0/6   |         | 
| 10.24.85.174 | ens2f0 | 10.24.80.157 | 0/54:1 |         | 
| 10.24.85.173 | ens3f0 | 10.24.80.155 |  0/1   |         | 
| 10.24.85.174 | ens3f1 | 10.24.80.156 |  0/53  |         | 
+--------------+--------+--------------+--------+---------+