Introduction

Library containing Keywords used for SXP testing

Keywords

Arguments

sgt prefixes node
= 127.0.0.1
session
= session
domain
= global
origin
= LOCAL

Documentation

Based on ODL version decide if bindings will be added with or without origin type (introduced in Fluorine)

Arguments

sgt prefixes node session domain origin

Documentation

Add/Update one or more bindings with origin type via RPC to Master DB of the node

Arguments

sgt start size node
= 127.0.0.1

Documentation

Add Bindings to Node specified by range

Arguments

version mode ip port node
= 127.0.0.1
password
= ${EMPTY}
session
= session
domain
= global
security_mode
= ${EMPTY}

Documentation

Add connection via RPC to node

Arguments

domain_name sgt
= None
prefixes
= None
origin
= LOCAL
node
= 127.0.0.1
session
= session

Documentation

Based on ODL version decide if domain's bindings will be added with or without origin type (introduced in Fluorine)

Arguments

name domains entries node
= 127.0.0.1
filter_name
= base-domain-filter
session
= session

Documentation

Add Domain Filter via RPC from Node

Arguments

domain_name sgt prefixes origin node session

Documentation

Add Domain with bindings (with origin) via RPC

Arguments

name type entries node
= 127.0.0.1
session
= session
policy
= auto-update

Documentation

Add Filter via RPC from Node

Arguments

node password
= ${EMPTY}
version
= version4
port
= 64999
session
= session
ip
= ${node}
ssl_stores
= ${EMPTY}
retry_open_timer
= 1

Documentation

Add node via RPC to ODL

Arguments

name peers
=
node
= 127.0.0.1
session
= session

Documentation

Adds new PeerGroup via RPC to Node

Arguments

sgt prefix domain
= global
scope
= all

Documentation

Retrieves bindings and verifies they contain given binding

Arguments

sgt prefix domain
= global
scope
= all

Documentation

Retrieves bindings and verifies they do not contain given binding

Arguments

sgt start end node
= 127.0.0.1

Documentation

Check if Node contains Bindings specified by range

Arguments

sgt start end node
= 127.0.0.1

Documentation

Check if Node does not contains Bindings specified by range

Arguments

node port
= 64999
system
= ${node}
session
= session
ip
= ${node}

Documentation

Verify that SxpNode has data writen to Operational datastore and is running

Arguments

node port
= 64999
system
= ${node}
session
= session
ip
= ${node}

Documentation

Verify that SxpNode has data removed from Operational datastore and is not running

Arguments

node
= 127.0.0.1
session
= session
domain
= global
scope
= local

Documentation

Delete all bindings via RPC from Master DB of node

Arguments

node
= 127.0.0.1
session
= session
domain
= global

Documentation

Delete all connections via RPC from node

Arguments

node
= 127.0.0.1
session
= session

Documentation

Delete all PeerGroups via RPC from node

Arguments

session

Documentation

Delete Routing configuration from Config DS

Arguments

node_range
= 1

Documentation

Destroy created sessions

Arguments

ip port mode version state
= none

Documentation

Retrieves connections and verifies they contain given connection

Arguments

ip port mode version state
= none

Documentation

Retrieves connections and verifies they do not contain given connection

Arguments

sgt prefixes node
= 127.0.0.1
domain
= global
session
= session

Documentation

Delete one or more bindings via RPC from Master DB of node

Arguments

sgt start size node
= 127.0.0.1

Documentation

Delete Bindings to Node specified by range

Arguments

ip port node
= 127.0.0.1
session
= session
domain
= global

Documentation

Delete connection via RPC from node

Arguments

domain_name node
= 127.0.0.1
session
= session

Documentation

Delete Domain via RPC

Arguments

name node
= 127.0.0.1
filter_name
= base-domain-filter
session
= session

Documentation

Delete Filter via RPC from Node

Arguments

name type node
= 127.0.0.1
session
= session

Documentation

Delete Filter via RPC from Node

Arguments

node session
= session

Documentation

Delete connection via RPC from node

Arguments

name node
= 127.0.0.1
session
= session

Documentation

Delete PeerGroup via RPC from Node

Arguments

node
= 127.0.0.1
session
= session
domain
= global
scope
= all

Documentation

Gets all binding via RPC from Master DB of node

Arguments

node
= 127.0.0.1
session
= session
domain
= global

Documentation

Gets all connections via RPC from node

Arguments

node port system session ip

Documentation

Get status if node is running by checking that netty server is running

Arguments

node
= 127.0.0.1
session
= session

Documentation

Gets all PeerGroups via RPC from node

Arguments

session

Documentation

Get Routing configuration from config DS

Arguments

session path data rest_context
= ${REST_CONTEXT}

Documentation

Post request to Controller and checks response

Arguments

name type entries node
= 127.0.0.1
policy
= auto-update

Documentation

Prepare XML payload for add-filter and update-filter RPCs. Payloads for both RPCs are the same.

Arguments

data session

Documentation

Put Routing configuration to Config DS

Arguments

node_range
= 1

Documentation

Create session to Controller, ${node_range} parameter specifies number of localhost nodes to be created on ${ODL_SYSTEM_IP}.

Arguments

version
= version4
password
= none

Arguments

resp sgt prefix

Documentation

Tests if data contains specified binding

Arguments

resp ip port mode version state
= none

Documentation

Test if data contains specified connection

Arguments

resp sgt prefix

Documentation

Tests if data doesn't contains specified binding

Arguments

resp ip port mode version state
= none

Documentation

Test if data doesn't contains specified connection

Arguments

name type entries node
= 127.0.0.1
session
= session
policy
= auto-update

Documentation

Update Filter via RPC

Arguments

version mode ip port
= 64999
node
= 127.0.0.1
state
= on
session
= session
domain
= global

Documentation

Verify that connection is ON

Arguments

snapshot_string
= 22-sxp-controller-one-node.xml

Documentation

Will succeed if the ${snapshot_string} is found in the karaf logs

SxpLib

image/svg+xml