2 Documentation Test suite to verify Restconf is OK
3 Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
4 Suite Teardown Delete All Sessions
5 Library ../../../libraries/RequestsLibrary.py
6 Library ../../../libraries/Common.py
7 Variables ../../../variables/Variables.py
8 Resource ../../../libraries/Utils.txt
11 ${REST_CONTEXT} /restconf/modules
14 Get Controller Modules
15 [Documentation] Get the controller modules via Restconf
16 ${resp} RequestsLibrary.Get session ${REST_CONTEXT}
18 Should Be Equal As Strings ${resp.status_code} 200
19 Should Contain ${resp.content} ietf-restconf