2 Suite Setup Create Session session http://${CONTROLLER}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS}
3 Suite Teardown Delete All Sessions
4 Library RequestsLibrary
5 Library OperatingSystem
6 Resource ../../../libraries/KarafKeywords.robot
7 Variables ../../../variables/Variables.py
8 Resource ../../../libraries/Utils.robot
11 ${SET_CONFIGURATION} ${CURDIR}/../../../variables/centinel/set_configuration.json
15 ${body} OperatingSystem.Get File ${SET_CONFIGURATION}
16 ${resp} RequestsLibrary.Post Request session ${SET_CONFIGURATION_URI} ${body}
18 Should Be Equal As Strings ${resp.status_code} 200
21 ${resp} RequestsLibrary.Get Request session ${GET_CONFIGURATION_URI}
23 Should Be Equal As Strings ${resp.status_code} 200