Skip to content

Commit c654307

Browse files
committed
Add test definitions for SCS-0123-v2
Signed-off-by: Friedrich Zahn <friedrich.zahn@alasca.cloud>
1 parent 79c9097 commit c654307

3 files changed

Lines changed: 24 additions & 1 deletion

File tree

Standards/scs-0123-w1-mandatory-and-supported-IaaS-services-implementation.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ type: Supplement
44
track: IaaS
55
supplements:
66
- scs-0123-v1-mandatory-and-supported-IaaS-services.md
7+
- scs-0123-v2-services.md
78
---
89

910
## Automated tests
@@ -13,3 +14,8 @@ the following testcases in accordance with the standard:
1314

1415
- `scs-0123-service-<type>` ensures that a service with the given type can be found in the service catalog
1516
- `scs-0123-storage-apis` ensures that a service of one of the following types can be found: "volume", "volumev3", "block-storage"
17+
18+
### Deprecated tests
19+
#### v1 only
20+
- `scs-0123-swift-s3` ensures that S3 can be used to access object storage using EC2 credentials from the identity API
21+

Tests/iaas/openstack_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,9 @@ def make_container(cloud):
150150
c.add_function('scs_0123_service_load_balancer', lambda c: compute_scs_0123_service_presence(c.services_lookup, 'load-balancer'))
151151
c.add_function('scs_0123_service_placement', lambda c: compute_scs_0123_service_presence(c.services_lookup, 'placement'))
152152
c.add_function('scs_0123_storage_apis', lambda c: compute_scs_0123_service_presence(c.services_lookup, 'volume', 'volumev3', 'block-storage'))
153+
c.add_function('scs_0123_service_s3', lambda c: compute_scs_0123_service_presence(c.services_lookup, 's3'))
153154
c.add_function('scs_0123_swift_s3', lambda c: compute_scs_0123_swift_s3(c.services_lookup, c.conn))
155+
154156
return c
155157

156158

Tests/scs-compatible-iaas.yaml

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,9 @@ scripts:
269269
- id: scs-0123-storage-apis
270270
description: The block-storage API is discoverable as `volume`, `volumev3`, or `block-storage`.
271271
url: https://docs.scs.community/standards/scs-0123-w1-mandatory-and-supported-IaaS-services-implementation#automated-tests
272+
- id: scs-0123-service-s3
273+
description: s3 service is discoverable.
274+
url: https://docs.scs.community/standards/scs-0123-w1-mandatory-and-supported-IaaS-services-implementation#automated-tests
272275
- id: scs-0123-swift-s3
273276
description: The object-storage API is compatible with S3.
274277
url: https://docs.scs.community/standards/scs-0123-w1-mandatory-and-supported-IaaS-services-implementation#automated-tests
@@ -479,6 +482,18 @@ modules:
479482
- scs-0123-service-placement
480483
- scs-0123-storage-apis
481484
- scs-0123-swift-s3
485+
- id: scs-0123-v2
486+
name: Mandatory and Supported IaaS Services
487+
url: https://docs.scs.community/standards/scs-0123-v2-services
488+
targets:
489+
main:
490+
- scs-0123-service-compute
491+
- scs-0123-service-identity
492+
- scs-0123-service-image
493+
- scs-0123-service-network
494+
- scs-0123-service-load-balancer
495+
- scs-0123-storage-apis
496+
- scs-0123-service-s3
482497
- id: scs-0302-v1
483498
name: Domain Manager Role
484499
url: https://docs.scs.community/standards/scs-0302-v1-domain-manager-role
@@ -523,7 +538,7 @@ versions:
523538
- scs-0116-v1
524539
- scs-0117-v1
525540
- scs-0121-v1
526-
- scs-0123-v1
541+
- scs-0123-v2
527542
- scs-0302-v1
528543
- version: v5.1 # copy of v5, but with include "scs-0123-v1", which had simply been forgotten
529544
stabilized_at: 2024-12-19

0 commit comments

Comments
 (0)