search for: get_selected_domain

Displaying 10 results from an estimated 10 matches for "get_selected_domain".

2009 Oct 21
1
[PATCH node] Renamed files and menu items for node administration:
...if page is self.LIST_PAGE: return self.has_selectable_domains() - return False - - def page_has_back(self, page): - if page is self.CREATE_PAGE: return True - return False - - def validate_input(self, page, errors): - if page is self.LIST_PAGE: - if self.get_selected_domain() is not None: - domain = self.get_selected_domain() - try: - self.get_libvirt().create_domain(domain) - return True - except Exception, error: - errors.append("There was an error creating the...
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 Oct 29
1
[PATCH] Enables users to migrate virtual machines between hosts.
...ins() + else: return page < CONFIRM_PAGE + + def page_has_back(self, page): + return page < CONFIRM_PAGE + + def page_has_finish(self, page): + return page is CONFIRM_PAGE + + def validate_input(self, page, errors): + if page is LIST_DOMAINS: return self.get_selected_domain() is not None + elif page is SELECT_TARGET: + if self.__targets.current() is None: + errors.append("Please enter a target hostname or IP address.") + return False + elif page is CONFIRM_PAGE: + if not self.__confirm.value()...
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 Sep 23
2
[PATCH node] Introduces the virtual network administration functions.
...errors.append("You must first select a domain to create.") - def process_input(self, page): - print "foo" - def get_create_domain_page(self, screen): grid = Grid(1, 1) grid.setField(Label("%s was successfully created." % self.get_selected_domain()), 0, 0) diff --git a/nodeadmin/createnetwork.py b/nodeadmin/createnetwork.py new file mode 100644 index 0000000..6b40bb6 --- /dev/null +++ b/nodeadmin/createnetwork.py @@ -0,0 +1,52 @@ +#!/usr/bin/env python +# +# createnetwork.py - Copyright (C) 2009 Red Hat, Inc. +# Written by Darryl L. Pierce...