示例#1
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key)

        self._name = key
        self._virtinst_obj = None

        self.get_virtinst_obj()
示例#2
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key, Network)
        self._active = True

        self._support_isactive = None

        self.force_update_status(from_event=True)
示例#3
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key, Network)
        self._active = True

        self._support_isactive = None

        self.tick()
示例#4
0
    def __init__(self, conn, backend, name):
        vmmLibvirtObject.__init__(self, conn)

        self.name = name
        self._backend = backend

        self._virtinst_obj = None

        self.get_virtinst_obj()
示例#5
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key, StoragePool)

        self._active = True
        self._support_isactive = None

        self._volumes = {}

        self.tick()
        self.refresh()
    def __init__(self, conn, pool, uuid, active):
        vmmLibvirtObject.__init__(self, conn)

        self.pool = pool  # Libvirt pool object
        self.uuid = uuid  # String UUID
        self.active = active  # bool indicating if it is running

        self._volumes = {}  # UUID->vmmStorageVolume mapping of the
        # pools associated volumes

        self.refresh()
示例#7
0
    def __init__(self, conn, pool, uuid, active):
        vmmLibvirtObject.__init__(self, conn)

        self.pool = pool            # Libvirt pool object
        self.uuid = uuid            # String UUID
        self.active = active        # bool indicating if it is running

        self._volumes = {}          # UUID->vmmStorageVolume mapping of the
                                    # pools associated volumes

        self.refresh()
    def __init__(self, conn, interface, name, active):
        vmmLibvirtObject.__init__(self, conn)

        self.interface = interface  # Libvirt virInterface object
        self.name = name  # String name
        self.active = active  # bool indicating if it is running

        self._xml = None  # xml cache
        self._xml_flags = None

        (self._inactive_xml_flags, self._active_xml_flags) = self.conn.get_interface_flags(self.interface)

        self.refresh_xml()
示例#9
0
    def __init__(self, conn, interface, name, active):
        vmmLibvirtObject.__init__(self, conn)

        self.interface = interface  # Libvirt virInterface object
        self.name = name  # String name
        self.active = active  # bool indicating if it is running

        self._xml = None  # xml cache
        self._xml_flags = None

        (self._inactive_xml_flags,
         self._active_xml_flags) = self.conn.get_interface_flags(
             self.interface)

        self.refresh_xml()
示例#10
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key)

        self._name = key
        self._active = True

        self._xml = None
        self._xml_flags = None

        (self._inactive_xml_flags,
         self._active_xml_flags) = self.conn.get_interface_flags(
                                                            self._backend)

        self._support_isactive = None

        self.tick()
        self.refresh_xml()
示例#11
0
    def __init__(self, conn, vol, name):
        vmmLibvirtObject.__init__(self, conn)

        self.vol = vol  # Libvirt storage volume object
        self.name = name
示例#12
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key)

        self._name = key
示例#13
0
 def __init__(self, conn, backend, key):
     vmmLibvirtObject.__init__(self, conn, backend, key, _parse_convert)
     self._name = key
    def __init__(self, conn, vol, name):
        vmmLibvirtObject.__init__(self, conn)

        self.vol = vol      # Libvirt storage volume object
        self.name = name
 def __init__(self, conn, net, uuid, active):
     vmmLibvirtObject.__init__(self, conn)
     self.net = net
     self.uuid = uuid
     self.active = active
示例#16
0
 def __init__(self, conn, net, uuid, active):
     vmmLibvirtObject.__init__(self, conn)
     self.net = net
     self.uuid = uuid
     self.active = active
示例#17
0
 def __init__(self, conn, backend, key):
     vmmLibvirtObject.__init__(self, conn, backend, key, StorageVolume)