From 309ef2fb43ccbdd455eb7a67c35ed2200dd63285 Mon Sep 17 00:00:00 2001 From: Kenichi Omichi Date: Wed, 6 Mar 2019 00:43:41 +0000 Subject: [PATCH] Trivial: Remove unused OCTAVIA_AMP_SUBNET_ID OCTAVIA_AMP_SUBNET_ID is not used at all anywhere as http://codesearch.openstack.org/?q=OCTAVIA_AMP_SUBNET_ID&i=nope&files=&repos= In addition, near OCTAVIA_AMP_NETWORK_ID also is unused. So let's remove them for cleanup. Change-Id: I3c52ed2154aac9ba4476c718ae921c7f2fbe4fba --- devstack/plugin.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/devstack/plugin.sh b/devstack/plugin.sh index bd62857104..8ebe526917 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -397,8 +397,8 @@ function create_mgmt_network_interface { function build_mgmt_network { # Create network and attach a subnet - OCTAVIA_AMP_NETWORK_ID=$(openstack network create lb-mgmt-net -f value -c id) - OCTAVIA_AMP_SUBNET_ID=$(openstack subnet create --subnet-range $OCTAVIA_MGMT_SUBNET --allocation-pool start=$OCTAVIA_MGMT_SUBNET_START,end=$OCTAVIA_MGMT_SUBNET_END --network lb-mgmt-net lb-mgmt-subnet -f value -c id) + openstack network create lb-mgmt-net + openstack subnet create --subnet-range $OCTAVIA_MGMT_SUBNET --allocation-pool start=$OCTAVIA_MGMT_SUBNET_START,end=$OCTAVIA_MGMT_SUBNET_END --network lb-mgmt-net lb-mgmt-subnet # Create security group and rules openstack security group create lb-mgmt-sec-grp