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
-
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
-
Create a subnet, GREEN_SUBNET.
openstack subnet create GREEN_SUBNET_IPV4 --subnet-range 10.0.0.0/24 --network
GREEN_NETWORK
-
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
-
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
-
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
-
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
-
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
-
Create a Router R1 and add the
two networking instances, GREEN_SUBNET and RED_SUBNETas part of the
Router.
neutron router-create R1
neutron router-interface-add R1 GREEN_SUBNET_IPV4
neutron router-interface-add R1 RED_SUBNET_IPV6
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
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.
Table 1. EFA impact of L3
provisoning
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 |
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.