Disable gateway for Octavia management subnet

The lb-mgmt-subnet doesn't need a gateway, unsetting it during the
subnet creation will prevent the amphorae from sending a lot of ARP
requests for a non-existing IP.

Change-Id: I1d007e59f95de815bd465d8d452d8270434f8090
(cherry picked from commit 4d4b78986d)
This commit is contained in:
Gregory Thiemonge 2022-01-14 10:37:36 +01:00
parent f9786b152c
commit aa15a28efe
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
if [[ $(openstack subnet show {{ lb_mgmt_subnet_name }} > /dev/null; echo $?) -eq 1 ]]; then
openstack subnet create {{ lb_mgmt_subnet_name }} \
--allocation-pool=start={{ lb_mgmt_subnet_pool_start }},end={{ lb_mgmt_subnet_pool_end }} \
--gateway={{ lb_mgmt_subnet_gateway }} \
--gateway none \
--network {{ lb_mgmt_net_id }} \
--subnet-range {{ lb_mgmt_subnet_cidr }}
fi