Use 125s timout for shard leader deatails
[integration/test.git] / csit / suites / iotdm / basic / 105_ProceduresRegistration.robot
1 *** Settings ***
2 Documentation     Tests registration of AE and CSE entities resulting in creation of
3 ...               AE and remoteCSE resources.
4 Suite Setup       Create Session    session    http://${ODL_SYSTEM_1_IP}:${RESTCONFPORT}    auth=${AUTH}    headers=${HEADERS_XML}
5 Suite Teardown    Delete All Sessions
6 Library           RequestsLibrary
7 Library           ../../../libraries/Common.py
8 Resource          ../../../libraries/Utils.robot
9 Resource          ../../../variables/Variables.robot
10
11 *** Variables ***
12
13 *** Test Cases ***
14 1.00 Add Test Cases
15     [Documentation]    no all test cases defined
16     [Tags]    not-implemented    exclude
17     TODO
18
19 1.01 Create AE with resourceName
20     [Documentation]    Register AE using request primitive with resourceName specified. The resourceName
21     ...    parameter is used as AE-ID.
22     ...    Verify successful registration using retrieve operation with the new resource.
23     [Tags]    not-implemented    exclude
24     TODO
25
26 1.02 Create AE without resourceName
27     [Documentation]    Register AE using request primitive without resourceName specified. From parameter
28     ...    is used as AE-ID.
29     ...    Verify successful registration using retrieve operation with the new resource.
30     [Tags]    not-implemented    exclude
31     TODO
32
33 1.03 Create AE with conflicting AE-ID and with resourceName
34     [Documentation]    Register AE using request primitive with resourceName specified. The resourceName
35     ...    parameter is used as AE-ID but it is AE-ID of already registered AE so the registration
36     ...    fails.
37     ...    Verify the resource in conflict using retrieve operation before and after registration attempt.
38     [Tags]    not-implemented    exclude
39     TODO
40
41 1.04 Create AE with conflicting AE-ID and without resourceName
42     [Documentation]    Register AE using request primitive without resourceName specified. From parameter
43     ...    is used as AE-ID but it is AE-ID of already registered AE so the registration
44     ...    fails.
45     ...    Verify the resource in conflict using retrieve operation before and after registration attempt.
46     [Tags]    not-implemented    exclude
47     TODO
48
49 2.01 Create remoteCSE with resourceName == CSE-ID
50     [Documentation]    Register CSE using request primitive with resourceName specified. The resourceName
51     ...    parameter is equal to CSE-ID.
52     ...    Verify successful registration using retrieve operation with the new resource.
53     [Tags]    not-implemented    exclude
54     TODO
55
56 2.02 Create remoteCSE with resourceName != CSE-ID
57     [Documentation]    Register CSE using request primitive with resourceName specified. The resourceName
58     ...    parameter is different than CSE-ID.
59     ...    Verify successful registration using retrieve operation with the new resource.
60     [Tags]    not-implemented    exclude
61     TODO
62
63 2.03 Create remoteCSE without resourceName
64     [Documentation]    Register CSE using request primitive without resourceName specified.
65     ...    Verify successful registration using retrieve operation with the new resource.
66     [Tags]    not-implemented    exclude
67     TODO
68
69 2.04 Create remoteCSE with conflicting CSE-ID and non-conflicting resourceName
70     [Documentation]    Register CSE using request primitive with resourceName specified. The resourceName
71     ...    parameter is unique but CSE-ID is in conflict with already registered CSE so the registration
72     ...    fails.
73     ...    Verify the resource in conflict using retrieve operation before and after registration attempt.
74     [Tags]    not-implemented    exclude
75     TODO
76
77 2.05 Create remoteCSE with conflicting CSE-ID and without resourceName
78     [Documentation]    Register CSE using request primitive without resourceName specified. The CSE-ID is in conflict
79     ...    with already registered CSE so the registration fails.
80     ...    Verify the resource in conflict using retrieve operation before and after registration attempt.
81     [Tags]    not-implemented    exclude
82     TODO
83
84 2.06 Create remoteCSE with uniqeu CSE-ID and conflicting resourceName
85     [Documentation]    Register CSE using request primitive with resourceName specified. The resourceName
86     ...    parameter is conflict with already registered CSE so the registration fails.
87     ...    Verify the resource in conflict using retrieve operation before and after registration attempt.
88     [Tags]    not-implemented    exclude
89     TODO
90
91 *** Keywords ***
92 TODO
93     Fail    "Not implemented"