neutron/neutron/conf
Rodolfo Alonso Hernandez 8b1ec76321 Script to remove duplicated port bindings
A new script to remove the duplicated port bindings was added. This
script will list all ``ml2_port_bindings`` records in the database,
finding those ones with the same port ID. Then the script removes
those ones with status=INACTIVE. This script is useful to remove
those leftovers that remain in the database after a failed live
migration.

"dry_run" mode is possible if selected in "[cli_script] dry_run"
boolean config option. The duplicated port bindings are printed in
the shell but not deleted.

Related-Bug: #1979072

Conflicts:
    neutron/conf/common.py
    neutron/objects/ports.py
    setup.cfg

Change-Id: I0de5fbb70eb852f82bd311616557985d1ce89bbf
(cherry picked from commit c5b76a8393)
(cherry picked from commit 3d307ef8f8)
2022-09-30 03:39:40 +02:00
..
agent Allow operator to disable usage of random-fully 2022-08-29 12:39:11 +00:00
db Bump pylint version to support python 3.8 2020-08-06 16:00:30 +02:00
extensions Conntrack Helper - Plugin 2019-08-29 10:41:04 +02:00
plugins Make default hypervisor hostname compatible with libvirt 2021-06-17 13:14:42 +00:00
policies Merge "Fix Floating IP policy rules" into stable/wallaby 2021-04-03 20:38:16 +00:00
services Granular metering data in neutron-metering-agent 2020-09-04 09:20:54 -03:00
__init__.py Refactoring config options for quota 2016-05-11 09:15:38 -05:00
common.py Script to remove duplicated port bindings 2022-09-30 03:39:40 +02:00
profiling.py Add profiler decorator to Neutron 2019-10-31 10:05:01 -05:00
quota.py Bump default quotas for ports, subnets, and networks 2017-03-21 18:35:28 +00:00
service.py Merge "Add "rpc_response_max_timeout" config variable in OVS agent" 2019-03-01 12:09:18 +00:00
wsgi.py Refactoring config options for wsgi opts 2016-08-03 19:49:58 +00:00