Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for wwn (0.03 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. pkg/apis/core/validation/validation_test.go

    			}},
    		}, {
    			name: "FC valid targetWWNs and empty lun",
    			vol: core.Volume{
    				Name: "fc",
    				VolumeSource: core.VolumeSource{
    					FC: &core.FCVolumeSource{
    						TargetWWNs: []string{"wwn"},
    						Lun:        nil,
    						FSType:     "ext4",
    						ReadOnly:   false,
    					},
    				},
    			},
    			errs: []verr{{
    				etype:  field.ErrorTypeRequired,
    				field:  "fc.lun",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 857.7K bytes
    - Viewed (0)
  6. src/regexp/testdata/re2-exhaustive.txt.bz2

    |R���ZM2֚4Q�4�D�EUIB��� SO� 5T4�Ԋi�������hOT���� �%D�RI%* �i��?x� ��#w��ξ��㯘�1�r�� ���㵄5�a�]��yM��,SJ(�k��M/��9�s��.��wWK%RIId�s��7�W{�������pn ��2�Ir��s��+��\y�����=w]�]�w*�+c%i,�F5�F�kDmb!,�i)5mE�� {��n�v��SeK5̄��WwN�N�mUVa ̢mE�)VԠ��RWe�6 ��6���ѣm�ڪޒR�h����-H�E-e���,DD�'��#1�'�*̌+2$�8V0�3R;[)l8� ���U��6"�+�w�/=����mNVJQw� ��@�l-����_24�̬ȱ��Yc f-���4��X-;6�j.�b�ҧ�UG�pW�b�_���r"��EMTڵ�Kgݭ� k�/�5����,�_�D�|q�U�jfّ��WJP� fR���,���j���>�M��^y�/4��l�*ݫ[�5�x���m��}��X���'�...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 13 14:52:20 UTC 2021
    - 418.2K bytes
    - Viewed (0)
Back to top