Introduction

Library to provide ovsdb access to mininet topologies

Keywords

Arguments

switch controller update_data
= ${False}
verify_disconnected
= ${True}

Documentation

Disconnects the switch from the controller by setting the incorrect port

Documentation

Executes ovs-vsctl show command and returns stdout, no check nor change is performed

Arguments

switch controller update_data
= ${False}

Documentation

Returns controllers uuid

Arguments

conn_id acl_sr_table_id port_mac
= ""

Documentation

Count the number of dump flows for a given table id and grep with port_mac if provided

Arguments

switch update_data
= ${False}

Documentation

Gets controller which is a master

Arguments

switch controller update_data
= ${False}

Documentation

Returns the controllers role

Arguments

ip

Documentation

Get local ip of compute node ovsdb

Arguments

prompt
= mininet>

Documentation

Gets ovs data and parse them.

Arguments

system_ip br_name table_no addtioanal_args
= ${EMPTY}

Documentation

Return packet count for the specific table no.

Arguments

os_compute_ip table_no ip_address additional_args
= ${EMPTY}

Documentation

Capture packetcount for IP in Table

Arguments

switch update_data
= ${False}

Documentation

Returns a list of ips of slave nodes for particular switch

Arguments

prompt cmd_prefix

Arguments

switches update_data
= ${False}
verify_connected
= ${False}

Documentation

This is a private keyword to enable diconnected controllers

Arguments

switch update_data
= ${False}
verify_connected
= ${False}

Documentation

This is a private keyword, verification is not reliable yet, enables disconnected controllers

Arguments

switch controller update_data
= ${False}

Documentation

Return is_connected boolean value

Arguments

switches update_data
= ${False}

Documentation

Private keyword, the existence of master means it is verified

Arguments

switch controller update_data
= ${False}
verify_connected
= ${True}

Documentation

Reconnects the switch back to the controller by setting the correct port

Arguments

bridge controllers ofversion
= 13
disconnected
= ${False}

Documentation

Adds controller to the bridge

Arguments

switches controller_ips verify_connected
= ${False}

Documentation

The idea of this keyword is to setup clustered controller and to be more or less sure that the role is filled correctly. The problem is when more controllers are being set up at once, the role shown in Controller ovsdb table is not the same as we can see from wireshark traces. Now we set disconnected controllers and we will connect them expecting that the first connected controller will be master.

Arguments

switch controller update_data
= ${False}

Documentation

Check if the switch is connected

Arguments

switch controller update_data
= ${False}

Documentation

Check if the switch is disconnected

Arguments

switch controller update_data
= ${False}

Documentation

Verifies the master role

Arguments

switch controller update_data
= ${False}

Documentation

Verifies the slave role

Arguments

ovs_version * nodes

Documentation

Get ovs version and verify greater than required version

OvsManager

image/svg+xml