From: Lorand Jakab Date: Wed, 4 Mar 2015 13:49:08 +0000 (+0200) Subject: Add basic test suite for lispflowmapping X-Git-Tag: release/helium-sr3~73 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=integration%2Ftest.git;a=commitdiff_plain;h=90446599771b14f5eb62088e3a95f40a547af760 Add basic test suite for lispflowmapping Change-Id: Ib499b9e166ce0d4e5ac1ba51f1de7e78ff71306d Signed-off-by: Lorand Jakab --- diff --git a/test/csit/suites/lispflowmapping/basic/010_Restconf_OK.txt b/test/csit/suites/lispflowmapping/basic/010_Restconf_OK.txt new file mode 100644 index 0000000000..743c76b8bc --- /dev/null +++ b/test/csit/suites/lispflowmapping/basic/010_Restconf_OK.txt @@ -0,0 +1,20 @@ +*** Settings *** +Documentation Test suite to verify Restconf is OK +Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML} +Suite Teardown Delete All Sessions +Library ../../../libraries/RequestsLibrary.py +Library ../../../libraries/Common.py +Variables ../../../variables/Variables.py +Resource ../../../libraries/Utils.txt + +*** Variables *** +${REST_CONTEXT} /restconf/modules + +*** Test Cases *** +Get Controller Modules + [Documentation] Get the controller modules via Restconf + ${resp} RequestsLibrary.Get session ${REST_CONTEXT} + Log ${resp.content} + Should Be Equal As Strings ${resp.status_code} 200 + Should Contain ${resp.content} ietf-restconf + diff --git a/test/csit/testplans/lispflowmapping-basic.txt b/test/csit/testplans/lispflowmapping-basic.txt new file mode 100644 index 0000000000..3ff95c36fd --- /dev/null +++ b/test/csit/testplans/lispflowmapping-basic.txt @@ -0,0 +1,2 @@ +# Place the suites in run order: +integration/test/csit/suites/lispflowmapping/basic