OpenStack Network Workflow Using L3 Service Plug-in

About this task

Extreme ML2 Plugin and L3 Service Plugin proxies these requests towards EFA with VLAN details about the allocated by the type driver.

Openstack Service on EFA utilizes the End Point Group (EPG) construct of Tenant Services to provision an End Point Group (EPG).

Procedure

  1. Create an OpenStack network named GREEN_NETWORK using a Neutron CLI command.
    openstack network create GREEN_NETWORK   (assume VLAN 30 is allocated by type
            driver)
    openstack subnet create GREEN_SUBNET_IPV4 --subnet-range 10.0.0.0/24 --network GREEN_NETWORK
  2. Create a Virtual Machine VM1 on the Compute-1 attached to GREEN_NETWORK.
    openstack server create --nic
              net-id=$(neutron net-list | awk '/GREEN_NETWORK/ {print $2}')  --image cirros-0.3.4-x86_64-uec --flavor m1.tiny
            --availability-zone nova:Compute-1 VM1
  3. Create a Virtual Machine VM2 on the Compute-2 attached to GREEN_NETWORK.
    openstack server create --nic
              net-id=$(neutron net-list | awk '/GREEN_NETWORK/ {print $2}')  --image cirros-0.3.4-x86_64-uec --flavor m1.tiny --availability-zone
              nova:Compute-2 VM2
  4. Create a second OpenStack network by the name RED_NETWORK using Neutron CLI command.
    openstack network create RED_NETWORK (assume
            VLAN 30 is allocated by type driver)
    openstack subnet create RED_SUBNET_IPV4 --subnet-range 9.0.0.0/24 –network
          RED_NETWORK
  5. Create a Virtual Machine VM11 on the Compute-1 attached to RED_NETWORK.
    openstack server create --nic
              net-id=$(neutron net-list | awk '/ RED_NETWORK / {print $2}')  --image cirros-0.3.4-x86_64-uec --flavor m1.tiny
            --availability-zone nova:Compute-1 VM11
  6. Create a Virtual Machine VM12 on the Compute-2 attached to RED_NETWORK.
    openstack server create --nic
              net-id=$(neutron net-list | awk '/ RED_NETWORK / {print $2}')  --image cirros-0.3.4-x86_64-uec --flavor m1.tiny
            --availability-zone nova:Compute-2 VM12
  7. Create a Router R1 and add the two networking instances, GREEN_SUBNET and RED_SUBNETas part of the Router.
    openstack router create R1
    openstack router add subnet R1 GREEN_SUBNET_IPV4
    openstack router add subnet R1 RED_SUBNET_IPV4

Results

Extreme ML2 Plugin and L3 Service Plugin proxies these requests towards EFA with VLAN details about the allocated by the type driver.

OpenStack Service on EFA utilizes the End Point Group (EPG) construct of Tenant Services to provision an End Point Group (EPG).

Note

Note

You can also create IPv6 subnet using the following command:
openstack subnet create --ip-version 6 --network GREEN_NETWORK --subnet-range 10:2000::/64 
--gateway 10:2000::1 GREEN_SUBNET_IPV6
openstack router add subnet R1 GREEN_SUBNET_IPV6

Port-based addition of router interface is supported.

Create extra routes for the L3 networks using the command:

openstack router add route --route destination= 10.4.4.0/24,gateway=10.0.0.2 R1
Note

Note

Using the same command, you can also create IPv6 static routes.
Table 1. EFA impact of L3 provisioning
VM Neutron Network Tenant Service(EPG)
VM1 GREEN_NETWORK(VLAN30) UUD =74cbf489-f3d9-41c7-bbb2-6cb7df33da6d

74cbf489-f3d9-41c7-bbb2-6cb7df33da6ds

  • Endpoint: eth 0/1 on Leaf-1

  • EndPoint: eth 0/1 on Leaf-2

  • CTAG 30

  • AnyCast 10.0.0.1

  • VRF R1(UUID=99cbf489-f3d9-41c7-bbb2-6cb7df33da03)

VM2 GREEN_NETWORK(VLAN30) UUD =74cbf489-f3d9-41c7-bbb2-6cb7df33da6d
VM11 RED_NETWORK(VLAN40) GREEN_NETWORK(VLAN30) UUD =89cbf489-f3d9-41c7-bbb2-6cb7df33da02

89cbf489-f3d9-41c7-bbb2-6cb7df33da02

  • Endpoint: eth 0/1 on Leaf-1

  • EndPoint: eth 0/1 on Leaf-2

  • CTAG 40

  • Anycast 9.0.0.1

  • VRF R1(UUID=99cbf489-f3d9-41c7-bbb2-6cb7df33da03)

VM12 RED_NETWORK(VLAN40) UUD =89cbf489-f3d9-41c7-bbb2-6cb7df33da02
Router R1 will be realized as VRF in EFA tenant services.
Name                    : 99cbf489-f3d9-41c7-bbb2-6cb7df33da03
Tenant                  : Region_7_8
Routing Type            : centralized
Centralized Routers     : 10.20.246.8
                        : 10.20.246.7
Redistribute            : connected
Max Path                : 8
Local Asn               :
L3VNI                   :
EVPN IRB BD             :
EVPN IRB VE             :
BR VNI                  : 4096
BR BD                   :
BR VE                   :
RH Max Path             :
Enable RH ECMP          : false
Enable Graceful Restart : false
Route Target            : import 101:101
                        : export 101:101
Static Route            : Switch-IP->Network,Nexthop-IP[Route-Distance], ...
                        : 10.20.246.8->10.4.4.0/24,10.0.0.2
                        : 10.20.246.7->10.4.4.0/24,10.0.0.2
Static Route BFD        :

EPG provisioning on the fabric creates an L2 network on the fabric spanning VM1, VM2, VM11, and VM12 with necessary fabric mappings. This creates the necessary constructs to establish an end-to-end connectivity between the two sets of Virtual Machines VM1 and VM2, VM11 and VM12. The VRF configuration enables routing between the two networks.