Library scope: | GLOBAL |
---|
Library to provide ovsdb access to mininet topologies
Disconnects the switch from the controller by setting the incorrect port
Executes ovs-vsctl show command and returns stdout, no check nor change is performed
Returns controllers uuid
Count the number of dump flows for a given table id and grep with port_mac if provided
Gets controller which is a master
Returns the controllers role
Get local ip of compute node ovsdb
Gets ovs data and parse them.
Return packet count for the specific table no.
Capture packetcount for IP in Table
Returns a list of ips of slave nodes for particular switch
This is a private keyword to enable diconnected controllers
This is a private keyword, verification is not reliable yet, enables disconnected controllers
Return is_connected boolean value
Private keyword, the existence of master means it is verified
Reconnects the switch back to the controller by setting the correct port
Adds controller to the bridge
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.
Check if the switch is connected
Check if the switch is disconnected
Verifies the master role
Verifies the slave role
Get ovs version and verify greater than required version