2 Documentation Test suite testing IoTDM security methods without authentication of the request sender entity.
3 ... Test cases are implemented according to tables in 000_IoTDMSecurityNoAuthTable.txt
4 ... TODO: It seems that data driven approach is much more appropriate for implementation
5 ... of TCs described below which can be merged as needed.
6 Suite Setup Create Session session http://${ODL_SYSTEM_1_IP}:${RESTCONFPORT} auth=${AUTH} headers=${HEADERS_XML}
7 Suite Teardown Delete All Sessions
8 Library RequestsLibrary
9 Library ../../../libraries/Common.py
10 Resource ../../../libraries/Utils.robot
11 Resource ../../../variables/Variables.robot
16 1.00 L0: Verify configured security level
17 [Documentation] Verifies if the security level configured for IoTDM core and used protocol provider is L0
18 [Tags] not-implemented exclude
21 1.01 L0: Local CSE as target, AE as originator
22 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by AE
23 [Tags] not-implemented exclude
26 1.02 L0: Local CSE as target, CSE as originator
27 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by CSE
28 [Tags] not-implemented exclude
31 1.03 L0: Remote CSE as target, AE as originator
32 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by AE
33 [Tags] not-implemented exclude
36 1.04 L0: Remote CSE as target, CSE as originator
37 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by CSE
38 [Tags] not-implemented exclude
41 2.00 L1: Configure security level L1 in IoTDM core
42 [Documentation] Changes security level of IoTDM core from L0 to L1 and verifies.
43 [Tags] not-implemented exclude
46 2.01 L1: IoTDM core: Local CSE as target, AE as originator
47 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by AE
48 [Tags] not-implemented exclude
51 2.02 L1: IoTDM core: Local CSE as target, CSE as originator
52 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by CSE
53 [Tags] not-implemented exclude
56 2.03 L1: IoTDM core: Remote CSE as target, AE as originator
57 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by AE
58 [Tags] not-implemented exclude
61 2.04 L1: IoTDM core: Remote CSE as target, CSE as originator
62 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by CSE
63 [Tags] not-implemented exclude
66 2.99 Configure security level L0 in IoTDM core
67 [Documentation] Changes security level of IoTDM core back to L0 and verifies.
68 [Tags] not-implemented exclude
71 3.00 L1: Configure security level L1 in OneM2M HTTP module
72 [Documentation] Changes security level of OneM2M HTTP module from L0 to L1 and verifies. Security level
73 ... of IoTDM core is still set to L0 (so L1 security is applied to HTTP requests).
74 [Tags] not-implemented exclude
77 3.01 L1: HTTP: Local CSE as target, AE as originator
78 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by AE
79 [Tags] not-implemented exclude
82 3.02 L1: HTTP: Local CSE as target, CSE as originator
83 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by CSE
84 [Tags] not-implemented exclude
87 3.03 L1: HTTP: Remote CSE as target, AE as originator
88 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by AE
89 [Tags] not-implemented exclude
92 3.04 L1: HTTP: Remote CSE as target, CSE as originator
93 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by CSE
94 [Tags] not-implemented exclude
97 3.99 L1: Configure security level L0 in OneM2M HTTP module
98 [Documentation] Changes security level of OneM2M HTTP module back to L0 and verifies.
99 [Tags] not-implemented exclude
102 4.00 L1: Configure security level L1 in OneM2M CoAP module
103 [Documentation] Changes security level of OneM2M CoAP module from L0 to L1 and verifies. Security level
104 ... of IoTDM core is still set to L0 (so L1 security is applied to CoAP requests).
105 [Tags] not-implemented exclude
108 4.01 L1: CoAP: Local CSE as target, AE as originator
109 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by AE
110 [Tags] not-implemented exclude
113 4.02 L1: CoAP: Local CSE as target, CSE as originator
114 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by CSE
115 [Tags] not-implemented exclude
118 4.03 L1: CoAP: Remote CSE as target, AE as originator
119 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by AE
120 [Tags] not-implemented exclude
123 4.04 L1: CoAP: Remote CSE as target, CSE as originator
124 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by CSE
125 [Tags] not-implemented exclude
128 4.99 L1: Configure security level L0 in OneM2M CoAP module
129 [Documentation] Changes security level of OneM2M CoAP module back to L0 and verifies.
130 [Tags] not-implemented exclude
133 5.00 L1: Configure security level L1 in OneM2M MQTT module
134 [Documentation] Changes security level of OneM2M MQTT module from L0 to L1 and verifies. Security level
135 ... of IoTDM core is still set to L0 (so L1 security is applied to MQTT requests).
136 [Tags] not-implemented exclude
139 5.01 L1: MQTT: Local CSE as target, AE as originator
140 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by AE
141 [Tags] not-implemented exclude
144 5.02 L1: MQTT: Local CSE as target, CSE as originator
145 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by CSE
146 [Tags] not-implemented exclude
149 5.03 L1: MQTT: Remote CSE as target, AE as originator
150 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by AE
151 [Tags] not-implemented exclude
154 5.04 L1: MQTT: Remote CSE as target, CSE as originator
155 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by CSE
156 [Tags] not-implemented exclude
159 5.99 L1: Configure security level L0 in OneM2M MQTT module
160 [Documentation] Changes security level of OneM2M MQTT module back to L0 and verifies.
161 [Tags] not-implemented exclude
164 6.00 L1: Configure security level L1 in OneM2M WS module
165 [Documentation] Changes security level of OneM2M WS module from L0 to L1 and verifies. Security level
166 ... of IoTDM core is still set to L0 (so L1 security is applied to WS requests).
167 [Tags] not-implemented exclude
170 6.01 L1: WS: Local CSE as target, AE as originator
171 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by AE
172 [Tags] not-implemented exclude
175 6.02 L1: WS: Local CSE as target, CSE as originator
176 [Documentation] Tests positive and negative cases of requests targetted to local CSE and originated by CSE
177 [Tags] not-implemented exclude
180 6.03 L1: WS: Remote CSE as target, AE as originator
181 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by AE
182 [Tags] not-implemented exclude
185 6.04 L1: WS: Remote CSE as target, CSE as originator
186 [Documentation] Tests positive and negative cases of requests targetted to remote CSE and originated by CSE
187 [Tags] not-implemented exclude
190 6.99 L1: Configure security level L0 in OneM2M WS module
191 [Documentation] Changes security level of OneM2M WS module back to L0 and verifies.
192 [Tags] not-implemented exclude
197 Fail "Not implemented"