Adapt robot files to RFC 8040 (controller)
[integration/test.git] / basic / 210_IoTDMSecurityNoAuth.robot
1 *** Settings ***
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
12
13 *** Variables ***
14
15 *** Test Cases ***
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
19     TODO
20
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
24     TODO
25
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
29     TODO
30
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
34     TODO
35
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
39     TODO
40
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
44     TODO
45
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
49     TODO
50
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
54     TODO
55
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
59     TODO
60
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
64     TODO
65
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
69     TODO
70
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
75     TODO
76
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
80     TODO
81
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
85     TODO
86
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
90     TODO
91
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
95     TODO
96
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
100     TODO
101
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
106     TODO
107
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
111     TODO
112
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
116     TODO
117
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
121     TODO
122
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
126     TODO
127
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
131     TODO
132
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
137     TODO
138
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
142     TODO
143
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
147     TODO
148
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
152     TODO
153
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
157     TODO
158
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
162     TODO
163
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
168     TODO
169
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
173     TODO
174
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
178     TODO
179
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
183     TODO
184
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
188     TODO
189
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
193     TODO
194
195 *** Keywords ***
196 TODO
197     Fail    "Not implemented"