Library scope: | GLOBAL |
---|
Cluster OpenFlow library. So far this library is only to be used by OpenFlow cluster test as it is very specific for this test.
Add sample flow in ${controller_index} and verify it gets applied in all instances in ${controller_index_list}.
Check if number of Operational Flows on member of given index is equal to ${flow_count}.
Check Linear topology.
Check device is not in operational inventory or topology in all cluster instances in ${controller_index_list}.
Check no switch is in topology
Check number of flows in the inventory.
Check number of groups in the inventory.
Check owner and candidates for the device ${device}. Request is sent to controller ${controller_index}.
Check devices in tree,2 are in operational inventory and topology in all instances in ${controller_index_list}. Inventory should show 1x node_id per device 1x node_id per connector. Topology should show 2x node_id per device + 3x node_id per connector + 5x node_id per link termination. TODO: A Keyword that can calculate this based on mininet topology.
Check Status for all shards in OpenFlow application.
Check Shards Status after some cluster event.
Delete sample flow in Owner and verify it gets removed from all instances.
Check Status for Inventory Config shard in OpenFlow application.
Check Entity Owner Status and identify owner and successors for the device ${device}. Request is sent to controller ${controller_index}.
Modify sample flow in ${controller_index} and verify it gets applied in all instances in ${controller_index_list}.
Add sample flow in ${controller_index} and verify it gets applied from all instances in ${controller_index_list}.
Delete sample flow in ${controller_index} and verify it gets removed from all instances in ${controller_index_list}.
Take a link down and verify port status in all instances in ${controller_index_list}.
Take the link up and verify port status in all instances in ${controller_index_list}.
Verify sample flow gets applied in all instances in ${controller_index_list}.
Check if number of Switch connections on member of given index is equal to ${switch_count}.