예제 #1
0
    def _from_scratch(self):
        nodedevxml = nodedev_xml.NodedevXMLBase(
            virsh_instance=self.dummy_virsh)
        nodedevxml.name = 'name_test'
        nodedevxml.parent = 'parent_test'

        return nodedevxml
    def _from_scratch(self):
        nodedevxml = nodedev_xml.NodedevXMLBase()
        nodedevxml.name = 'name_test'
        nodedevxml.parent = 'parent_test'

        return nodedevxml