X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Fnetconf%2Fready%2Fnetconfready.robot;h=4f04dd7c4f4f28885799c1dbef0be3f4808ae5da;hb=c8e7d15a370dd5f5537a9c0b67da3b0e89d17504;hp=68884ab3ddfba38b2049fef7687bd96b20e600a4;hpb=8e674d508ee8dcca45a3f255cb5b960cecd01974;p=integration%2Ftest.git diff --git a/csit/suites/netconf/ready/netconfready.robot b/csit/suites/netconf/ready/netconfready.robot index 68884ab3dd..4f04dd7c4f 100644 --- a/csit/suites/netconf/ready/netconfready.robot +++ b/csit/suites/netconf/ready/netconfready.robot @@ -25,6 +25,7 @@ Documentation netconf-connector readiness test suite. Suite Setup Setup_Everything Suite Teardown Teardown_Everything Library RequestsLibrary +Resource ${CURDIR}/../../../libraries/KarafKeywords.robot Resource ${CURDIR}/../../../libraries/Utils.robot Variables ${CURDIR}/../../../variables/Variables.py @@ -47,14 +48,17 @@ Wait_For_Netconf_Connector *** Keywords *** Setup_Everything - [Documentation] Setup requests library. + [Documentation] Setup requests library and log into karaf.log that the netconf readiness wait starts. + KarafKeywords.Open_Controller_Karaf_Console_On_Background + KarafKeywords.Log_Message_To_Controller_Karaf Starting Netconf readiness test suite RequestsLibrary.Create_Session ses http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} # TODO: Do not include slash in ${OPERATIONAL_TOPO_API}, having it typed here is more readable. # TODO: Alternatively, create variable in Variables which starts with http. # Both TODOs would probably need to update every suite relying on current Variables. Teardown_Everything - [Documentation] Destroy all sessions in the requests library. + [Documentation] Destroy all sessions in the requests library and log into karaf.log that the netconf readiness wait is over. + KarafKeywords.Log_Message_To_Controller_Karaf Ending Netconf readiness test suite RequestsLibrary.Delete_All_Sessions Check_Netconf_Connector