Deploy Neutron in an MCT Network

About this task

This procedure provides steps to deploy Neutron in an MCT network with the following connections:
  • Compute Host Compute-1: Network interface card eth1 and eth2 connected to switch Leaf-1 port 0/1 and switch Leaf-2 0/1(MCT pair)
  • Compute Host Compute-2: Network interface card eth1 and eth2 connected to switch Leaf-3 port 0/1 and switch Leaf-4 0/1(MCT pair)
Click to expand in new window
Compute nodes (CCEP) MCT connections
Note

Note

All network and server connection settings and mappings can be saved to csv files for bulk configuration using the startup file option in the ml2_conf_extreme.ini file.

Procedure

  1. Log in to the network node using SSH and go to the EFA folder.
    # cd efa
  2. Add the ovs bond at compute-1 and compute-2 using 802.3 ad.
    # sudo ovs-vsctl add-bond br0 bond0 eth1 eth2 lacp=active
  3. Build the topology.
    # sudo efa-pn-mapping add -H compute-1 -p physnet1 -n eth1 
    # sudo efa-pn-mapping add -H compute-1 -p physnet1 -n eth2 
    # sudo efa-pn-mapping add -H compute-2 -p physnet1 -n eth1 
    # sudo efa-pn-mapping add -H compute-2 -p physnet1 -n eth2 
    
    # sudo efa-link-mapping add -H compute-1 -n eth1 -s leaf-1-ip-address -p 0/1 -P lag_compute1 
    # sudo efa-link-mapping add -H compute-1 -n eth2 -s leaf-2-ip-address -p 0/1 -P lag_compute1 
    # sudo efa-link-mapping add -H compute-2 -n eth1 -s leaf-3-ip-address -p 0/1 -P lag_compute2 
    # sudo efa-link-mapping add -H compute-2 -n eth2 -s leaf-4-ip-address -p 0/1 -P lag_compute2
    These configurations can be included in pn.csv and link.csv files for bulk topology setup.
  4. Create the Neutron network and subnet.
    # openStack network create GREEN_NETWORK --provider-network-type vlan --provider-physical-network physnet1 --provider-segment 2000
    
    # openstack subnet create subnet1 --network GREEN_NETWORK --subnet-range 20.0.5.0/24
  5. Create a Neutron port.
    # openstack port create port0 --network GREEN_NETWORK
  6. Create a VM.
    # openstack server create --flavor m1.tiny --image cirros-0.3.5-x86_64-disk --nic port-id=port0 --availability-zone compute-1 instance-1