search for: get_libvirt

Displaying 20 results from an estimated 22 matches for "get_libvirt".

2009 Oct 21
1
[PATCH node] Renamed files and menu items for node administration:
...): + logging.info("Update: read=%d" % amount_read) + +class DomainConfigScreen(ConfigScreen): + def __init__(self): + ConfigScreen.__init__(self, "Create A New Virtual Machine") + self.__config = DomainConfig() + self.__config.set_architecture(self.get_libvirt().get_default_architecture()) + self.__config.set_virt_type(self.get_libvirt().get_default_virt_type()) + + def get_elements_for_page(self, screen, page): + if page == VM_DETAILS_PAGE: return self.get_vm_details_page(screen) + elif page == LOCAL_INSTALL_PAGE: return...
2009 Oct 15
1
Patch depends on the previous storage patch...
This patch is dependant on the previously submitted storage admin patch.
2009 Oct 27
1
Storage admin patches
This set of patches supercedes the previous set, and has been rebased with changes from upstream.
2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...AGE = 2 class ChangeHostConfigScreen(HostListConfigScreen): def __init__(self): - HostListConfigScreen.__init__(self, "Change Host") + HostListConfigScreen.__init__(self, "") + + def get_title(self): + return "Currently: %s" % self.get_libvirt().get_url() def get_elements_for_page(self, screen, page): if page is CONNECTION_LIST_PAGE: return self.get_connection_list_page(screen) @@ -36,7 +39,6 @@ class ChangeHostConfigScreen(HostListConfigScreen): def process_input(self, page): if page is CONNECTION_LIST_...
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.
...t PoolConfig +from virtinst import Storage + +POOL_NAME_PAGE = 1 +POOL_DETAILS_PAGE = 2 +CONFIRM_PAGE = 3 + +class AddStoragePoolConfigScreen(ConfigScreen): + def __init__(self): + ConfigScreen.__init__(self, "Add A Storage Pool") + self.__config = PoolConfig(self.get_libvirt()) + + def get_elements_for_page(self, screen, page): + if page is POOL_NAME_PAGE: return self.get_pool_name_page(screen) + elif page is POOL_DETAILS_PAGE: return self.get_pool_details_page(screen) + elif page is CONFIRM_PAGE: return self.get_confirm_page(screen) +...
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 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.
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 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 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 23
2
[PATCH node] Introduces the virtual network administration functions.
...for element in elements: gridform.add(element, 0, current_element) @@ -133,7 +134,7 @@ class DomainListConfigScreen(ConfigScreen): if len(domains) > 0: self.__has_domains = True self.__domain_list = Listbox(0) - for name in self.get_libvirt().list_domains(defined, created): + for name in domains: self.__domain_list.append(name, name) result = [self.__domain_list] else: @@ -148,3 +149,33 @@ class DomainListConfigScreen(ConfigScreen): def has_selectable_domains(self): ret...
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 03
2
Refactored, fixed and ready to review...
This set of patches needed some reworking since they would not apply on top of next. They are ready for review and to be pushed.
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 26
0
[PATCH node] Users can now work with remote libvirt hosts.
...ected_page(screen) + + def process_input(self, page): + if page is CONNECTION_LIST_PAGE: + logging.info("Changing libvirt connection to %s" % self.get_selected_connection()) + libvirtworker.set_default_url(self.get_selected_connection()) + self.get_libvirt().open_connection(self.get_selected_connection()) + elif page is CONNECTED_PAGE: self.set_finished() + + def page_has_next(self, page): + if page is CONNECTION_LIST_PAGE: return self.has_selectable_connections() + return False + + def page_has_back(self, page): + r...
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.