Use OS CLI instead of the neutronclient

In the DevStack plugin.

Change-Id: I338634ab5e6360f4399d1df66c9ba3c9ba6c5ddf
This commit is contained in:
Goutham Pacha Ravi 2018-11-02 11:49:44 -07:00
parent 708cf7eeed
commit 8a02f469c8
1 changed files with 2 additions and 2 deletions

View File

@ -964,8 +964,8 @@ function setup_ipv6 {
sudo ovs-vsctl set Bridge $PUBLIC_BRIDGE other_config:disable-in-band=true
# Create address scopes and subnet pools
neutron address-scope-create --shared scope-v4 4
neutron address-scope-create --shared scope-v6 6
openstack address scope create --share --ip-version 4 scope-v4
openstack address scope create --share --ip-version 6 scope-v6
openstack subnet pool create $SUBNETPOOL_NAME_V4 --default-prefix-length $SUBNETPOOL_SIZE_V4 --pool-prefix $SUBNETPOOL_PREFIX_V4 --address-scope scope-v4 --default --share
openstack subnet pool create $SUBNETPOOL_NAME_V6 --default-prefix-length $SUBNETPOOL_SIZE_V6 --pool-prefix $SUBNETPOOL_PREFIX_V6 --address-scope scope-v6 --default --share