[Ovirt-devel] [PATCH 1/2] Provides a new storage administration system to the managed node.

Darryl L. Pierce dpierce at redhat.com
Thu Nov 5 14:11:12 UTC 2009


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




More information about the ovirt-devel mailing list