# cd efa
# openstack network create GREEN_NETWORK
# openstack subnet create GREEN_SUBNET --network GREEN_NETWORK --subnet-range 10.0.0.0/24 \ --gateway 10.0.0.1
# 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-1VM1
# 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-2VM2
# openstack network create RED_NETWORK openstack subnet create RED_SUBNET --network RED_NETWORK --subnet-range 9.0.0.0/24 \ --gateway 9.0.0.1
# 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-1VM11
# 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-2VM12
# neutron router-create R1 # neutron router-interface-add R1 GREEN_SUBNET # neutron router-interface-add R1 RED_SUBNET