Introduction

Documentation for resource file OVSDB.

Keywords

Arguments

node_id node_ip bridge datapath_id port
= ${OVSDB_NODE_PORT}

Documentation

This will create a bridge and add it to the OVSDB node.

Arguments

tools_system
= ${TOOLS_SYSTEM_IP}
controller_index_list
= ${EMPTY}
ovs_mgr_port
= 6640

Documentation

Connect OVS to the list of controllers in the ${controller_index_list} or all if no list is provided.

Arguments

conn_id

Documentation

Add higher levels of OVS logging

Arguments

node_id bridge tp_name remote_ip
= ${TOOLS_SYSTEM_IP}

Documentation

Using the json data body file as a template, a REST config request is made to create a termination-point ${tp_name} on ${bridge} for the given ${node_id}. The ports remote-ip defaults to ${TOOLS_SYSTEM_IP}

Arguments

node_ip bridge vxlan_port remote_ip port
= ${OVSDB_NODE_PORT}

Documentation

This request will create vxlan port for vxlan tunnel and attach it to the specific bridge

Arguments

tools_system of_connections

Documentation

Check OVS instance with IP ${tools_system} has ${of_connections} OpenFlow connections.

Arguments

tools_system
= ${TOOLS_SYSTEM_IP}

Documentation

General Use Keyword attempting to sanitize test environment for OVSDB related tests. Not every step will always be neccessary, but should not cause any problems for any new ovsdb test suites.

Arguments

switch
= ${INTEGRATION_BRIDGE}

Documentation

Used to log useful test debugs for OVSDB related system tests.

Documentation

This will check that only the expected output is there for both operational and config topology data stores. Empty probably means that only ovsdb:1 is there.

Arguments

node_ip port
= ${OVSDB_NODE_PORT}

Documentation

This will Initiate the connection to OVSDB node from controller

Arguments

node_ip port
= ${OVSDB_NODE_PORT}

Arguments

qos

Arguments

queue

Arguments

node_id bridge

Documentation

This request will delete the bridge node from the OVSDB

Arguments

ovs_ip br
= ${INTEGRATION_BRIDGE}

Documentation

Delete OVS groups from ${br}

Arguments

ovs_ip bridge
= ${INTEGRATION_BRIDGE}

Documentation

Delete controller from OVS

Arguments

ovs_ip

Documentation

Delete manager from OVS

Arguments

ovs_ip br type

Documentation

List all ports of ${br} and delete ${type} ports

Arguments

node_ip port
= ${OVSDB_NODE_PORT}

Documentation

This request will disconnect the OVSDB node from the controller

Documentation

This keyword returns first bridge name and UUID from list of bridges.

Arguments

ip

Documentation

Returns the default gateway at the given ip address using route command.

Arguments

ip

Documentation

Returns the dpnid from the system at the given ip address using ovs-ofctl assuming br-int is present.

Arguments

conn_id bridge

Documentation

Get the OvsConfig and Flow entries from OVS

Arguments

ip

Documentation

Returns the ethernet adapter name from the system at the given ip address using ip addr show.

Arguments

conn_id switch
= ${INTEGRATION_BRIDGE}

Documentation

Return flow entries on the given Node.

Arguments

ovs_system_ip
= ${TOOLS_SYSTEM_IP}
controller_http_session
= session

Documentation

Queries the topology in the operational datastore and searches for the node that has the ${ovs_system_ip} argument as the "remote-ip". If found, the value returned will be the value of node-id stripped of "ovsdb://uuid/". If not found, ${EMPTY} will be returned.

Arguments

ip_addr port

Documentation

Get the Metadata for a given port

Arguments

subportid ip_addr

Documentation

Get the port number for the given sub-port id

Arguments

ovs_ip br type

Documentation

Get ${type} ports for a bridge ${br} on node ${ovs_ip}.

Arguments

ip

Documentation

Return the subnet from the system at the given ip address and interface

Arguments

conn_id table_id tun_id mac
= ""

Documentation

Get tunnel id and packet count from specified table id Using regex get the n_packet and the tunnel_id from the table flow.

Documentation

For debugging purposes, this will log both config and operational topo data stores

Arguments

ovs_1_port_name ovs_2_port_name bridge

Documentation

Updates two port names for the given ${bridge} in config store

Arguments

conn_id

Documentation

Reset the OVS logging

Arguments

ovs_ip

Documentation

Restart the OVS node without cleaning the current configuration.

Arguments

tools_system bridge controller_opt ofversion
= 13

Documentation

Sets controller for the OVS bridge ${bridge} using ${controller_opt} and OF version ${ofversion}.

Arguments

ovs_ip

Documentation

start the OVS node.

Arguments

ovs_ip

Documentation

Stop the OVS node.

Arguments

uris
= @{EMPTY}

Documentation

Cleans up test environment, close existing sessions.

Arguments

qos

Arguments

compute_ip table_num flag additional_args
= ${EMPTY}
* matching_paras

Documentation

To Verify flows are present for the corresponding table Number

Arguments

conn_id match

Documentation

Verify Flows Are Present On The Given Node

Arguments

tools_system
= ${TOOLS_SYSTEM_IP}

Documentation

Uses "vsctl show" to check for string "is_connected"

Arguments

vsctl_args expected_output ovs_system
= ${TOOLS_SYSTEM_IP}
should_match
= True

Documentation

A wrapper keyword to make it easier to validate ovs-vsctl output, and gives an easy way to check this output in a WUKS. The argument ${should_match} can control if the match should exist (True} or not (False) or don't care (anything but True or False). ${should_match} is True by default

Arguments

dpn_ip state
= ACTIVE

Documentation

Verify ovsdb state for the given DPN

Arguments

before_count_egress_port1 before_count_egress_port2 before_count_ingress_port1 before_count_ingress_port2 segmentation_id1 segmentation_id2 port_mac1 port_mac2

Documentation

Verify the packet count after the traffic sent

OVSDB

image/svg+xml