openstack auto allocation set up a default external network
Set up a default external network
Assuming the external network to be used for the auto-allocation feature is named extnet, make it the default external network with the following command:
$ openstack network set extnet –default
Create default subnetpools
The auto-allocation feature requires at least one default subnetpool. One for IPv4, or one for IPv6, or one of each.
openstack subnet pool create –share –default
–pool-prefix 192.0.2.0/24 –default-prefix-length 26
shared-default
Get Me A Network
In a deployment where the operator has set up the resources as described above, they can get their auto-allocated network topology as follows:
$ openstack network auto allocated topology create –or-show
by Zariga Tongy
redhat openstack