ClusterLabs/pacemaker — pull request #173 by davidvossel (2012-10-25 18:27:51+00:00)
Title: Low: tools: cibadmin option to modify xml output to list all node paths up to a given element

example output.

cibadmin -Q -e primitive
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_db_IP]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_db_LVM]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_db_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_sapdata1_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_sapdata2_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_sapdata3_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_sapdata4_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_saplog_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_sapdiag_FS]
/cib/configuration/resources/group[id=grp_RH1_DB]/primitive[id=prm_RH1_db_DB]
/cib/configuration/resources/primitive[id=prm_RH1_ascs_IP]
/cib/configuration/resources/master[id=ms_RH1_SCS]/primitive[id=prm_RH1_SCS]
/cib/configuration/resources/group[id=grp_RH1_PAE]/primitive[id=prm_RH1_pae_IP]
/cib/configuration/resources/group[id=grp_RH1_PAE]/primitive[id=prm_RH1_pae_LVM]
/cib/configuration/resources/group[id=grp_RH1_PAE]/primitive[id=prm_RH1_pae_FS]
/cib/configuration/resources/group[id=grp_RH1_PAE]/primitive[id=prm_RH1_D01_SAP]