JIRA: SXP-150
Change-Id: I244d2a91027f800ae1ca595f0ebbc2521939ffc7
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
Setup Custom SXP Cluster
[Arguments] ${mode} ${node}=${DEVICE_NODE_ID} ${session}=${DEVICE_SESSION}
[Documentation] Setup custom SXP cluster topology with ${NUM_ODL_SYSTEM} nodes and one device
+ SxpClusterLib.Check Shards Status
SxpClusterLib.Setup SXP Cluster ${mode}
: FOR ${i} IN RANGE 1 25
\ SxpLib.Add Bindings ${i}0 ${i}.${i}.${i}.${i}/32 node=${node} session=${session}
Setup Nodes And Connections
[Arguments] ${peer_mode}
[Documentation] Setup and connect SXP cluster topology and one device
+ SxpClusterLib.Check Shards Status
SxpLib.Add Node ${DEVICE_NODE_ID} session=${DEVICE_SESSION} retry_open_timer=2
BuiltIn.Wait Until Keyword Succeeds 20x 10s SxpLib.Check Node Started ${DEVICE_NODE_ID} session=${DEVICE_SESSION}
SxpLib.Add Connection version4 ${peer_mode} ${VIRTUAL_IP} 64999 ${DEVICE_NODE_ID} session=${DEVICE_SESSION}