예제 #1
0
    def testParseSRIOV_VFDeviceParams(self):
        deviceXML = hostdev._parse_device_params(
            libvirtconnection.get().nodeDeviceLookupByName(
                _SRIOV_VF).XMLDesc()
        )

        self.assertEquals(_SRIOV_VF_PARSED, deviceXML)
예제 #2
0
    def testParseNetDeviceParams(self):
        deviceXML = hostdev._parse_device_params(
            libvirtconnection.get().nodeDeviceLookupByName(
                _NET_DEVICE).XMLDesc()
        )

        self.assertEquals(_NET_DEVICE_PARSED, deviceXML)
예제 #3
0
    def testParseNetDeviceParams(self):
        deviceXML = hostdev._parse_device_params(
            libvirtconnection.get().nodeDeviceLookupByName(
                _NET_DEVICE).XMLDesc()
        )

        self.assertEquals(_NET_DEVICE_PARSED, deviceXML)
예제 #4
0
    def testParseSRIOV_VFDeviceParams(self):
        deviceXML = hostdev._parse_device_params(
            libvirtconnection.get().nodeDeviceLookupByName(
                _SRIOV_VF).XMLDesc()
        )

        self.assertEquals(_SRIOV_VF_PARSED, deviceXML)
예제 #5
0
    def testParseNetDeviceParams(self):
        deviceXML = hostdev._parse_device_params(_NET_DEVICE)

        self.assertEquals(_NET_DEVICE_PARSED, deviceXML)
예제 #6
0
    def testParseSRIOV_VFDeviceParams(self):
        deviceXML = hostdev._parse_device_params(_SRIOV_VF_XML)

        self.assertEquals(_SRIOV_VF_PARSED, deviceXML)
예제 #7
0
    def testParseDeviceParams(self):
        deviceXML = hostdev._parse_device_params(ADDITIONAL_DEVICE)

        self.assertEquals(ADDITIONAL_DEVICE_PARSED, deviceXML)
예제 #8
0
파일: hostdevTests.py 프로젝트: Caez83/vdsm
    def testParseNetDeviceParams(self):
        deviceXML = hostdev._parse_device_params(_NET_DEVICE)

        self.assertEquals(_NET_DEVICE_PARSED, deviceXML)
예제 #9
0
파일: hostdevTests.py 프로젝트: Caez83/vdsm
    def testParseSRIOV_VFDeviceParams(self):
        deviceXML = hostdev._parse_device_params(_SRIOV_VF_XML)

        self.assertEquals(_SRIOV_VF_PARSED, deviceXML)
예제 #10
0
파일: hostdevTests.py 프로젝트: Caez83/vdsm
    def testParseDeviceParams(self):
        deviceXML = hostdev._parse_device_params(ADDITIONAL_DEVICE)

        self.assertEquals(ADDITIONAL_DEVICE_PARSED, deviceXML)