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.
You will need the following details, at a minimum, for the network:
For our example, the following network name will be used:
COOKBOOK_TENANT_NET_1
You will need the following details, at a minimum, for the corresponding subnet:
For our example, the following will be used:
COOKBOOK_TENANT_SUBNET_1
COOKBOOK_TENANT_NET_1
172.16.200.0/24
With the openstack
client installed on our system, we are now able to create a tenant network with the following steps:
Tenant networks are created with the following syntax:
openstack network create NETWORK_NAME
When created as a non-admin user, a network's provider attributes are automatically determined by Neutron based on settings defined in the respective network plugin configuration files. Tenant networks are associated with the project that created them, and by default, are not visible or usable by other projects.
Neutron role-based access control (RBAC) can be used to share networks with other projects if desired. More information on using RBAC in the Pike release of OpenStack can be found at the following website:
https://docs.openstack.org/neutron/pike/admin/config-rbac.html
18.224.54.255