Darryl L. Pierce
2009-Oct-28 18:25 UTC
[Ovirt-devel] Refactoring of storage admin and node
This patch set supercedes the previous set, and incorporates feedback from jboggs. There is a known issue in configuring volumes on an iSCSI pool that makes them unsupported at the moment. This code functions identical to virt-manager in that regard.
Darryl L. Pierce
2009-Oct-28 18:25 UTC
[Ovirt-devel] [PATCH 1/2] Provides a new storage administration system to the managed node.
Users can now: * Add a new storage pool. * Delete a storage pool. * Start and stop storage pools. * Add a new storage volume. * Delete a storage volume. * List existing storage pools, with details. Signed-off-by: Darryl L. Pierce <dpierce at redhat.com> --- nodeadmin/output.log | 1 + nodeadmin/setup.py | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+), 0 deletions(-) create mode 100644 nodeadmin/output.log create mode 100644 nodeadmin/setup.py diff --git a/nodeadmin/output.log b/nodeadmin/output.log new file mode 100644 index 0000000..e8302cb --- /dev/null +++ b/nodeadmin/output.log @@ -0,0 +1 @@ +libvir: Storage error : Storage pool not found: no pool with matching name 'iscsipool' diff --git a/nodeadmin/setup.py b/nodeadmin/setup.py new file mode 100644 index 0000000..9af2752 --- /dev/null +++ b/nodeadmin/setup.py @@ -0,0 +1,46 @@ +# setup.py - Copyright (C) 2009 Red Hat, Inc. +# Written by Darryl L. Pierce <dpierce at redhat.com> +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; version 2 of the License. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, write to the Free Software +# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, +# MA 02110-1301, USA. A copy of the GNU General Public License is +# also available at http://www.gnu.org/copyleft/gpl.html. + +from setuptools import setup, find_packages + +setup(name = "nodeadmin", + version = "1.0.3", + package_dir = {'nodeadmin': 'nodeadmin'}, + packages = find_packages('.'), + entry_points = { + 'console_scripts': [ + 'nodeadmin = nodeadmin.nodeadmin:NodeAdmin', + 'addvm = nodeadmin.adddomain:AddDomain', + 'startvm = nodeadmin.startdomain:StartDomain', + 'stopvm = nodeadmin.stopdomain:StopDomain', + 'rmvm = nodeadmin.removedomain:RemoveDomain', + 'createuser = nodeadmin.createuser:CreateUser', + 'listvms = nodeadmin.listdomains:ListDomains', + 'definenet = nodeadmin.definenet:DefineNetwork', + 'createnet = nodeadmin.createnetwork:CreateNetwork', + 'destroynet = nodeadmin.destroynetwork:DestroyNetwork', + 'undefinenet = nodeadmin.undefinenetwork:UndefineNetwork', + 'listnets = nodeadmin.listnetworks:ListNetworks', + 'addpool = nodeadmin.addpool:AddStoragePool', + 'rmpool = nodeadmin.removepool:RemoveStoragePool', + 'startpool = nodeadmin.startpool:StartStoragePool', + 'stoppool = nodeadmin.stoppool:StopStoragePool', + 'addvolume = nodeadmin.addvolume:AddStorageVolume', + 'rmvolume = nodeadmin.removevolume:RemoveStorageVolume', + 'listpools = nodeadmin.listpools:ListPools'] + }) -- 1.6.2.5
Darryl L. Pierce
2009-Nov-03 15:55 UTC
[Ovirt-devel] Refactoring of storage admin and node
On Wed, Oct 28, 2009 at 02:25:51PM -0400, Darryl L. Pierce wrote:> This patch set supercedes the previous set, and incorporates feedback from jboggs. > > There is a known issue in configuring volumes on an iSCSI pool that makes them > unsupported at the moment. This code functions identical to virt-manager in that > regard.Can I get some feedback or an ACK on these patches? -- Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc. Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: not available URL: <http://listman.redhat.com/archives/ovirt-devel/attachments/20091103/21acfec5/attachment.sig>