Introduction

Library containing Keywords used for SXP cluster testing

Keywords

Arguments

node version
= version4
port
= 64999
mode
= speaker
session
= session

Documentation

Get SXP connections of cluster ${node} and verify that they contain a connection to the device ${DEVICE_NODE_ID} in state "on"

Arguments

node port
= 64999
ip
= ${node}

Documentation

Verify that SxpNode has data written to Operational datastore and Node is running on one of cluster nodes

Arguments

node port
= 64999
ip
= ${node}

Documentation

Verify that SxpNode has data removed from Operational datastore and Node is stopped

Arguments

node version
= version4
port
= 64999
session
= session

Documentation

Checks if SXP device is connected to the cluster. It means it has connection in state "on" with one of the cluster members.

Documentation

Check Status for all shards in SXP application.

Documentation

Disconnect SXP cluster topology

Documentation

Clean sessions asociated with SXP cluster setup

Documentation

Create virtual interface on all of the cluster nodes

Documentation

Create virtual interface on all of the cluster nodes

Arguments

ip

Documentation

Finds out MAC-ADDRESS of specified IP by pinging it from TOOLS_SYSTEM machine

Documentation

Get any controller from cluster range

Documentation

Find cluster controller that is not marked as owner for SXP service in cluster

Arguments

running_member
= 1

Documentation

Find cluster controller that is marked as cluster owner by requesting ownership data from ${running_member} node of the cluster

Arguments

mac_addresses ip_address follower_index

Documentation

Verify that IP-ADDRESS is routed to follower specified by ID

Arguments

mac_addresses ip_address follower_index

Documentation

Verify that IP-ADDRESS is not routed to follower specified by ID

Documentation

Creates Map containing ODL_SYSTEM_IP to corresponding MAC-ADDRESS

Documentation

Create session on the SXP device

Arguments

peer_mode
= listener

Documentation

Setup and connect SXP cluster topology

Documentation

Create sessions asociated with SXP cluster setup

Documentation

Create sessions asociated with SXP cluster setup and one SXP device

Arguments

ip_address
= ${TOOLS_SYSTEM_2_IP}
user
= ${TOOLS_SYSTEM_USER}
passwd
= ${TOOLS_SYSTEM_PASSWORD}

Documentation

Shutdown Tools node to avoid conflict in resolving virtual ip that is overlaping that node.

SxpClusterLib

image/svg+xml