Migrate Get Requests invocations(libraries)
[integration/test.git] / csit / suites / openflowplugin / Inventory_Scalability_OF10 / __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}    sudo mn --controller=remote,ip=${ODL_SYSTEM_IP} --topo tree,${TOPO_TREE_DEPTH},${TOPO_TREE_FANOUT}
14
15
16 *** Keywords ***
17 Start Suite
18     Log    Start mininet
19     ${TOPO_TREE_DEPTH}    Convert To Integer    ${TOPO_TREE_DEPTH}
20     ${TOPO_TREE_FANOUT}    Convert To Integer    ${TOPO_TREE_FANOUT}
21     ${numnodes}    Num Of Nodes    ${TOPO_TREE_DEPTH}    ${TOPO_TREE_FANOUT}
22     Open Connection    ${TOOLS_SYSTEM_IP}    prompt=${TOOLS_SYSTEM_PROMPT}    timeout=${numnodes*2}
23     Login With Public Key    ${TOOLS_SYSTEM_USER}    ${USER_HOME}/.ssh/${SSH_KEY}    any
24     Execute Command    sudo ovs-vsctl set-manager ptcp:6644
25     Execute Command    sudo mn -c
26     Write    ${start}
27     Read Until    mininet>
28
29 Stop Suite
30     Log    Stop mininet
31     Read
32     Write    exit
33     Read Until    ${TOOLS_SYSTEM_PROMPT}
34     Close Connection