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