Creating tenant networks
When a tenant network is created in OpenStack, provider attributes that describe how the network is connected to the physical infrastructure are automatically determined by Neutron based on settings hard-coded in configuration files. Typically, tenant networks are created and managed by users within a particular project and are not shared with other projects.
Getting ready
You will need the following details, at a minimum, for the network:
Network name
For our example, the following network name will be used:
Network name:
COOKBOOK_TENANT_NET_1
You will need the following details, at a minimum, for the corresponding subnet:
Subnet name
Network name or ID
Subnet range (CIDR)
For our example, the following will be used:
Subnet name:
COOKBOOK_TENANT_SUBNET_1
Network name or ID:
COOKBOOK_TENANT_NET_1
Subnet range (CIDR):
172.16.200.0/24
How to do it…
With the openstack
client installed on our system, we are now able to create a tenant network with the following steps:
Create the...