GIT restructure - Adding project folders and features
[integration/test.git] / test / csit / suites / controller / Inventory_Scalability_OF10 / __init__.txt
1 *** Settings ***
2 Documentation     Test suite for Inventory Scalability
3 Suite Setup       Start Suite
4 Suite Teardown    Stop Suite
5 Library           SSHLibrary
6 Library           ../../../libraries/Common.py
7 Variables         ../../../variables/Variables.py
8
9 *** Variables ***
10 ${start}          sudo mn --controller=remote,ip=${CONTROLLER} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT}
11
12 *** Keywords ***
13 Start Suite
14     Log    Start mininet
15     ${TOPO_TREE_DEPTH}    Convert To Integer    ${TOPO_TREE_DEPTH}
16     ${TOPO_TREE_FANOUT}    Convert To Integer    ${TOPO_TREE_FANOUT}
17     ${numnodes}    Num Of Nodes    ${TOPO_TREE_DEPTH}    ${TOPO_TREE_FANOUT}
18     Open Connection    ${MININET}    prompt=>    timeout=${numnodes*2}
19     Login With Public Key    ${MININET_USER}    ${USER_HOME}/.ssh/id_rsa    any
20     Write    sudo ovs-vsctl set-manager ptcp:6644
21     Write    sudo mn -c
22     Read Until    >
23     Write    ${start}
24     Read Until    mininet>
25
26 Stop Suite
27     Log    Stop mininet
28     Read
29     Write    exit
30     Read Until    >
31     Close Connection