marking failing SNMP test case with relevant bug 5360
[integration/test.git] / csit / suites / snmp / snmp-get / 010__snmp_get.robot
index 10988bae623e3045daaf0e49b747f50b6270fcce..a9d4f5ee72e4c9e31d693d7b02201131cd247b32 100644 (file)
@@ -1,6 +1,6 @@
 *** Settings ***
 Documentation     Test suite for SNMP
-Suite Setup       Create Session   session   http://${CONTROLLER}:${RESTCONFPORT}   auth=${AUTH}   headers=${HEADERS}
+Suite Setup       Create Session    session    http://${ODL_SYSTEM_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS}
 Suite Teardown    Delete All Sessions
 Library           SSHLibrary
 Library           Collections
@@ -11,12 +11,12 @@ Variables         ../../../variables/Variables.py
 
 *** Variables ***
 ${REST_CONTEXT_SNMP_SET}    /restconf/operations/snmp:snmp-get
-${DEVICE_IP}                10.86.3.13
+${DEVICE_IP}      10.86.3.13
 
 *** Test Cases ***
 List connections
     [Documentation]    SNMP get
     [Tags]    SNMP get
-    ${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" } }
-    Should Be Equal As Strings   ${resp.status_code}   200
+    ${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" } }
+    Should Be Equal As Strings    ${resp.status_code}    200
+    [Teardown]    Report_Failure_Due_To_Bug    5360
\ No newline at end of file