Migrate Get Requests invocations(libraries)
[integration/test.git] / csit / suites / l2switch / Inventory_Scalability_OF13 / __init__.robot
1 *** Settings ***
2 Documentation       Test suite for Inventory Scalability
3
4 Library             SSHLibrary
5 Library             ../../../libraries/Common.py
6 Variables           ../../../variables/Variables.py
7
8 Suite Setup         Start Suite
9 Suite Teardown      Stop Suite
10
11
12 *** Variables ***
13 ${start}
14 ...         sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT} --switch ovsk,protocols=OpenFlow13
15
16
17 *** Keywords ***
18 Start Suite
19     Log    Start mininet
20     ${TOPO_TREE_DEPTH}    Convert To Integer    ${TOPO_TREE_DEPTH}
21     ${TOPO_TREE_FANOUT}    Convert To Integer    ${TOPO_TREE_FANOUT}
22     ${numnodes}    Num Of Nodes    ${TOPO_TREE_DEPTH}    ${TOPO_TREE_FANOUT}
23     Open Connection    ${TOOLS_SYSTEM_IP}    prompt=${DEFAULT_LINUX_PROMPT}    timeout=${numnodes*3}
24     Login With Public Key    ${TOOLS_SYSTEM_USER}    ${USER_HOME}/.ssh/${SSH_KEY}    any
25     Execute Command    sudo ovs-vsctl set-manager ptcp:6644
26     Execute Command    sudo mn -c
27     Write    ${start}
28     Read Until    mininet>
29
30 Stop Suite
31     Log    Stop mininet
32     Read
33     Write    exit
34     Read Until    >
35     Close Connection