Create network

Setup the network - do this once OpenStack Command
Create a private network openstack network create ${OS_USERNAME}-api-net
Verify that the private network was created openstack network list
Create a subnet within the private network
openstack subnet create --network ${OS_USERNAME}-api-net --subnet-range ${OS_USERNAME}-api-subnet1
Verify that subnet was created openstack subnet list
Create a router openstack router create ${OS_USERNAME}-api-router
Connect the newly created subnet to the router openstack router add subnet ${OS_USERNAME}-api-router ${OS_USERNAME}-api-subnet1
Connect the router to the gateway named
openstack router set --external-gateway public ${OS_USERNAME}-api-router
Verify that the router has been connected to the
openstack router show ${OS_USERNAME}-api-router