search for: hostlistconfigscreen

Displaying 6 results from an estimated 6 matches for "hostlistconfigscreen".

2009 Dec 21
2
[PATCH] Fixed errors when the user selects a different remove libvirt host.
...6 +++++++++++++++- 3 files changed, 23 insertions(+), 4 deletions(-) diff --git a/nodeadmin/changehost.py b/nodeadmin/changehost.py index 23e6854..f604c03 100644 --- a/nodeadmin/changehost.py +++ b/nodeadmin/changehost.py @@ -27,7 +27,10 @@ CONNECTED_PAGE = 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, scr...
2009 Oct 26
0
[PATCH node] Users can now work with remote libvirt hosts.
...02110-1301, USA. A copy of the GNU General Public License is +# also available at http://www.gnu.org/copyleft/gpl.html. + +from snack import * + +import logging +import libvirtworker +from configscreen import * + +CONNECTION_LIST_PAGE = 1 +CONNECTED_PAGE = 2 + +class ChangeHostConfigScreen(HostListConfigScreen): + def __init__(self): + HostListConfigScreen.__init__(self, "Change Host") + + def get_elements_for_page(self, screen, page): + if page is CONNECTION_LIST_PAGE: return self.get_connection_list_page(screen) + elif page is CONNECTED_PAGE: return self.get...
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.
...02110-1301, USA. A copy of the GNU General Public License is +# also available at http://www.gnu.org/copyleft/gpl.html. + +from snack import * + +import logging +import libvirtworker +from configscreen import * + +CONNECTION_LIST_PAGE = 1 +CONNECTED_PAGE = 2 + +class ChangeHostConfigScreen(HostListConfigScreen): + def __init__(self): + HostListConfigScreen.__init__(self, "Change Host") + + def get_elements_for_page(self, screen, page): + if page is CONNECTION_LIST_PAGE: return self.get_connection_list_page(screen) + elif page is CONNECTED_PAGE: return self.get...
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.