1
# setup.py - Copyright (C) 2009 Red Hat, Inc.
2
# Written by Darryl L. Pierce <dpierce@redhat.com>
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; version 2 of the License.
8
# This program is distributed in the hope that it will be useful,
9
# but WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11
# GNU General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
16
# MA 02110-1301, USA. A copy of the GNU General Public License is
17
# also available at http://www.gnu.org/copyleft/gpl.html.
19
from setuptools import setup, find_packages
21
setup(name = "nodeadmin",
23
package_dir = {'nodeadmin': 'nodeadmin'},
24
packages = find_packages('.'),
27
'nodeadmin = nodeadmin.nodeadmin:NodeAdmin',
28
'addvm = nodeadmin.adddomain:AddDomain',
29
'startvm = nodeadmin.startdomain:StartDomain',
30
'stopvm = nodeadmin.stopdomain:StopDomain',
31
'rmvm = nodeadmin.removedomain:RemoveDomain',
32
'migratevm = nodeadmin.migratedomain:MigradeDomain',
33
'createuser = nodeadmin.createuser:CreateUser',
34
'listvms = nodeadmin.listdomains:ListDomains',
35
'definenet = nodeadmin.definenet:DefineNetwork',
36
'createnet = nodeadmin.createnetwork:CreateNetwork',
37
'destroynet = nodeadmin.destroynetwork:DestroyNetwork',
38
'undefinenet = nodeadmin.undefinenetwork:UndefineNetwork',
39
'listnets = nodeadmin.listnetworks:ListNetworks',
40
'addpool = nodeadmin.addpool:AddStoragePool',
41
'rmpool = nodeadmin.removepool:RemoveStoragePool',
42
'startpool = nodeadmin.startpool:StartStoragePool',
43
'stoppool = nodeadmin.stoppool:StopStoragePool',
44
'addvolume = nodeadmin.addvolume:AddStorageVolume',
45
'rmvolume = nodeadmin.removevolume:RemoveStorageVolume',
46
'listpools = nodeadmin.listpools:ListPools']