Getting pacemaker node attribures and node status as dict.
def get_pacemaker_nodes_attributes(cibadmin_status_xml)
Adding possibility to parse 'cibadmin --query --scope status'.
Function return nested dictionary with node-fqdn and attribute name as keys.
def get_pcs_nodes(pcs_status_xml)
Adding possibility to parse 'pcs status xml'.
and return nested dictionary with node-fqdn and attribute name as keys.
They will be used in test for pacemaker resources when disk is full
Reviewed: https:/ /review. openstack. org/237130 /git.openstack. org/cgit/ openstack/ fuel-qa/ commit/ ?id=87abc7b6a2e 0a4167cb838b1c3 85a7a949f38150
Committed: https:/
Submitter: Jenkins
Branch: master
commit 87abc7b6a2e0a41 67cb838b1c385a7 a949f38150
Author: Artem Grechanichenko <email address hidden>
Date: Mon Oct 19 21:28:38 2015 +0300
Getting pacemaker node attribures and node status as dict.
def get_pacemaker_ nodes_attribute s(cibadmin_ status_ xml)
Adding possibility to parse 'cibadmin --query --scope status'.
Function return nested dictionary with node-fqdn and attribute name as keys.
def get_pcs_ nodes(pcs_ status_ xml)
Adding possibility to parse 'pcs status xml'.
and return nested dictionary with node-fqdn and attribute name as keys.
They will be used in test for pacemaker resources when disk is full
Change-Id: Ieabef9eca1eff7 9ac504ae6df1e1a 1409ed276ff
Closes-Bug: #1507721
Related-Bug: #1500446