search for: __conn

Displaying 20 results from an estimated 20 matches for "__conn".

Did you mean: b_conn
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...--- a/nodeadmin/libvirtworker.py +++ b/nodeadmin/libvirtworker.py @@ -74,6 +74,8 @@ class LibvirtWorker: def __init__(self, url = None): if url is None: url = get_default_url() logging.info("Connecting to libvirt: %s" % url) + self.__url = None + self.__conn = None self.open_connection(url) self.__capabilities = virtinst.CapabilitiesParser.parse(self.__conn.getCapabilities()) self.__net = virtinst.VirtualNetworkInterface(conn = self.__conn) @@ -84,9 +86,21 @@ class LibvirtWorker: '''Returns the underlying...
2009 Sep 14
1
Bugfixes...
This version fixes a few bugs found by jboggs. It also includes some logging facilities that need to be fleshed out more.
2009 Sep 16
1
Final push candidate for nodeadmin tool...
This patch is ready for pushing upstream.
2009 Sep 16
1
Replacement that includes utils.py
The previous patch was missing this file. Resending.
2009 Sep 11
1
Text-based node administration tool
This patch obsoletes any previous ones. This is an upstream candidate, so I'm looking for feedback so we can push this and start using it.
2009 Oct 15
1
Patch depends on the previous storage patch...
This patch is dependant on the previously submitted storage admin patch.
2009 Aug 31
1
Fixed patch...
This version of the patch includes feedback from jboggs at redhat.com, including fixes to the BuildRequires and Requires in the spec file.
2009 Oct 26
0
[PATCH node] Users can now work with remote libvirt hosts.
...errors.append("You must enter a remote hostname.") + elif page is CONFIRM_PAGE: return True + return False + + def process_input(self, page): + if page is CONFIRM_PAGE: + hv = self.__hypervisor.getSelection() + conn = self.__connection.getSelection() + hostname = self.__hostname.value() + + if hv is HYPERVISOR_XEN: + if conn is CONNECTION_LOCAL: url = "xen:///" + elif conn is CONNECTION_KERBEROS: url = "xen+tcp:///" + hostname + "/" +...
2009 Dec 03
1
Rebased against next...
This set of patches have been rebased since the originals have grown stale.
2009 Nov 11
1
Combined patch set for migration...
This patch set includes both the host configuration patch and the node migration patch which depends on it. And the latter has a fix for missing files.
2009 Oct 28
1
[PATCH] Users can now work with remote libvirt hosts.
...errors.append("You must enter a remote hostname.") + elif page is CONFIRM_PAGE: return True + return False + + def process_input(self, page): + if page is CONFIRM_PAGE: + hv = self.__hypervisor.getSelection() + conn = self.__connection.getSelection() + hostname = self.__hostname.value() + + if hv is HYPERVISOR_XEN: + if conn is CONNECTION_LOCAL: url = "xen:///" + elif conn is CONNECTION_KERBEROS: url = "xen+tcp:///" + hostname + "/" +...
2009 Jul 31
2
RFC: This patch is not being submitted for ACK...
...just looking for some feedback on the direction I'm going. The code won't get all the way to the define stage since I'm in the middle of retrofitting it to use virtinst instead of a home spun node definition.
2009 Dec 08
2
Rebased patches, fixed a rebasing problem...
The previous patch set had an error and one development branch's changes showed up twice, and two different change sets. So it was missing the bulk of the configuration work. This patch set fixes that.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased with changes from upstream.
2009 Nov 09
1
Rebased again...
This patch again rebases on upstream and should apply on next as of right now.
2009 Oct 14
0
[PATCH node] Provides a new storage administration system to the managed node.
...self.set_finished() def get_back_page(self, page): diff --git a/nodeadmin/libvirtworker.py b/nodeadmin/libvirtworker.py index ba07605..b2acabe 100644 --- a/nodeadmin/libvirtworker.py +++ b/nodeadmin/libvirtworker.py @@ -35,6 +35,10 @@ class LibvirtWorker: self.__net.setup(self.__conn) (self.__new_guest, self.__new_domain) = virtinst.CapabilitiesParser.guest_lookup(conn = self.__conn) + def get_connection(self): + '''Returns the underlying connection.''' + return self.__conn + def list_domains(self, defined = True, started...
2009 Oct 21
1
Storage administration and refactoring of domain admin
This pair of patches provide a new storage admin interface. Then, on top of that, it refactors the domain administration pieces to now properly use storage pools and volumes when defining a new VM.
2009 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...if info.GetProperty("volume.disc.has_data"): result[str(info.GetProperty("block.device"))] = info.GetProperty("volume.label") return result + + def list_network_devices(self): + result = [] + for udi in self.__conn.FindDeviceByCapability("net"): + device = self.__bus.get_object("org.freedesktop.Hal", udi) + info = dbus.Interface(device, "org.freedesktop.Hal.Device") + result.append(info.GetProperty("net.interface")) + return resul...
2009 Oct 12
1
First draft: node storage admin
This patch provides the ability to create a "dir" type storage pool, and to add and remove volumes for existing pools.
2013 Jul 15
21
[PATCH 00 of 21 RESEND] blktap3/drivers: Introduce tapdisk server.
This patch series copies the core of the tapdisk process from blktap2, with updates coming from blktap2.5. Signed-off-by: Thanos Makatos <thanos.makatos@citrix.com>