Step 1: Move vm scripts to the right place
[integration/test.git] / test / csit / suites / l2switch / Maximum_Hosts / 010__finding_max_hosts.robot
1 *** Settings ***
2 Documentation     Test suite for finding out max number of switches
3 Suite Setup       Create Session    session    http://${CONTROLLER}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
4 Suite Teardown    Scalability Suite Teardown
5 Library           OperatingSystem
6 Library           RequestsLibrary
7 Variables         ../../../variables/Variables.py
8 Resource          ../../../libraries/Scalability.robot
9
10 *** Variables ***
11 ${MIN_HOSTS}    100
12 ${MAX_HOSTS}    2000
13 ${STEP_HOSTS}    100
14 ${HOSTS_RESULT_FILE}    hosts.csv
15
16 *** Test Cases ***
17 Find Max Supported Hosts
18     [Documentation]    Find max number of hosts starting from ${MIN_HOSTS} till reaching ${MAX_HOSTS} in steps of ${STEP_HOSTS}
19     Append To File    ${HOSTS_RESULT_FILE}    Max Hosts. All hosts connected to a single switch\n
20     ${max-hosts}    Find Max Hosts    ${MIN_HOSTS}    ${MAX_HOSTS}    ${STEP_HOSTS}
21     Log    ${max-hosts}
22     Append To File    ${HOSTS_RESULT_FILE}    ${max-hosts}\n
23