diff --git a/example-certify-config.yaml b/example-certify-config.yaml deleted file mode 100644 index 8bd2bd1..0000000 --- a/example-certify-config.yaml +++ /dev/null @@ -1,46 +0,0 @@ -# -# -# Copyright © 2022-2023 Dell Inc. or its subsidiaries. All Rights Reserved. -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# http://www.apache.org/licenses/LICENSE-2.0 -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# -# - -# Use this file as an example configuration file -# This example specifies two storage classes and their capabilities -# 'cert-csi' will parse this file and figure out what suites it should run for each storage class -storageClasses: - - name: powerstore - minSize: 1Gi - rawBlock: true - expansion: true - clone: true - snapshot: true - volumeHealth: false # Set this to enable the execution of the VolumeHealthMetricsSuite. - # Make sure to enable healthMonitor for the driver's controller and node pods before running this suite. It is recommended to use a smaller interval time for this sidecar and pass the required arguments. - VGS: false # Set this to enable the execution of the VolumeGroupSnapSuite. - # Additionally, make sure to provide the necessary required arguments such as volumeSnapshotClass, vgs-volume-label, and any others as needed. - RWOP: false # Set this to enable the execution of the MultiAttachSuite with the AccessMode set to ReadWriteOncePod. - ephemeral: - driver: csi-powerstore.dellemc.com - volumeAttributes: - size: "1Gi" - protocol: "ISCSi" - - name: powerstore-nfs - minSize: 3Gi - RWX: true - expansion: true - clone: true - snapshot: true - #Uncomment below if capacity tracking is enabled - #capacityTracking: - #driverNamespace: csi-powerstore - #pollInterval: 5m diff --git a/samples/README.md b/samples/README.md new file mode 100644 index 0000000..7b118e5 --- /dev/null +++ b/samples/README.md @@ -0,0 +1,5 @@ +# Running All Test Suites + +This directory contains the driver-specific certify config YAMLs that cert-csi can use to execute tests against multiple storage classes to check if the driver adheres to advertised capabilities. + +For more information on the capabilities defined in the config YAMLs, please refer to the [cert-csi documentation](https://dell.github.io/csm-docs/docs/support/cert-csi/#run-all-test-suites). \ No newline at end of file diff --git a/samples/powerflex-certify-config.yaml b/samples/powerflex-certify-config.yaml new file mode 100644 index 0000000..9bf7be6 --- /dev/null +++ b/samples/powerflex-certify-config.yaml @@ -0,0 +1,53 @@ +# +# +# Copyright © 2024 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# + +storageClasses: + - name: vxflexos + minSize: 8Gi + rawBlock: true + expansion: true + clone: true + snapshot: true + RWX: false + volumeHealth: true + VGS: true + ephemeral: + driver: csi-vxflexos.dellemc.com + fstype: ext4 + volumeAttributes: + volumeName: "my-ephemeral-vol" + size: "8Gi" + storagepool: "sample" + systemID: "sample" + - name: vxflexos-nfs + minSize: 8Gi + rawBlock: false + expansion: true + clone: true + snapshot: true + RWX: true + RWOP: false + ephemeral: + driver: csi-vxflexos.dellemc.com + fstype: "nfs" + volumeAttributes: + volumeName: "my-ephemeral-vol" + size: "8Gi" + storagepool: "sample" + systemID: "sample" + capacityTracking: + driverNamespace: vxflexos + pollInterval: 2m \ No newline at end of file diff --git a/samples/powermax-certify-config.yaml b/samples/powermax-certify-config.yaml new file mode 100644 index 0000000..8447298 --- /dev/null +++ b/samples/powermax-certify-config.yaml @@ -0,0 +1,38 @@ +# +# +# Copyright © 2024 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# + +storageClasses: + - name: powermax-iscsi + minSize: 5Gi + rawBlock: true + expansion: true + clone: true + snapshot: true + volumeHealth: true + capacityTracking: + driverNamespace: powermax + pollInterval: 2m + - name: powermax-nfs + minSize: 5Gi + rawBlock: false + expansion: true + clone: false + snapshot: false + RWX: true + RWOP: false + capacityTracking: + driverNamespace: powermax + pollInterval: 2m \ No newline at end of file diff --git a/samples/powerscale-certify-config.yaml b/samples/powerscale-certify-config.yaml new file mode 100644 index 0000000..3ea6d52 --- /dev/null +++ b/samples/powerscale-certify-config.yaml @@ -0,0 +1,38 @@ +# +# +# Copyright © 2024 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# + +storageClasses: + - name: isilon + minSize: 8Gi + rawBlock: false + expansion: true + clone: true + snapshot: true + RWX: true + volumeHealth: true + ephemeral: + driver: csi-isilon.dellemc.com + fstype: nfs + volumeAttributes: + size: "10Gi" + ClusterName: "sample" + AccessZone: "sample" + IsiPath: "/ifs/data/sample" + IsiVolumePathPermissions: "0777" + AzServiceIP: "192.168.2.1" + capacityTracking: + driverNamespace: isilon + pollInterval: 2m \ No newline at end of file diff --git a/samples/powerstore-certify-config.yaml b/samples/powerstore-certify-config.yaml new file mode 100644 index 0000000..f71fbb1 --- /dev/null +++ b/samples/powerstore-certify-config.yaml @@ -0,0 +1,52 @@ +# +# +# Copyright © 2024 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# + +storageClasses: + - name: powerstore + minSize: 5Gi + rawBlock: true + expansion: true + clone: true + snapshot: true + RWX: false + volumeHealth: true + VGS: true + ephemeral: + driver: csi-powerstore.dellemc.com + fstype: ext4 + volumeAttributes: + arrayID: "arrayid" + protocol: iSCSI + size: 5Gi + - name: powerstore-nfs + minSize: 5Gi + rawBlock: false + expansion: true + clone: true + snapshot: true + RWX: true + RWOP: false + ephemeral: + driver: csi-powerstore.dellemc.com + fstype: "nfs" + volumeAttributes: + arrayID: "arrayid" + protocol: NFS + size: 5Gi + nasName: "nas-server" + capacityTracking: + driverNamespace: powerstore + pollInterval: 2m \ No newline at end of file diff --git a/samples/unity-certify-config.yaml b/samples/unity-certify-config.yaml new file mode 100644 index 0000000..b5a3dec --- /dev/null +++ b/samples/unity-certify-config.yaml @@ -0,0 +1,54 @@ +# +# +# Copyright © 2024 Dell Inc. or its subsidiaries. All Rights Reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# http://www.apache.org/licenses/LICENSE-2.0 +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +# + +storageClasses: + - name: unity-iscsi + minSize: 3Gi + rawBlock: true + expansion: true + clone: true + snapshot: true + RWX: false + volumeHealth: true + ephemeral: + driver: csi-unity.dellemc.com + fstype: ext4 + volumeAttributes: + arrayId: "array-id" + storagePool: pool-name + protocol: iSCSI + size: 5Gi + - name: unity-nfs + minSize: 3Gi + rawBlock: false + expansion: true + clone: true + snapshot: true + RWX: true + RWOP: false + ephemeral: + driver: csi-unity.dellemc.com + fstype: "nfs" + volumeAttributes: + arrayId: "array-id" + storagePool: pool-name + protocol: NFS + size: 5Gi + nasServer: "nas-server" + nasName: "nas-name" + capacityTracking: + driverNamespace: unity + pollInterval: 2m \ No newline at end of file