Exemplo n.º 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()
Exemplo n.º 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)
Exemplo n.º 3
0
    def __init__(self, conn, backend, key):
        vmmLibvirtObject.__init__(self, conn, backend, key, Network)
        self._active = True

        self._support_isactive = None

        self.tick()
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 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()
Exemplo n.º 11
0
    def __init__(self, conn, vol, name):
        vmmLibvirtObject.__init__(self, conn)

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

        self._name = key
Exemplo n.º 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
Exemplo n.º 16
0
 def __init__(self, conn, net, uuid, active):
     vmmLibvirtObject.__init__(self, conn)
     self.net = net
     self.uuid = uuid
     self.active = active
Exemplo n.º 17
0
 def __init__(self, conn, backend, key):
     vmmLibvirtObject.__init__(self, conn, backend, key, StorageVolume)