Tidied new and updated test suites
[integration/test.git] / csit / suites / groupbasedpolicy / GBP / 3-node / gbp2-multitenant / 002_wait_flows.robot
1 *** Settings ***
2 Documentation     Waiting until flows are created
3 Default Tags      multi-tenant    setup    multi-tenant-setup
4 Library           SSHLibrary
5 Resource          ../../../../../libraries/Utils.robot
6 Resource          ../../../../../libraries/GBP/OpenFlowUtils.robot
7 Variables         ../../../../../variables/Variables.py
8 Resource          ../Variables.robot
9
10 *** Variables ***
11 ${timeout}        10s
12
13 *** Testcases ***
14 Wait For Flows
15     Sleep    30s
16     ${passed} =    Run Keyword And Return Status    OpenFlowUtils.Wait For Flows On Switch    ${GBP1}    sw1
17     Run Keyword Unless    ${passed}    Fatal Error    Flows not created on sw1!
18     ${passed} =    Run Keyword And Return Status    OpenFlowUtils.Wait For Flows On Switch    ${GBP2}    sw2
19     Run Keyword Unless    ${passed}    Fatal Error    Flows not created on sw2!
20     ${passed} =    Run Keyword And Return Status    OpenFlowUtils.Wait For Flows On Switch    ${GBP3}    sw3
21     Run Keyword Unless    ${passed}    Fatal Error    Flows not created on sw3!