2 Documentation Tests for Node resource attributes
3 Suite Setup IOTDM Basic Suite Setup ${ODL_SYSTEM_1_IP} ${ODL_RESTCONF_USER} ${ODL_RESTCONF_PASSWORD}
4 Suite Teardown Kill The Tree ${ODL_SYSTEM_1_IP} InCSE1 admin admin
5 Resource ../../../libraries/SubStrings.robot
6 Library ../../../libraries/IoTDM/criotdm.py
8 Resource ../../../variables/Variables.robot
9 Resource ../../../libraries/IoTDM/IoTDMKeywords.robot
14 ${rt_contentInstance} 4
19 TODO Refactor test suite and implement TCs
20 [Documentation] Refactor this test suite and implement next TCs according to 000_ResourceAttributesNotes.txt
21 ... Example of changes is in 024_ResourceAttributesAE.robot
22 [Tags] not-implemented exclude
25 1.1 After Created, test whether all the mandatory attribtues exist.
26 [Documentation] After Created, test whether all the mandatory attribtues exist.
27 ${attr} = Set Variable "rn":"Container1"
28 ${r}= Create Resource With Command ${iserver} InCSE1 ${rt_container} rcn=3 ${attr}
29 ${container} = Location ${r}
30 ${status_code} = Status Code ${r}
31 Should Be Equal As Integers ${status_code} 201
32 ${text} = Convert To String ${r.text}
33 Should Contain All Sub Strings ${text} "ri": "rn": "cni" "lt": "pi":
34 ... "st": "ct": "ty":3 cbs"
35 Should Not Contain Any Sub Strings ${text} "lbl" "creator" "or"
39 Fail "Not implemented"