Merge device specific keywords to retrieve entity ownership data 17/98117/4
authorSangwook Ha <sangwook.ha@verizon.com>
Mon, 25 Oct 2021 04:08:47 +0000 (21:08 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Mon, 25 Oct 2021 06:50:39 +0000 (23:50 -0700)
commitf4d7fe300ae2a641250659b7cb6d26f0ab6ea668
treebcae8350ab91494f38e1790fc11786e343998b9d
parent98aa061780a3c91ff90b01235b96fb776b3c8385
Merge device specific keywords to retrieve entity ownership data

Keywords 'Get_Owner_And_Candidates_For_Device_Singleton_{device_type}'
defined for netconf, bgpcep, sxp are the same except for prefix/suffix
added to the device name. Create a dictionary for the prefix/suffix
and share the same keyword Get_Owner_And_Candidates_For_Device_Singleton.

The keyword didn't support OpenFlow device type before, because there
was no keyword specific to the OpenFlow device type, but it is
supported now.

This change also removes the odl-general-entity prefix/suffix for
bgpcep & sxp because the entity name does not include the prefix
with the new entity owner RPC - netconf does not have it.

Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
Change-Id: I5181e2f9f531835310714789ece8df9634ee118f
csit/libraries/ClusterManagement.robot