Library scope: | GLOBAL |
---|
Mininet library. This library is useful for tests using mininet tool to simulate devices.
Sync with mininet to match exact number of flows
Break and restore controller to mininet connection via iptables.
Get all the hosts from mininet
Copy and install certificates in simulator.
Do one round of ping from one host to all other hosts in mininet. Note that a single ping failure will exit the loop and return a non zero value.
Ping between mininet hosts. Must be used only after a mininet session is in place. Returns non zero value if there is 100% packet loss.
Sends Command ${cmd} to Mininet session ${mininet_conn} and returns read buffer response.
Sends Command ${cmd} to Mininet sessions in ${mininet_conn_list} and returns list of read buffer responses.
Start a custom mininet topology.
Start mininet linear topology with ${switches} nodes.
Start Mininet with custom topology and connect to list of controllers in ${controller_index_list} or all if no list is provided.
Start mininet 1 switch with ${hosts} hosts attached.
Start Mininet with custom topology and connect to controller.
Stops Mininet and exits session ${mininet_conn}
Stops Mininet and exits sessions in ${mininet_conn_list}.
Verify flow count per switch
Send ping from mininet and verify no conectivity.
Send ping from mininet and verify connectivity.