Connect OpenStack Instance to EFA Tenant

Procedure

  1. Create tenant VIM_1.
    # efa tenant create --name VIM_1 --vlan-range 2-4090 --l2-vni-range 1-5000 --port 10.24.14.133.[0/1], 10.24.14.134.[0/1],10.24.14.135.[0/1],10.24.14.136.[0/1-2]
  2. Create lag_1 on Compute 1.
    # efa tenant po create --name lag_1 --tenant VIM_1 --port 10.24.14.133.[0/1], 10.24.14.134.[0/1] --speed 10Gbps --negotiation active
  3. Create lag_2 on Compute 2.
    # efa tenant po create --name lag_2 --tenant VIM_1 --port 10.24.14.135.[0/1], 10.24.14.136.[0/1] --speed 10Gbps --negotiation active
  4. Create SHARED_TENANT on the border leaf.
    # efa tenant create --name SHARED_TENANT --port BL-1[0/1], BL-2[0/1] --role shared
    
    # efa tenant create --name SHARED_TENANT --port 10.24.14.191.[0/1], 10.24.14.192.[0/1] –type shared
  5. Create a border leaf LAG, lag_4 on the shared tenant.
    # efa tenant po create --name lag_4 --port BL1[0/1],BL2[0/1] --speed  10Gbps --negotiation active --tenant SHARED_TENANT --lacp-timeout short
    
    # efa tenant po create --name lag_4 --tenant SHARED_TENANT --port 10.24.14.133.[0/1], 10.24.14.134.[0/1] --speed 10Gbps --negotiation active
  6. Register VIM_1 tenant for OpenStack access.
    # efa auth client register --name VIM_1 --type openstack
  7. Generate the auth apikey using the Client ID generated in client register.
    # efa auth apikey generate --client-id <client_id>
  8. Configure the generated auth apikey as efa_rest_token in OpenStack.