@@ -105,10 +105,11 @@ func InitNFSDriver() storageframework.TestDriver {
105
105
SupportedMountOption : sets .NewString ("relatime" ),
106
106
RequiredMountOption : sets .NewString ("vers=4.1" ),
107
107
Capabilities : map [storageframework.Capability ]bool {
108
- storageframework .CapPersistence : true ,
109
- storageframework .CapExec : true ,
110
- storageframework .CapRWX : true ,
111
- storageframework .CapMultiPODs : true ,
108
+ storageframework .CapPersistence : true ,
109
+ storageframework .CapExec : true ,
110
+ storageframework .CapRWX : true ,
111
+ storageframework .CapMultiPODs : true ,
112
+ storageframework .CapMultiplePVsSameID : true ,
112
113
},
113
114
},
114
115
}
@@ -249,12 +250,13 @@ func InitISCSIDriver() storageframework.TestDriver {
249
250
),
250
251
TopologyKeys : []string {v1 .LabelHostname },
251
252
Capabilities : map [storageframework.Capability ]bool {
252
- storageframework .CapPersistence : true ,
253
- storageframework .CapFsGroup : true ,
254
- storageframework .CapBlock : true ,
255
- storageframework .CapExec : true ,
256
- storageframework .CapMultiPODs : true ,
257
- storageframework .CapTopology : true ,
253
+ storageframework .CapPersistence : true ,
254
+ storageframework .CapFsGroup : true ,
255
+ storageframework .CapBlock : true ,
256
+ storageframework .CapExec : true ,
257
+ storageframework .CapMultiPODs : true ,
258
+ storageframework .CapTopology : true ,
259
+ storageframework .CapMultiplePVsSameID : true ,
258
260
},
259
261
},
260
262
}
@@ -431,11 +433,12 @@ func InitRbdDriver() storageframework.TestDriver {
431
433
"ext4" ,
432
434
),
433
435
Capabilities : map [storageframework.Capability ]bool {
434
- storageframework .CapPersistence : true ,
435
- storageframework .CapFsGroup : true ,
436
- storageframework .CapBlock : true ,
437
- storageframework .CapExec : true ,
438
- storageframework .CapMultiPODs : true ,
436
+ storageframework .CapPersistence : true ,
437
+ storageframework .CapFsGroup : true ,
438
+ storageframework .CapBlock : true ,
439
+ storageframework .CapExec : true ,
440
+ storageframework .CapMultiPODs : true ,
441
+ storageframework .CapMultiplePVsSameID : true ,
439
442
},
440
443
},
441
444
}
@@ -559,10 +562,11 @@ func InitCephFSDriver() storageframework.TestDriver {
559
562
"" , // Default fsType
560
563
),
561
564
Capabilities : map [storageframework.Capability ]bool {
562
- storageframework .CapPersistence : true ,
563
- storageframework .CapExec : true ,
564
- storageframework .CapRWX : true ,
565
- storageframework .CapMultiPODs : true ,
565
+ storageframework .CapPersistence : true ,
566
+ storageframework .CapExec : true ,
567
+ storageframework .CapRWX : true ,
568
+ storageframework .CapMultiPODs : true ,
569
+ storageframework .CapMultiplePVsSameID : true ,
566
570
},
567
571
},
568
572
}
@@ -662,10 +666,11 @@ func InitHostPathDriver() storageframework.TestDriver {
662
666
),
663
667
TopologyKeys : []string {v1 .LabelHostname },
664
668
Capabilities : map [storageframework.Capability ]bool {
665
- storageframework .CapPersistence : true ,
666
- storageframework .CapMultiPODs : true ,
667
- storageframework .CapSingleNodeVolume : true ,
668
- storageframework .CapTopology : true ,
669
+ storageframework .CapPersistence : true ,
670
+ storageframework .CapMultiPODs : true ,
671
+ storageframework .CapSingleNodeVolume : true ,
672
+ storageframework .CapTopology : true ,
673
+ storageframework .CapMultiplePVsSameID : true ,
669
674
},
670
675
},
671
676
}
@@ -737,10 +742,11 @@ func InitHostPathSymlinkDriver() storageframework.TestDriver {
737
742
),
738
743
TopologyKeys : []string {v1 .LabelHostname },
739
744
Capabilities : map [storageframework.Capability ]bool {
740
- storageframework .CapPersistence : true ,
741
- storageframework .CapMultiPODs : true ,
742
- storageframework .CapSingleNodeVolume : true ,
743
- storageframework .CapTopology : true ,
745
+ storageframework .CapPersistence : true ,
746
+ storageframework .CapMultiPODs : true ,
747
+ storageframework .CapSingleNodeVolume : true ,
748
+ storageframework .CapTopology : true ,
749
+ storageframework .CapMultiplePVsSameID : true ,
744
750
},
745
751
},
746
752
}
@@ -966,8 +972,9 @@ func InitGcePdDriver() storageframework.TestDriver {
966
972
storageframework .CapNodeExpansion : true ,
967
973
// GCE supports volume limits, but the test creates large
968
974
// number of volumes and times out test suites.
969
- storageframework .CapVolumeLimits : false ,
970
- storageframework .CapTopology : true ,
975
+ storageframework .CapVolumeLimits : false ,
976
+ storageframework .CapTopology : true ,
977
+ storageframework .CapMultiplePVsSameID : true ,
971
978
},
972
979
},
973
980
}
@@ -998,8 +1005,9 @@ func InitWindowsGcePdDriver() storageframework.TestDriver {
998
1005
storageframework .CapMultiPODs : true ,
999
1006
// GCE supports volume limits, but the test creates large
1000
1007
// number of volumes and times out test suites.
1001
- storageframework .CapVolumeLimits : false ,
1002
- storageframework .CapTopology : true ,
1008
+ storageframework .CapVolumeLimits : false ,
1009
+ storageframework .CapTopology : true ,
1010
+ storageframework .CapMultiplePVsSameID : true ,
1003
1011
},
1004
1012
},
1005
1013
}
@@ -1136,12 +1144,13 @@ func InitVSphereDriver() storageframework.TestDriver {
1136
1144
),
1137
1145
TopologyKeys : []string {v1 .LabelFailureDomainBetaZone },
1138
1146
Capabilities : map [storageframework.Capability ]bool {
1139
- storageframework .CapPersistence : true ,
1140
- storageframework .CapFsGroup : true ,
1141
- storageframework .CapExec : true ,
1142
- storageframework .CapMultiPODs : true ,
1143
- storageframework .CapTopology : true ,
1144
- storageframework .CapBlock : true ,
1147
+ storageframework .CapPersistence : true ,
1148
+ storageframework .CapFsGroup : true ,
1149
+ storageframework .CapExec : true ,
1150
+ storageframework .CapMultiPODs : true ,
1151
+ storageframework .CapTopology : true ,
1152
+ storageframework .CapBlock : true ,
1153
+ storageframework .CapMultiplePVsSameID : true ,
1145
1154
},
1146
1155
},
1147
1156
}
@@ -1282,8 +1291,9 @@ func InitAzureDiskDriver() storageframework.TestDriver {
1282
1291
storageframework .CapMultiPODs : true ,
1283
1292
// Azure supports volume limits, but the test creates large
1284
1293
// number of volumes and times out test suites.
1285
- storageframework .CapVolumeLimits : false ,
1286
- storageframework .CapTopology : true ,
1294
+ storageframework .CapVolumeLimits : false ,
1295
+ storageframework .CapTopology : true ,
1296
+ storageframework .CapMultiplePVsSameID : true ,
1287
1297
},
1288
1298
},
1289
1299
}
@@ -1431,8 +1441,9 @@ func InitAwsDriver() storageframework.TestDriver {
1431
1441
storageframework .CapOnlineExpansion : true ,
1432
1442
// AWS supports volume limits, but the test creates large
1433
1443
// number of volumes and times out test suites.
1434
- storageframework .CapVolumeLimits : false ,
1435
- storageframework .CapTopology : true ,
1444
+ storageframework .CapVolumeLimits : false ,
1445
+ storageframework .CapTopology : true ,
1446
+ storageframework .CapMultiplePVsSameID : true ,
1436
1447
},
1437
1448
},
1438
1449
}
@@ -1551,21 +1562,23 @@ type localVolume struct {
1551
1562
var (
1552
1563
// capabilities
1553
1564
defaultLocalVolumeCapabilities = map [storageframework.Capability ]bool {
1554
- storageframework .CapPersistence : true ,
1555
- storageframework .CapFsGroup : true ,
1556
- storageframework .CapBlock : false ,
1557
- storageframework .CapExec : true ,
1558
- storageframework .CapMultiPODs : true ,
1559
- storageframework .CapSingleNodeVolume : true ,
1565
+ storageframework .CapPersistence : true ,
1566
+ storageframework .CapFsGroup : true ,
1567
+ storageframework .CapBlock : false ,
1568
+ storageframework .CapExec : true ,
1569
+ storageframework .CapMultiPODs : true ,
1570
+ storageframework .CapSingleNodeVolume : true ,
1571
+ storageframework .CapMultiplePVsSameID : true ,
1560
1572
}
1561
1573
localVolumeCapabitilies = map [utils.LocalVolumeType ]map [storageframework.Capability ]bool {
1562
1574
utils .LocalVolumeBlock : {
1563
- storageframework .CapPersistence : true ,
1564
- storageframework .CapFsGroup : true ,
1565
- storageframework .CapBlock : true ,
1566
- storageframework .CapExec : true ,
1567
- storageframework .CapMultiPODs : true ,
1568
- storageframework .CapSingleNodeVolume : true ,
1575
+ storageframework .CapPersistence : true ,
1576
+ storageframework .CapFsGroup : true ,
1577
+ storageframework .CapBlock : true ,
1578
+ storageframework .CapExec : true ,
1579
+ storageframework .CapMultiPODs : true ,
1580
+ storageframework .CapSingleNodeVolume : true ,
1581
+ storageframework .CapMultiplePVsSameID : true ,
1569
1582
},
1570
1583
}
1571
1584
// fstype
@@ -1796,6 +1809,7 @@ func InitAzureFileDriver() storageframework.TestDriver {
1796
1809
storageframework .CapMultiPODs : true ,
1797
1810
storageframework .CapControllerExpansion : true ,
1798
1811
storageframework .CapNodeExpansion : true ,
1812
+ storageframework .CapMultiplePVsSameID : true ,
1799
1813
},
1800
1814
},
1801
1815
}
0 commit comments