From: Luis Gomez Date: Fri, 1 May 2015 06:04:43 +0000 (+0000) Subject: Merge "need a testplan file for Li-redesign cbench test" X-Git-Tag: release/lithium~122 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=3d2b9f6c1fc77d74a93fc992e50810d7dd41b9bd;hp=6d49ac39fbbb64ae1cf5c04485aac8d15526413f;p=integration%2Ftest.git Merge "need a testplan file for Li-redesign cbench test" --- diff --git a/test/csit/suites/snmp/snmp-get/010__snmp_get.robot b/test/csit/suites/snmp/snmp-get/010__snmp_get.robot new file mode 100644 index 0000000000..c0690a108c --- /dev/null +++ b/test/csit/suites/snmp/snmp-get/010__snmp_get.robot @@ -0,0 +1,22 @@ +*** Settings *** +Documentation Test suite for SNMP +Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} +Suite Teardown Delete All Sessions +Library SSHLibrary +Library Collections +Library ../../../libraries/RequestsLibrary.py +Library ../../../libraries/Common.py +Library ../../../libraries/Topology.py +Variables ../../../variables/Variables.py + +*** Variables *** +${REST_CONTEXT_SNMP_SET} /restconf/operations/snmp:snmp-get +${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 \ No newline at end of file diff --git a/test/csit/testplans/snmp-basic.txt b/test/csit/testplans/snmp-basic.txt new file mode 100644 index 0000000000..62d3b5bffa --- /dev/null +++ b/test/csit/testplans/snmp-basic.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/snmp/snmp-get \ No newline at end of file