Delete hm port on unit removal
This is Zaza functional test for lp:1915512. Add a unit and then remove a unit, then query the list of ports to check that the port has been deleted. Depends-On: https://review.opendev.org/c/openstack/charm-octavia/+/787700
This commit is contained in:
@@ -709,13 +709,10 @@ def attach_file_resource(application_name, resource_name,
|
||||
|
||||
|
||||
def get_leaders_and_non_leaders(application_name):
|
||||
"""Get leader node and non-leader nodes of percona.
|
||||
"""Get leader node and non-leader nodes.
|
||||
|
||||
Update and set on the object the leader node and list of non-leader
|
||||
nodes.
|
||||
|
||||
:returns: None
|
||||
:rtype: None
|
||||
:returns: leader, list of non-leader
|
||||
:rtype: str, list of str
|
||||
"""
|
||||
status = model.get_status().applications[application_name]
|
||||
leader = None
|
||||
|
||||
Reference in New Issue
Block a user