charm-octavia/unit_tests
Zhang Hua d2143cefc7 Delete hm port on unit removal
JUJU_DEPARTING_UNIT will be set in leader unit as well when removing one
unit, so update_controller_ip_port_list can use it to delete hm port and
update neutron ip list. Besides, cluster.{connected,available} will be
set by interface-openstack-ha when relation-{broken,departed} is changed,
so update_controller_ip_port_list will also have a change to run.
In other words, as long as update_controller_ip_port_list is triggered
for various reasons, the cleanup will be completed.

NOTE: also resolve cherry-pick conflict with the commit f235f68f,
remove pinning pyparsing package as it is already updated in
sec/build.lock and remove Func-Test-Pr

Closes-Bug: 1915512
Change-Id: I88c61b8d2d0b573df7df071ed7978e83b6803c5c
(cherry picked from commit cc292d72e2)
Signed-off-by: Zhang Hua <joshua.zhang@canonical.com>
2022-01-25 09:11:54 +05:30
..
__init__.py Consume ovn-octavia-provider package on Ussuri and Focal 2020-04-18 10:57:57 +02:00
test_lib_charm_openstack_api_crud.py Delete hm port on unit removal 2022-01-25 09:11:54 +05:30
test_lib_charm_openstack_octavia.py Make Amphora provider driver optional 2021-07-06 10:30:07 +02:00
test_octavia_handlers.py Delete hm port on unit removal 2022-01-25 09:11:54 +05:30