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.# cd efa
# sudo ovs-vsctl add-bond br0 bond0 eth1 eth2 lacp=active
# 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_compute2These configurations can be included in pn.csv and link.csv files for bulk topology setup.
# 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
# openstack port create port0 --network GREEN_NETWORK
# openstack server create --flavor m1.tiny --image cirros-0.3.5-x86_64-disk --nic port-id=port0 --availability-zone compute-1 instance-1