Replace entity-owners API call 64/98664/3
authorSangwook Ha <sangwook.ha@verizon.com>
Tue, 23 Nov 2021 22:18:22 +0000 (14:18 -0800)
committerSangwook Ha <sangwook.ha@verizon.com>
Tue, 23 Nov 2021 23:09:19 +0000 (15:09 -0800)
commit88df6d1316415f3831977f7e884957d9e9d5d2bc
treee1a0b836e4c42c5f9ff800e9a33e2198b503a486
parent744758a2a996c3921faed61dfcbcf2589b3e150b
Replace entity-owners API call

An entity ownership test for OpenFlow Plugin makes a direct REST
API call to get the entity ownership information from operational
data store, which is only valid up to Silicon.

Update the 'get_entities' function in the ClusterEntities library
to fall back on the entity-owners API call for Silicon, and replace
the API call to the operational data currently used in the test case
with the function/keyword so that Silicon/Phosphorus/Sulfur are
all supported.

Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: Idf7d41d1abc509f5f344e7d6d40d93a4dee8f960
csit/libraries/ClusterEntities.py
csit/libraries/ClusterManagement.robot
csit/suites/openflowplugin/EntityOwnership/030_Cluster_Sync_Problems.robot