Cardinal simple system test suites
[integration/test.git] / csit / libraries / ClusterOpenFlow.robot
index e8debb8a64cdf537e02492e55b388f097f84425d..a0bc2669517d69a9b70d43cb9b377d31cb9acf7c 100644 (file)
@@ -12,6 +12,14 @@ ${operational_table_0}    ${OPERATIONAL_NODES_API}/node/openflow:1/table/0
 ${operational_port_1}    ${OPERATIONAL_NODES_API}/node/openflow:1/node-connector/openflow:1:1
 
 *** Keywords ***
+Get InventoryConfig Shard Status
+    [Arguments]    ${controller_index_list}
+    [Documentation]    Check Status for Inventory Config shard in OpenFlow application.
+    ${inv_conf_leader}    ${inv_conf_followers_list}    Wait Until Keyword Succeeds    10s    1s    ClusterKeywords.Get Cluster Shard Status    ${controller_index_list}
+    ...    config    inventory
+    Log    config inventory Leader is ${inv_conf_leader} and followers are ${inv_conf_followers_list}
+    [Return]    ${inv_conf_leader}    ${inv_conf_followers_list}
+
 Check OpenFlow Shards Status
     [Arguments]    ${controller_index_list}
     [Documentation]    Check Status for all shards in OpenFlow application.