cactus-test-definitions 1.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cactus-test-definitions might be problematic. Click here for more details.
- cactus_test_definitions/__init__.py +39 -0
- cactus_test_definitions/__pycache__/__init__.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/actions.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/checks.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/csipaus.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/errors.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/events.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/parameters.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/schema.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/test_procedures.cpython-312-pytest-8.3.5.pyc +0 -0
- cactus_test_definitions/__pycache__/test_procedures.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/variable_expressions.cpython-312.pyc +0 -0
- cactus_test_definitions/__pycache__/version.cpython-312.pyc +0 -0
- cactus_test_definitions/client/__init__.py +26 -0
- cactus_test_definitions/client/__pycache__/__init__.cpython-312.pyc +0 -0
- cactus_test_definitions/client/__pycache__/actions.cpython-312.pyc +0 -0
- cactus_test_definitions/client/__pycache__/checks.cpython-312.pyc +0 -0
- cactus_test_definitions/client/__pycache__/events.cpython-312.pyc +0 -0
- cactus_test_definitions/client/__pycache__/test_procedures.cpython-312-pytest-8.3.5.pyc +0 -0
- cactus_test_definitions/client/actions.py +98 -0
- cactus_test_definitions/client/checks.py +117 -0
- cactus_test_definitions/client/events.py +71 -0
- cactus_test_definitions/client/procedures/ALL-01.yaml +94 -0
- cactus_test_definitions/client/procedures/ALL-02.yaml +108 -0
- cactus_test_definitions/client/procedures/ALL-03-REJ.yaml +69 -0
- cactus_test_definitions/client/procedures/ALL-03.yaml +110 -0
- cactus_test_definitions/client/procedures/ALL-04.yaml +69 -0
- cactus_test_definitions/client/procedures/ALL-05.yaml +117 -0
- cactus_test_definitions/client/procedures/ALL-06.yaml +128 -0
- cactus_test_definitions/client/procedures/ALL-07.yaml +76 -0
- cactus_test_definitions/client/procedures/ALL-08.yaml +78 -0
- cactus_test_definitions/client/procedures/ALL-09.yaml +103 -0
- cactus_test_definitions/client/procedures/ALL-10.yaml +128 -0
- cactus_test_definitions/client/procedures/ALL-11.yaml +111 -0
- cactus_test_definitions/client/procedures/ALL-12.yaml +108 -0
- cactus_test_definitions/client/procedures/ALL-13.yaml +112 -0
- cactus_test_definitions/client/procedures/ALL-14.yaml +165 -0
- cactus_test_definitions/client/procedures/ALL-15.yaml +109 -0
- cactus_test_definitions/client/procedures/ALL-16.yaml +102 -0
- cactus_test_definitions/client/procedures/ALL-17.yaml +63 -0
- cactus_test_definitions/client/procedures/ALL-18.yaml +288 -0
- cactus_test_definitions/client/procedures/ALL-19.yaml +78 -0
- cactus_test_definitions/client/procedures/ALL-20.yaml +136 -0
- cactus_test_definitions/client/procedures/ALL-21.yaml +203 -0
- cactus_test_definitions/client/procedures/ALL-22.yaml +82 -0
- cactus_test_definitions/client/procedures/ALL-23.yaml +158 -0
- cactus_test_definitions/client/procedures/ALL-24.yaml +132 -0
- cactus_test_definitions/client/procedures/ALL-25.yaml +136 -0
- cactus_test_definitions/client/procedures/ALL-26.yaml +147 -0
- cactus_test_definitions/client/procedures/ALL-27.yaml +144 -0
- cactus_test_definitions/client/procedures/ALL-28.yaml +274 -0
- cactus_test_definitions/client/procedures/ALL-29.yaml +87 -0
- cactus_test_definitions/client/procedures/ALL-30.yaml +188 -0
- cactus_test_definitions/client/procedures/BES-01.yaml +136 -0
- cactus_test_definitions/client/procedures/BES-02.yaml +137 -0
- cactus_test_definitions/client/procedures/BES-03.yaml +135 -0
- cactus_test_definitions/client/procedures/BES-04.yaml +228 -0
- cactus_test_definitions/client/procedures/DRA-01.yaml +54 -0
- cactus_test_definitions/client/procedures/DRA-02.yaml +64 -0
- cactus_test_definitions/client/procedures/DRD-01.yaml +667 -0
- cactus_test_definitions/client/procedures/DRL-01.yaml +327 -0
- cactus_test_definitions/client/procedures/GEN-01.yaml +73 -0
- cactus_test_definitions/client/procedures/GEN-02.yaml +72 -0
- cactus_test_definitions/client/procedures/GEN-03.yaml +160 -0
- cactus_test_definitions/client/procedures/GEN-04.yaml +161 -0
- cactus_test_definitions/client/procedures/GEN-05.yaml +89 -0
- cactus_test_definitions/client/procedures/GEN-06.yaml +90 -0
- cactus_test_definitions/client/procedures/GEN-07.yaml +145 -0
- cactus_test_definitions/client/procedures/GEN-08.yaml +145 -0
- cactus_test_definitions/client/procedures/GEN-09.yaml +117 -0
- cactus_test_definitions/client/procedures/GEN-10.yaml +737 -0
- cactus_test_definitions/client/procedures/GEN-11.yaml +376 -0
- cactus_test_definitions/client/procedures/GEN-12.yaml +376 -0
- cactus_test_definitions/client/procedures/GEN-13.yaml +70 -0
- cactus_test_definitions/client/procedures/LOA-01.yaml +73 -0
- cactus_test_definitions/client/procedures/LOA-02.yaml +73 -0
- cactus_test_definitions/client/procedures/LOA-03.yaml +160 -0
- cactus_test_definitions/client/procedures/LOA-04.yaml +161 -0
- cactus_test_definitions/client/procedures/LOA-05.yaml +85 -0
- cactus_test_definitions/client/procedures/LOA-06.yaml +85 -0
- cactus_test_definitions/client/procedures/LOA-07.yaml +145 -0
- cactus_test_definitions/client/procedures/LOA-08.yaml +145 -0
- cactus_test_definitions/client/procedures/LOA-09.yaml +117 -0
- cactus_test_definitions/client/procedures/LOA-10.yaml +739 -0
- cactus_test_definitions/client/procedures/LOA-11.yaml +376 -0
- cactus_test_definitions/client/procedures/LOA-12.yaml +376 -0
- cactus_test_definitions/client/procedures/LOA-13.yaml +71 -0
- cactus_test_definitions/client/procedures/MUL-01.yaml +92 -0
- cactus_test_definitions/client/procedures/MUL-02.yaml +80 -0
- cactus_test_definitions/client/procedures/MUL-03.yaml +78 -0
- cactus_test_definitions/client/procedures/OPT-1-IN-BAND.yaml +115 -0
- cactus_test_definitions/client/procedures/OPT-1-OUT-OF-BAND.yaml +101 -0
- cactus_test_definitions/client/procedures/test-procedures.yaml +75 -0
- cactus_test_definitions/client/test_procedures.py +296 -0
- cactus_test_definitions/csipaus.py +81 -0
- cactus_test_definitions/errors.py +15 -0
- cactus_test_definitions/parameters.py +149 -0
- cactus_test_definitions/py.typed +0 -0
- cactus_test_definitions/schema.py +22 -0
- cactus_test_definitions/server/README.md +170 -0
- cactus_test_definitions/server/__pycache__/actions.cpython-312.pyc +0 -0
- cactus_test_definitions/server/__pycache__/checks.cpython-312.pyc +0 -0
- cactus_test_definitions/server/__pycache__/test_procedures.cpython-312-pytest-8.3.5.pyc +0 -0
- cactus_test_definitions/server/actions.py +139 -0
- cactus_test_definitions/server/checks.py +117 -0
- cactus_test_definitions/server/procedures/S-ALL-01.yaml +42 -0
- cactus_test_definitions/server/procedures/S-ALL-02.yaml +65 -0
- cactus_test_definitions/server/procedures/S-ALL-03.yaml +65 -0
- cactus_test_definitions/server/procedures/S-ALL-04.yaml +137 -0
- cactus_test_definitions/server/procedures/S-ALL-05.yaml +111 -0
- cactus_test_definitions/server/procedures/S-OPT-01.yaml +42 -0
- cactus_test_definitions/server/procedures/S-OPT-02.yaml +40 -0
- cactus_test_definitions/server/procedures/S-OPT-03.yaml +44 -0
- cactus_test_definitions/server/procedures/S-OPT-04.yaml +32 -0
- cactus_test_definitions/server/procedures/test-procedures.yaml +14 -0
- cactus_test_definitions/server/test_procedures.py +183 -0
- cactus_test_definitions/variable_expressions.py +419 -0
- cactus_test_definitions-1.0.0.dist-info/METADATA +288 -0
- cactus_test_definitions-1.0.0.dist-info/RECORD +135 -0
- cactus_test_definitions-1.0.0.dist-info/WHEEL +5 -0
- cactus_test_definitions-1.0.0.dist-info/licenses/LICENSE.txt +22 -0
- cactus_test_definitions-1.0.0.dist-info/top_level.txt +2 -0
- tests/__init__.py +0 -0
- tests/unit/__init__.py +0 -0
- tests/unit/client/__init__.py +0 -0
- tests/unit/client/test_actions.py +72 -0
- tests/unit/client/test_checks.py +47 -0
- tests/unit/client/test_config.py +61 -0
- tests/unit/client/test_events.py +36 -0
- tests/unit/client/test_test_procedures.py +150 -0
- tests/unit/server/__init__.py +0 -0
- tests/unit/server/test_test_procedures.py +86 -0
- tests/unit/test_csipaus.py +49 -0
- tests/unit/test_parameters.py +197 -0
- tests/unit/test_variable_expressions.py +402 -0
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Description: Discovery with In-Band Registration for Direct Clients
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: client
|
|
12
|
+
client_type: device
|
|
13
|
+
|
|
14
|
+
Steps:
|
|
15
|
+
- id: PRECONDITION
|
|
16
|
+
repeat_until_pass: true
|
|
17
|
+
instructions:
|
|
18
|
+
- Remove any existing EndDevice registrations for client.
|
|
19
|
+
action:
|
|
20
|
+
type: discovery
|
|
21
|
+
parameters:
|
|
22
|
+
resources:
|
|
23
|
+
- DeviceCapability
|
|
24
|
+
- Time
|
|
25
|
+
- MirrorUsagePointList
|
|
26
|
+
- EndDevice
|
|
27
|
+
- DER
|
|
28
|
+
checks:
|
|
29
|
+
- type: discovered
|
|
30
|
+
parameters:
|
|
31
|
+
resources:
|
|
32
|
+
- DeviceCapability
|
|
33
|
+
- Time
|
|
34
|
+
- MirrorUsagePointList
|
|
35
|
+
- EndDeviceList
|
|
36
|
+
- type: end-device # This will be the check that will block if there is an existing EndDevice registration
|
|
37
|
+
parameters:
|
|
38
|
+
matches_client: false
|
|
39
|
+
- type: time-synced
|
|
40
|
+
|
|
41
|
+
- id: REGISTER
|
|
42
|
+
action:
|
|
43
|
+
type: insert-end-device
|
|
44
|
+
checks:
|
|
45
|
+
- type: end-device
|
|
46
|
+
parameters:
|
|
47
|
+
matches_client: true
|
|
48
|
+
|
|
49
|
+
- id: FETCHING DER INFO
|
|
50
|
+
repeat_until_pass: true
|
|
51
|
+
instructions:
|
|
52
|
+
- Populate DERList with an entry that has a DERCapabilityLink, DERSettingsLink and DERStatusLink.
|
|
53
|
+
action:
|
|
54
|
+
type: discovery
|
|
55
|
+
parameters:
|
|
56
|
+
resources:
|
|
57
|
+
- DER
|
|
58
|
+
checks:
|
|
59
|
+
- type: discovered
|
|
60
|
+
parameters:
|
|
61
|
+
links:
|
|
62
|
+
- DERCapability
|
|
63
|
+
- DERSettings
|
|
64
|
+
- DERStatus
|
|
65
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
Description: Discovery with In-Band Registration for Aggregator Clients
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: client
|
|
12
|
+
client_type: aggregator
|
|
13
|
+
|
|
14
|
+
Steps:
|
|
15
|
+
- id: PRECONDITION
|
|
16
|
+
repeat_until_pass: true
|
|
17
|
+
instructions:
|
|
18
|
+
- Remove any existing EndDevice registrations for client.
|
|
19
|
+
action:
|
|
20
|
+
type: discovery
|
|
21
|
+
parameters:
|
|
22
|
+
resources:
|
|
23
|
+
- DeviceCapability
|
|
24
|
+
- Time
|
|
25
|
+
- MirrorUsagePointList
|
|
26
|
+
- EndDevice
|
|
27
|
+
- DER
|
|
28
|
+
checks:
|
|
29
|
+
- type: discovered
|
|
30
|
+
parameters:
|
|
31
|
+
resources:
|
|
32
|
+
- DeviceCapability
|
|
33
|
+
- Time
|
|
34
|
+
- MirrorUsagePointList
|
|
35
|
+
- EndDeviceList
|
|
36
|
+
- type: end-device # This will be the check that will block if there is an existing EndDevice registration
|
|
37
|
+
parameters:
|
|
38
|
+
matches_client: false
|
|
39
|
+
- type: time-synced
|
|
40
|
+
|
|
41
|
+
- id: REGISTER
|
|
42
|
+
action:
|
|
43
|
+
type: insert-end-device
|
|
44
|
+
checks:
|
|
45
|
+
- type: end-device
|
|
46
|
+
parameters:
|
|
47
|
+
matches_client: true
|
|
48
|
+
|
|
49
|
+
- id: FETCHING DER INFO
|
|
50
|
+
repeat_until_pass: true
|
|
51
|
+
instructions:
|
|
52
|
+
- Populate DERList with an entry that has a DERCapabilityLink, DERSettingsLink and DERStatusLink.
|
|
53
|
+
action:
|
|
54
|
+
type: discovery
|
|
55
|
+
parameters:
|
|
56
|
+
resources:
|
|
57
|
+
- DER
|
|
58
|
+
checks:
|
|
59
|
+
- type: discovered
|
|
60
|
+
parameters:
|
|
61
|
+
links:
|
|
62
|
+
- DERCapability
|
|
63
|
+
- DERSettings
|
|
64
|
+
- DERStatus
|
|
65
|
+
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
Description: Support for Multiple End Clients
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: CLIENT-A
|
|
12
|
+
- id: CLIENT-B
|
|
13
|
+
|
|
14
|
+
Steps:
|
|
15
|
+
- id: CLIENT-A PRECONDITION
|
|
16
|
+
repeat_until_pass: true
|
|
17
|
+
client: CLIENT-A
|
|
18
|
+
instructions:
|
|
19
|
+
- Create at least 5 DERControls for CLIENT-A
|
|
20
|
+
action:
|
|
21
|
+
type: discovery
|
|
22
|
+
parameters:
|
|
23
|
+
resources:
|
|
24
|
+
- DERControl
|
|
25
|
+
checks:
|
|
26
|
+
- type: end-device
|
|
27
|
+
parameters:
|
|
28
|
+
matches_client: true
|
|
29
|
+
- type: der-control
|
|
30
|
+
parameters:
|
|
31
|
+
minimum_count: 5
|
|
32
|
+
|
|
33
|
+
- id: CLIENT-B PRECONDITION
|
|
34
|
+
repeat_until_pass: true
|
|
35
|
+
client: CLIENT-B
|
|
36
|
+
instructions:
|
|
37
|
+
- Create at least 5 DERControls for CLIENT-B
|
|
38
|
+
action:
|
|
39
|
+
type: discovery
|
|
40
|
+
parameters:
|
|
41
|
+
resources:
|
|
42
|
+
- DERControl
|
|
43
|
+
checks:
|
|
44
|
+
- type: end-device
|
|
45
|
+
parameters:
|
|
46
|
+
matches_client: true
|
|
47
|
+
- type: der-control
|
|
48
|
+
parameters:
|
|
49
|
+
minimum_count: 5
|
|
50
|
+
|
|
51
|
+
- id: CLIENT-A DISCOVER MUPS
|
|
52
|
+
repeat_until_pass: true
|
|
53
|
+
client: CLIENT-A
|
|
54
|
+
instructions:
|
|
55
|
+
- MirrorUsagePoints for CLIENT-A must be initially empty.
|
|
56
|
+
action:
|
|
57
|
+
type: discovery
|
|
58
|
+
parameters:
|
|
59
|
+
resources:
|
|
60
|
+
- MirrorUsagePoint
|
|
61
|
+
checks:
|
|
62
|
+
- type: mirror-usage-point
|
|
63
|
+
parameters:
|
|
64
|
+
matches: false # This will only match an empty list
|
|
65
|
+
|
|
66
|
+
- id: CLIENT-B DISCOVER MUPS
|
|
67
|
+
repeat_until_pass: true
|
|
68
|
+
client: CLIENT-B
|
|
69
|
+
instructions:
|
|
70
|
+
- MirrorUsagePoints for CLIENT-B must be initially empty.
|
|
71
|
+
action:
|
|
72
|
+
type: discovery
|
|
73
|
+
parameters:
|
|
74
|
+
resources:
|
|
75
|
+
- MirrorUsagePoint
|
|
76
|
+
checks:
|
|
77
|
+
- type: mirror-usage-point
|
|
78
|
+
parameters:
|
|
79
|
+
matches: false # This will only match an empty list
|
|
80
|
+
|
|
81
|
+
- id: CLIENT-A CREATE MUPS
|
|
82
|
+
client: CLIENT-A
|
|
83
|
+
action:
|
|
84
|
+
type: upsert-mup
|
|
85
|
+
parameters:
|
|
86
|
+
mup_id: mupa
|
|
87
|
+
location: Device
|
|
88
|
+
reading_types:
|
|
89
|
+
- ActivePowerAverage
|
|
90
|
+
- VoltageSinglePhaseAverage
|
|
91
|
+
checks:
|
|
92
|
+
- type: mirror-usage-point
|
|
93
|
+
parameters:
|
|
94
|
+
matches: true
|
|
95
|
+
location: Device
|
|
96
|
+
reading_types:
|
|
97
|
+
- ActivePowerAverage
|
|
98
|
+
- VoltageSinglePhaseAverage
|
|
99
|
+
|
|
100
|
+
- id: CLIENT-B CREATE MUPS
|
|
101
|
+
client: CLIENT-B
|
|
102
|
+
action:
|
|
103
|
+
type: upsert-mup
|
|
104
|
+
parameters:
|
|
105
|
+
mup_id: mupb
|
|
106
|
+
location: Device
|
|
107
|
+
reading_types:
|
|
108
|
+
- ActivePowerAverage
|
|
109
|
+
- VoltageSinglePhaseAverage
|
|
110
|
+
checks:
|
|
111
|
+
- type: mirror-usage-point
|
|
112
|
+
parameters:
|
|
113
|
+
matches: true
|
|
114
|
+
location: Device
|
|
115
|
+
reading_types:
|
|
116
|
+
- ActivePowerAverage
|
|
117
|
+
- VoltageSinglePhaseAverage
|
|
118
|
+
|
|
119
|
+
- id: CLIENT-A SEND READINGS
|
|
120
|
+
client: CLIENT-A
|
|
121
|
+
action:
|
|
122
|
+
type: insert-readings
|
|
123
|
+
parameters:
|
|
124
|
+
mup_id: mupa
|
|
125
|
+
values:
|
|
126
|
+
ActivePowerAverage: [1000, 1234, 0, -4567]
|
|
127
|
+
VoltageSinglePhaseAverage: [241.1, 232.2, 233.9, 244.1]
|
|
128
|
+
|
|
129
|
+
- id: CLIENT-B SEND READINGS
|
|
130
|
+
client: CLIENT-B
|
|
131
|
+
action:
|
|
132
|
+
type: insert-readings
|
|
133
|
+
parameters:
|
|
134
|
+
mup_id: mupb
|
|
135
|
+
values:
|
|
136
|
+
ActivePowerAverage: [2000, 2234, 0, -8567]
|
|
137
|
+
VoltageSinglePhaseAverage: [243.1, 233.2, 234.9, 240]
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
Description: Authorisation
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: CLIENT-A
|
|
12
|
+
client_type: device
|
|
13
|
+
- id: CLIENT-B
|
|
14
|
+
client_type: device
|
|
15
|
+
|
|
16
|
+
Steps:
|
|
17
|
+
- id: (A) PRECONDITION
|
|
18
|
+
repeat_until_pass: true
|
|
19
|
+
client: CLIENT-A
|
|
20
|
+
instructions:
|
|
21
|
+
- Create an EndDevice registration for CLIENT-A (or rerun S-ALL-02 / S-ALL-03).
|
|
22
|
+
action:
|
|
23
|
+
type: discovery
|
|
24
|
+
parameters:
|
|
25
|
+
resources:
|
|
26
|
+
- EndDevice
|
|
27
|
+
- DERControlList
|
|
28
|
+
- DER
|
|
29
|
+
checks:
|
|
30
|
+
- type: end-device
|
|
31
|
+
parameters:
|
|
32
|
+
matches_client: true
|
|
33
|
+
|
|
34
|
+
- id: (B) PRECONDITION
|
|
35
|
+
repeat_until_pass: true
|
|
36
|
+
client: CLIENT-B
|
|
37
|
+
instructions:
|
|
38
|
+
- Create an EndDevice registration for CLIENT-B (or rerun S-ALL-02 / S-ALL-03).
|
|
39
|
+
action:
|
|
40
|
+
type: discovery
|
|
41
|
+
parameters:
|
|
42
|
+
resources:
|
|
43
|
+
- EndDevice
|
|
44
|
+
- DERControlList
|
|
45
|
+
- DER
|
|
46
|
+
checks:
|
|
47
|
+
- type: end-device
|
|
48
|
+
parameters:
|
|
49
|
+
matches_client: true
|
|
50
|
+
|
|
51
|
+
- id: (A-B) AUTH EndDeviceList
|
|
52
|
+
client: CLIENT-A
|
|
53
|
+
use_client_context: CLIENT-B
|
|
54
|
+
action:
|
|
55
|
+
type: refresh-resource
|
|
56
|
+
parameters:
|
|
57
|
+
resource: EndDeviceList
|
|
58
|
+
expect_rejection: true
|
|
59
|
+
|
|
60
|
+
- id: (A-B) AUTH DerControlList
|
|
61
|
+
client: CLIENT-A
|
|
62
|
+
use_client_context: CLIENT-B
|
|
63
|
+
action:
|
|
64
|
+
type: refresh-resource
|
|
65
|
+
parameters:
|
|
66
|
+
resource: DERControlList
|
|
67
|
+
expect_rejection: true
|
|
68
|
+
|
|
69
|
+
- id: (A-B) AUTH DERStatus
|
|
70
|
+
client: CLIENT-A
|
|
71
|
+
use_client_context: CLIENT-B
|
|
72
|
+
action:
|
|
73
|
+
type: upsert-der-status
|
|
74
|
+
parameters:
|
|
75
|
+
genConnectStatus: 1
|
|
76
|
+
expect_rejection: true
|
|
77
|
+
|
|
78
|
+
- id: (A-B) AUTH MirrorUsagePoint
|
|
79
|
+
client: CLIENT-A
|
|
80
|
+
use_client_context: CLIENT-B
|
|
81
|
+
action:
|
|
82
|
+
type: upsert-mup
|
|
83
|
+
parameters:
|
|
84
|
+
expect_rejection: true
|
|
85
|
+
mup_id: mupa
|
|
86
|
+
location: Device
|
|
87
|
+
reading_types:
|
|
88
|
+
- ActivePowerAverage
|
|
89
|
+
- VoltageSinglePhaseAverage
|
|
90
|
+
|
|
91
|
+
- id: (A) OK EndDeviceList
|
|
92
|
+
client: CLIENT-A
|
|
93
|
+
action:
|
|
94
|
+
type: refresh-resource
|
|
95
|
+
parameters:
|
|
96
|
+
resource: EndDeviceList
|
|
97
|
+
checks:
|
|
98
|
+
- type: end-device
|
|
99
|
+
parameters:
|
|
100
|
+
matches_client: true
|
|
101
|
+
|
|
102
|
+
- id: (A) DISALLOW ACCESS
|
|
103
|
+
repeat_until_pass: true
|
|
104
|
+
instructions:
|
|
105
|
+
- Remove EndDevice entry for ClientA (or disallow access).
|
|
106
|
+
client: CLIENT-A
|
|
107
|
+
action:
|
|
108
|
+
type: refresh-resource
|
|
109
|
+
parameters:
|
|
110
|
+
resource: EndDeviceList
|
|
111
|
+
expect_rejection_or_empty: true
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
Description: Discovery Rejecting In-Band Registration
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: client
|
|
12
|
+
|
|
13
|
+
Steps:
|
|
14
|
+
- id: PRECONDITION
|
|
15
|
+
repeat_until_pass: true
|
|
16
|
+
instructions:
|
|
17
|
+
- Create an EndDevice registration for client (or rerun S-ALL-02 / S-ALL-03).
|
|
18
|
+
action:
|
|
19
|
+
type: discovery
|
|
20
|
+
parameters:
|
|
21
|
+
resources:
|
|
22
|
+
- DeviceCapability
|
|
23
|
+
- Time
|
|
24
|
+
- MirrorUsagePointList
|
|
25
|
+
- EndDevice
|
|
26
|
+
- DER
|
|
27
|
+
checks:
|
|
28
|
+
- type: end-device # This will be the check that will block UNTIL there is an existing EndDevice registration
|
|
29
|
+
parameters:
|
|
30
|
+
matches_client: true
|
|
31
|
+
|
|
32
|
+
- id: REGISTER AGAIN
|
|
33
|
+
action:
|
|
34
|
+
type: insert-end-device
|
|
35
|
+
parameters:
|
|
36
|
+
expect_rejection: true
|
|
37
|
+
checks:
|
|
38
|
+
- type: end-device
|
|
39
|
+
parameters:
|
|
40
|
+
matches_client: true
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Description: Incorrect Connection Point Registration
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: client
|
|
12
|
+
|
|
13
|
+
Steps:
|
|
14
|
+
- id: PRECONDITION
|
|
15
|
+
repeat_until_pass: true
|
|
16
|
+
instructions:
|
|
17
|
+
- Create an EndDevice registration for client (or rerun S-ALL-02 / S-ALL-03).
|
|
18
|
+
action:
|
|
19
|
+
type: discovery
|
|
20
|
+
parameters:
|
|
21
|
+
resources:
|
|
22
|
+
- DeviceCapability
|
|
23
|
+
- Time
|
|
24
|
+
- MirrorUsagePointList
|
|
25
|
+
- EndDevice
|
|
26
|
+
- DER
|
|
27
|
+
checks:
|
|
28
|
+
- type: end-device # This will be the check that will block UNTIL there is an existing EndDevice registration
|
|
29
|
+
parameters:
|
|
30
|
+
matches_client: true
|
|
31
|
+
|
|
32
|
+
- id: SEND BAD CONNECTION POINT ID
|
|
33
|
+
action:
|
|
34
|
+
type: upsert-connection-point
|
|
35
|
+
parameters:
|
|
36
|
+
connectionPointId: NOTAVALIDID
|
|
37
|
+
expect_rejection: true
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
Description: Connection Point Registration
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: client
|
|
12
|
+
|
|
13
|
+
Steps:
|
|
14
|
+
- id: PRECONDITION
|
|
15
|
+
repeat_until_pass: true
|
|
16
|
+
instructions:
|
|
17
|
+
- Create an EndDevice registration for client (or rerun S-ALL-02 / S-ALL-03).
|
|
18
|
+
action:
|
|
19
|
+
type: discovery
|
|
20
|
+
parameters:
|
|
21
|
+
resources:
|
|
22
|
+
- DeviceCapability
|
|
23
|
+
- Time
|
|
24
|
+
- MirrorUsagePointList
|
|
25
|
+
- EndDevice
|
|
26
|
+
- DER
|
|
27
|
+
checks:
|
|
28
|
+
- type: end-device # This will be the check that will block UNTIL there is an existing EndDevice registration
|
|
29
|
+
parameters:
|
|
30
|
+
matches_client: true
|
|
31
|
+
|
|
32
|
+
- id: SEND CONNECTION POINT ID
|
|
33
|
+
action:
|
|
34
|
+
type: upsert-connection-point
|
|
35
|
+
parameters:
|
|
36
|
+
connectionPointId: "1234567890" # A valid NMI (in the testing range)
|
|
37
|
+
checks:
|
|
38
|
+
- type: discovered
|
|
39
|
+
parameters:
|
|
40
|
+
links:
|
|
41
|
+
- ConnectionPoint
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
Description: Client Registration and PIN Validation
|
|
2
|
+
Category: Registration
|
|
3
|
+
Classes:
|
|
4
|
+
- A
|
|
5
|
+
|
|
6
|
+
TargetVersions:
|
|
7
|
+
- v1.2
|
|
8
|
+
|
|
9
|
+
Preconditions:
|
|
10
|
+
required_clients:
|
|
11
|
+
- id: client
|
|
12
|
+
|
|
13
|
+
Steps:
|
|
14
|
+
- id: MATCH PIN
|
|
15
|
+
repeat_until_pass: true
|
|
16
|
+
instructions:
|
|
17
|
+
- Create an EndDevice (with RegistrationLink) registration for client (or rerun S-ALL-02 / S-ALL-03).
|
|
18
|
+
action:
|
|
19
|
+
type: discovery
|
|
20
|
+
parameters:
|
|
21
|
+
resources:
|
|
22
|
+
- Registration
|
|
23
|
+
checks:
|
|
24
|
+
- type: end-device # This will be the check that will block UNTIL there is an existing EndDevice registration
|
|
25
|
+
parameters:
|
|
26
|
+
matches_client: true
|
|
27
|
+
matches_pin: true
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
Description: CSIP-AUS Server Test Procedures
|
|
3
|
+
Version: 0.1
|
|
4
|
+
TestProcedures:
|
|
5
|
+
S-ALL-01: !include S-ALL-01.yaml
|
|
6
|
+
S-ALL-02: !include S-ALL-02.yaml
|
|
7
|
+
S-ALL-03: !include S-ALL-03.yaml
|
|
8
|
+
S-ALL-04: !include S-ALL-04.yaml
|
|
9
|
+
S-ALL-05: !include S-ALL-05.yaml
|
|
10
|
+
S-OPT-01: !include S-OPT-01.yaml
|
|
11
|
+
S-OPT-02: !include S-OPT-02.yaml
|
|
12
|
+
S-OPT-03: !include S-OPT-03.yaml
|
|
13
|
+
S-OPT-04: !include S-OPT-04.yaml
|
|
14
|
+
|