From 8a02f469c86c384a84c29ca4f86b203a173d19d3 Mon Sep 17 00:00:00 2001
From: Goutham Pacha Ravi <gouthampravi@gmail.com>
Date: Fri, 2 Nov 2018 11:49:44 -0700
Subject: [PATCH] Use OS CLI instead of the neutronclient

In the DevStack plugin.

Change-Id: I338634ab5e6360f4399d1df66c9ba3c9ba6c5ddf
---
 devstack/plugin.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index efa47f2b87..86387a417c 100755
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -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