Skip to content

Commit 743ef37

Browse files
jpeimerjosemacassan
authored andcommitted
Add OCS to AWS global config (RedHatQE#3309)
##### Short description: ##### More details: ##### What this PR does / why we need it: ##### Which issue(s) this PR fixes: ##### Special notes for reviewer: ##### jira-ticket: <!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged If the task is not tracked by a Jira ticket, just write "NONE". --> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Chores** * Updated storage configuration tests to support CEPH RBD virtualization with block volume mode and read-write-many access capabilities. * Adjusted default storage class configurations for improved test coverage. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai -->
1 parent 70efb35 commit 743ef37

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

tests/global_config_aws.py

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,16 @@
1111
Images.Windows.DEFAULT_DV_SIZE = "75Gi"
1212

1313
storage_class_matrix = [
14+
{
15+
StorageClassNames.CEPH_RBD_VIRTUALIZATION: {
16+
"volume_mode": DataVolume.VolumeMode.BLOCK,
17+
"access_mode": DataVolume.AccessMode.RWX,
18+
"snapshot": True,
19+
"online_resize": True,
20+
"wffc": False,
21+
"default": True,
22+
}
23+
},
1424
{
1525
StorageClassNames.PORTWORX_CSI_DB_SHARED: {
1626
"volume_mode": DataVolume.VolumeMode.FILE,
@@ -27,7 +37,6 @@
2737
"snapshot": True,
2838
"online_resize": True,
2939
"wffc": False,
30-
"default": True,
3140
}
3241
},
3342
{
@@ -41,8 +50,8 @@
4150
},
4251
]
4352

44-
storage_class_a = StorageClassNames.IO2_CSI
45-
storage_class_b = StorageClassNames.IO2_CSI
53+
storage_class_a = StorageClassNames.CEPH_RBD_VIRTUALIZATION
54+
storage_class_b = StorageClassNames.CEPH_RBD_VIRTUALIZATION
4655

4756
for _dir in dir():
4857
if not config: # noqa: F821

0 commit comments

Comments
 (0)