root / lib / cmdlib / __init__.py @ 763ad5be
History | View | Annotate | Download (3.1 kB)
1 |
#
|
---|---|
2 |
#
|
3 |
|
4 |
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
|
5 |
#
|
6 |
# This program is free software; you can redistribute it and/or modify
|
7 |
# it under the terms of the GNU General Public License as published by
|
8 |
# the Free Software Foundation; either version 2 of the License, or
|
9 |
# (at your option) any later version.
|
10 |
#
|
11 |
# This program is distributed in the hope that it will be useful, but
|
12 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
14 |
# General Public License for more details.
|
15 |
#
|
16 |
# You should have received a copy of the GNU General Public License
|
17 |
# along with this program; if not, write to the Free Software
|
18 |
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
19 |
# 02110-1301, USA.
|
20 |
|
21 |
|
22 |
"""Module implementing the master-side code.
|
23 |
|
24 |
This file only imports all LU's (and other classes) in order to re-export them
|
25 |
to clients of cmdlib.
|
26 |
|
27 |
"""
|
28 |
|
29 |
from ganeti.cmdlib.base import \ |
30 |
LogicalUnit, \
|
31 |
NoHooksLU, \
|
32 |
ResultWithJobs
|
33 |
|
34 |
from ganeti.cmdlib.cluster import \ |
35 |
LUClusterActivateMasterIp, \
|
36 |
LUClusterDeactivateMasterIp, \
|
37 |
LUClusterConfigQuery, \
|
38 |
LUClusterDestroy, \
|
39 |
LUClusterPostInit, \
|
40 |
LUClusterQuery, \
|
41 |
LUClusterRedistConf, \
|
42 |
LUClusterRename, \
|
43 |
LUClusterRepairDiskSizes, \
|
44 |
LUClusterSetParams, \
|
45 |
LUClusterVerify, \
|
46 |
LUClusterVerifyConfig, \
|
47 |
LUClusterVerifyGroup, \
|
48 |
LUClusterVerifyDisks
|
49 |
from ganeti.cmdlib.group import \ |
50 |
LUGroupAdd, \
|
51 |
LUGroupAssignNodes, \
|
52 |
LUGroupQuery, \
|
53 |
LUGroupSetParams, \
|
54 |
LUGroupRemove, \
|
55 |
LUGroupRename, \
|
56 |
LUGroupEvacuate, \
|
57 |
LUGroupVerifyDisks
|
58 |
from ganeti.cmdlib.node import \ |
59 |
LUNodeAdd, \
|
60 |
LUNodeSetParams, \
|
61 |
LUNodePowercycle, \
|
62 |
LUNodeEvacuate, \
|
63 |
LUNodeMigrate, \
|
64 |
LUNodeModifyStorage, \
|
65 |
LUNodeQuery, \
|
66 |
LUNodeQueryvols, \
|
67 |
LUNodeQueryStorage, \
|
68 |
LUNodeRemove, \
|
69 |
LURepairNodeStorage
|
70 |
from ganeti.cmdlib.instance import \ |
71 |
LUInstanceCreate, \
|
72 |
LUInstanceRename, \
|
73 |
LUInstanceRemove, \
|
74 |
LUInstanceMove, \
|
75 |
LUInstanceQuery, \
|
76 |
LUInstanceQueryData, \
|
77 |
LUInstanceStartup, \
|
78 |
LUInstanceShutdown, \
|
79 |
LUInstanceReinstall, \
|
80 |
LUInstanceReboot, \
|
81 |
LUInstanceConsole, \
|
82 |
LUInstanceFailover, \
|
83 |
LUInstanceMigrate, \
|
84 |
LUInstanceMultiAlloc, \
|
85 |
LUInstanceSetParams, \
|
86 |
LUInstanceChangeGroup
|
87 |
from ganeti.cmdlib.instance_storage import \ |
88 |
LUInstanceRecreateDisks, \
|
89 |
LUInstanceGrowDisk, \
|
90 |
LUInstanceReplaceDisks, \
|
91 |
LUInstanceActivateDisks, \
|
92 |
LUInstanceDeactivateDisks
|
93 |
from ganeti.cmdlib.backup import \ |
94 |
LUBackupQuery, \
|
95 |
LUBackupPrepare, \
|
96 |
LUBackupExport, \
|
97 |
LUBackupRemove
|
98 |
from ganeti.cmdlib.query import \ |
99 |
LUQuery, \
|
100 |
LUQueryFields
|
101 |
from ganeti.cmdlib.operating_system import \ |
102 |
LUOsDiagnose
|
103 |
from ganeti.cmdlib.tags import \ |
104 |
LUTagsGet, \
|
105 |
LUTagsSearch, \
|
106 |
LUTagsSet, \
|
107 |
LUTagsDel
|
108 |
from ganeti.cmdlib.network import \ |
109 |
LUNetworkAdd, \
|
110 |
LUNetworkRemove, \
|
111 |
LUNetworkSetParams, \
|
112 |
LUNetworkQuery, \
|
113 |
LUNetworkConnect, \
|
114 |
LUNetworkDisconnect
|
115 |
from ganeti.cmdlib.misc import \ |
116 |
LUOobCommand, \
|
117 |
LUExtStorageDiagnose, \
|
118 |
LURestrictedCommand
|
119 |
from ganeti.cmdlib.test import \ |
120 |
LUTestDelay, \
|
121 |
LUTestJqueue, \
|
122 |
LUTestAllocator
|