Any test plan that starts with the Netconf readiness suite
can now be asked to switch debug logging for everything by
setting DEBUG_LOGGING_FOR_EVERYTHING to "True".
Change-Id: I10a9e76ec8ea2f04cfb238366e24ea64c7362d14
Signed-off-by: Jozef Behran <jbehran@cisco.com>
*** Variables ***
${first_case_ok} False
${NETCONFREADY_WAIT} 60s
+${DEBUG_LOGGING_FOR_EVERYTHING} False
*** Test Cases ***
Check_Whether_Netconf_Connector_Works
[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
+ BuiltIn.Run_Keyword_If ${DEBUG_LOGGING_FOR_EVERYTHING} KarafKeywords.Execute_Controller_Karaf_Command_On_Background log:set DEBUG
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.