osaf/libs/agents/infrastructure/rda/rda_papi.cc | 6 ++++++ osaf/tools/rde/rde_get_role.c | 6 ++++++ 2 files changed, 12 insertions(+), 0 deletions(-)
Add support for the QUIESCING and QUIESCED roles in RDE as well as the rdegetrole tool. diff --git a/osaf/libs/agents/infrastructure/rda/rda_papi.cc b/osaf/libs/agents/infrastructure/rda/rda_papi.cc --- a/osaf/libs/agents/infrastructure/rda/rda_papi.cc +++ b/osaf/libs/agents/infrastructure/rda/rda_papi.cc @@ -761,6 +761,12 @@ uint32_t rda_get_role(SaAmfHAStateT *ha_ case PCS_RDA_STANDBY: *ha_state = SA_AMF_HA_STANDBY; break; + case PCS_RDA_QUIESCED: + *ha_state = SA_AMF_HA_QUIESCED; + break; + case PCS_RDA_QUIESCING: + *ha_state = SA_AMF_HA_QUIESCING; + break; default: return NCSCC_RC_FAILURE; } diff --git a/osaf/tools/rde/rde_get_role.c b/osaf/tools/rde/rde_get_role.c --- a/osaf/tools/rde/rde_get_role.c +++ b/osaf/tools/rde/rde_get_role.c @@ -46,6 +46,12 @@ int main(int argc, char **argv) else if (SA_AMF_HA_STANDBY == ha_state) { printf("STANDBY\n"); } + else if (SA_AMF_HA_QUIESCED == ha_state) { + printf("QUIESCED\n"); + } + else if (SA_AMF_HA_QUIESCING == ha_state) { + printf("QUIESCING\n"); + } else { printf("UNKNOWN\n"); return EXIT_FAILURE; ------------------------------------------------------------------------------ Site24x7 APM Insight: Get Deep Visibility into Application Performance APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month Monitor end-to-end web transactions and take corrective actions now Troubleshoot faster and improve end-user experience. Signup Now! http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140 _______________________________________________ Opensaf-devel mailing list Opensaf-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensaf-devel