- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for wwn (0.03 sec)
-
pkg/volume/fc/fc_test.go
} _, _, wwid, err := getWwnsLunWwids(fc) // if no wwn and lun, exit if len(wwid) == 0 || err != nil { t.Errorf("no fc disk found") } } func Test_getWwnsLunWwidsError(t *testing.T) { fc := &v1.FCVolumeSource{ FSType: "ext4", } wwn, lun, wwid, err := getWwnsLunWwids(fc) // expected no wwn and lun and wwid if (len(wwn) != 0 && lun != "" && len(wwid) != 0) || err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Aug 01 15:56:32 UTC 2022 - 14.1K bytes - Viewed (0) -
pkg/volume/fc/fc_util.go
return ioutil.WriteFile(filename, data, perm) } // given a wwn and lun, find the device and associated devicemapper parent func findDisk(wwn, lun string, io ioHandler, deviceUtil volumeutil.DeviceUtil) (string, string) { fcPathExp := "^(pci-.*-fc|fc)-0x" + wwn + "-lun-" + lun + "$" r := regexp.MustCompile(fcPathExp) devPath := byPath if dirs, err := io.ReadDir(devPath); err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 16 11:12:06 UTC 2022 - 12.8K bytes - Viewed (0) -
pkg/volume/fc/fc_util_test.go
if test.expectError && err == nil { t.Errorf("expected error but got none") } if !test.expectError && err != nil { t.Errorf("got unexpected error: %s", err) } // if no disk matches input wwn and lun, exit if devicePath == "" && !test.expectError { t.Errorf("no fc disk found") } if devicePath != test.disk { t.Errorf("matching wrong disk, expected: %s, actual: %s", test.disk, devicePath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 23 08:36:01 UTC 2022 - 6.5K bytes - Viewed (0) -
pkg/volume/fc/fc.go
// Retrieve globalPDPath from globalMapPathUUID // globalMapPathUUID examples: // wwn+lun: plugins/kubernetes.io/fc/volumeDevices/50060e801049cfd1-lun-0/{pod uuid} // wwid: plugins/kubernetes.io/fc/volumeDevices/3600508b400105e210000900000490000/{pod uuid} globalPDPath := filepath.Dir(globalMapPathUUID) // Create volume from wwn+lun or wwid wwns, lun, wwids, err := parsePDName(globalPDPath) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 06:17:25 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/apis/core/validation/validation_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 22:40:29 UTC 2024 - 857.7K bytes - Viewed (0) -
src/regexp/testdata/re2-exhaustive.txt.bz2