*** Settings ***
Documentation Test Suite for IdManager
-Suite Setup Genius Suite Setup
-Suite Teardown Genius Suite Teardown
+Suite Setup Create Session session http://${ODL_SYSTEM_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS} timeout=5
+Suite Teardown Delete All Sessions
Test Teardown Get Model Dump ${ODL_SYSTEM_IP} ${idmanager_data_models}
Library OperatingSystem
Library String
${respjson} RequestsLibrary.To Json ${get_resp.content} pretty_print=True
Log ${respjson}
Should Be Equal As Strings ${get_resp.status_code} 200
- ${child-pool-name} Should Match Regexp ${get_resp.content} ${pool-name}\.[0-9]+
+ ${child-pool-name} Should Match Regexp ${get_resp.content} ${pool-name}\.[-]?[0-9]+
log ${child-pool-name}
${get_releasedIds} RequestsLibrary.Get Request session ${CONFIG_API}/id-manager:id-pools/id-pool/${child-pool-name}/released-ids-holder/
${respjson} RequestsLibrary.To Json ${get_releasedIds.content} pretty_print=True