Giving the right library for Report_Failure_Due_To_Bug_Found keyword
[integration/test.git] / csit / suites / snmp / snmp-get / 010__snmp_get.robot
1 *** Settings ***
2 Documentation     Test suite for SNMP
3 Suite Setup       Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
4 Suite Teardown    Delete All Sessions
5 Library           SSHLibrary
6 Library           Collections
7 Library           RequestsLibrary
8 Library           ../../../libraries/Common.py
9 Library           ../../../libraries/Topology.py
10 Resource          ../../../libraries/Utils.robot
11 Variables         ../../../variables/Variables.py
12
13 *** Variables ***
14 ${REST_CONTEXT_SNMP_SET}    /restconf/operations/snmp:snmp-get
15 ${DEVICE_IP}      10.86.3.13
16
17 *** Test Cases ***
18 List connections
19     [Documentation]    SNMP get
20     [Tags]    SNMP get
21     ${resp}    Post    session    ${REST_CONTEXT_SNMP_SET}    data={"input": {"ip-address": "${DEVICE_IP}","oid" : "1.3.6.1.2.1.1.1.0","get-type" : "GET-BULK","community" : "private" } }
22     Should Be Equal As Strings    ${resp.status_code}    200
23     [Teardown]    Report_Failure_Due_To_Bug    5360