- not equal retry timer value allows
to deal with VSS switchover
JIRA: SXP-147
Change-Id: I998f1f52f8dcc543b4e2e402c0cd3f2b58dbff59
Signed-off-by: Ivan Hrasko <ihrasko@cisco.com>
Setup Nodes And Connections
[Arguments] ${peer_mode}
[Documentation] Setup and connect SXP cluster topology and one device
Setup Nodes And Connections
[Arguments] ${peer_mode}
[Documentation] Setup and connect SXP cluster topology and one device
- SxpLib.Add Node ${DEVICE_NODE_ID} session=${DEVICE_SESSION}
+ 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}
${cluster_mode} = Sxp.Get Opposing Mode ${peer_mode}
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}
${cluster_mode} = Sxp.Get Opposing Mode ${peer_mode}
- SxpLib.Add Node ${CLUSTER_NODE_ID} session=${CONTROLLER_SESSION}
+ SxpLib.Add Node ${CLUSTER_NODE_ID} session=${CONTROLLER_SESSION} retry_open_timer=5
BuiltIn.Wait Until Keyword Succeeds 20x 10s SxpClusterLib.Check Cluster Node Started ${CLUSTER_NODE_ID}
SxpLib.Add Connection version4 ${cluster_mode} ${DEVICE_NODE_ID} 64999 ${CLUSTER_NODE_ID} session=${CONTROLLER_SESSION}
BuiltIn.Wait Until Keyword Succeeds 20x 10s SxpClusterLib.Check Cluster Node Started ${CLUSTER_NODE_ID}
SxpLib.Add Connection version4 ${cluster_mode} ${DEVICE_NODE_ID} 64999 ${CLUSTER_NODE_ID} session=${CONTROLLER_SESSION}