Statistics
| Branch: | Tag: | Revision:

root / lib / cmdlib / __init__.py @ 06c2fb4a

History | View | Annotate | Download (3.2 kB)

1 2f31098c Iustin Pop
#
2 a8083063 Iustin Pop
#
3 a8083063 Iustin Pop
4 b6322b3e Iustin Pop
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
5 a8083063 Iustin Pop
#
6 a8083063 Iustin Pop
# This program is free software; you can redistribute it and/or modify
7 a8083063 Iustin Pop
# it under the terms of the GNU General Public License as published by
8 a8083063 Iustin Pop
# the Free Software Foundation; either version 2 of the License, or
9 a8083063 Iustin Pop
# (at your option) any later version.
10 a8083063 Iustin Pop
#
11 a8083063 Iustin Pop
# This program is distributed in the hope that it will be useful, but
12 a8083063 Iustin Pop
# WITHOUT ANY WARRANTY; without even the implied warranty of
13 a8083063 Iustin Pop
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 a8083063 Iustin Pop
# General Public License for more details.
15 a8083063 Iustin Pop
#
16 a8083063 Iustin Pop
# You should have received a copy of the GNU General Public License
17 a8083063 Iustin Pop
# along with this program; if not, write to the Free Software
18 a8083063 Iustin Pop
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
19 a8083063 Iustin Pop
# 02110-1301, USA.
20 a8083063 Iustin Pop
21 a8083063 Iustin Pop
22 8701dfb0 Thomas Thrainer
"""Module implementing the master-side code.
23 a8083063 Iustin Pop

24 8701dfb0 Thomas Thrainer
This file only imports all LU's (and other classes) in order to re-export them
25 8701dfb0 Thomas Thrainer
to clients of cmdlib.
26 c70d2d9b Iustin Pop

27 8701dfb0 Thomas Thrainer
"""
28 a8083063 Iustin Pop
29 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.base import \
30 8701dfb0 Thomas Thrainer
  LogicalUnit, \
31 8701dfb0 Thomas Thrainer
  NoHooksLU, \
32 8701dfb0 Thomas Thrainer
  ResultWithJobs
33 4463ae96 Iustin Pop
34 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.cluster import \
35 8701dfb0 Thomas Thrainer
  LUClusterActivateMasterIp, \
36 8701dfb0 Thomas Thrainer
  LUClusterDeactivateMasterIp, \
37 8701dfb0 Thomas Thrainer
  LUClusterConfigQuery, \
38 8701dfb0 Thomas Thrainer
  LUClusterDestroy, \
39 8701dfb0 Thomas Thrainer
  LUClusterPostInit, \
40 8701dfb0 Thomas Thrainer
  LUClusterQuery, \
41 8701dfb0 Thomas Thrainer
  LUClusterRedistConf, \
42 8701dfb0 Thomas Thrainer
  LUClusterRename, \
43 8701dfb0 Thomas Thrainer
  LUClusterRepairDiskSizes, \
44 8701dfb0 Thomas Thrainer
  LUClusterSetParams, \
45 8701dfb0 Thomas Thrainer
  LUClusterVerify, \
46 8701dfb0 Thomas Thrainer
  LUClusterVerifyConfig, \
47 8701dfb0 Thomas Thrainer
  LUClusterVerifyGroup, \
48 8701dfb0 Thomas Thrainer
  LUClusterVerifyDisks
49 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.group import \
50 8701dfb0 Thomas Thrainer
  LUGroupAdd, \
51 8701dfb0 Thomas Thrainer
  LUGroupAssignNodes, \
52 8701dfb0 Thomas Thrainer
  LUGroupQuery, \
53 8701dfb0 Thomas Thrainer
  LUGroupSetParams, \
54 8701dfb0 Thomas Thrainer
  LUGroupRemove, \
55 8701dfb0 Thomas Thrainer
  LUGroupRename, \
56 8701dfb0 Thomas Thrainer
  LUGroupEvacuate, \
57 8701dfb0 Thomas Thrainer
  LUGroupVerifyDisks
58 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.node import \
59 8701dfb0 Thomas Thrainer
  LUNodeAdd, \
60 8701dfb0 Thomas Thrainer
  LUNodeSetParams, \
61 8701dfb0 Thomas Thrainer
  LUNodePowercycle, \
62 8701dfb0 Thomas Thrainer
  LUNodeEvacuate, \
63 8701dfb0 Thomas Thrainer
  LUNodeMigrate, \
64 8701dfb0 Thomas Thrainer
  LUNodeModifyStorage, \
65 8701dfb0 Thomas Thrainer
  LUNodeQuery, \
66 8701dfb0 Thomas Thrainer
  LUNodeQueryvols, \
67 8701dfb0 Thomas Thrainer
  LUNodeQueryStorage, \
68 8701dfb0 Thomas Thrainer
  LUNodeRemove, \
69 ec3cc4a8 Thomas Thrainer
  LURepairNodeStorage
70 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.instance import \
71 8701dfb0 Thomas Thrainer
  LUInstanceCreate, \
72 8701dfb0 Thomas Thrainer
  LUInstanceRename, \
73 8701dfb0 Thomas Thrainer
  LUInstanceRemove, \
74 8701dfb0 Thomas Thrainer
  LUInstanceMove, \
75 8701dfb0 Thomas Thrainer
  LUInstanceMultiAlloc, \
76 8701dfb0 Thomas Thrainer
  LUInstanceSetParams, \
77 763ad5be Thomas Thrainer
  LUInstanceChangeGroup
78 763ad5be Thomas Thrainer
from ganeti.cmdlib.instance_storage import \
79 8701dfb0 Thomas Thrainer
  LUInstanceRecreateDisks, \
80 8701dfb0 Thomas Thrainer
  LUInstanceGrowDisk, \
81 8701dfb0 Thomas Thrainer
  LUInstanceReplaceDisks, \
82 8701dfb0 Thomas Thrainer
  LUInstanceActivateDisks, \
83 8701dfb0 Thomas Thrainer
  LUInstanceDeactivateDisks
84 87e25be1 Thomas Thrainer
from ganeti.cmdlib.instance_migration import \
85 87e25be1 Thomas Thrainer
  LUInstanceFailover, \
86 87e25be1 Thomas Thrainer
  LUInstanceMigrate
87 13f6af81 Thomas Thrainer
from ganeti.cmdlib.instance_operation import \
88 13f6af81 Thomas Thrainer
  LUInstanceStartup, \
89 13f6af81 Thomas Thrainer
  LUInstanceShutdown, \
90 13f6af81 Thomas Thrainer
  LUInstanceReinstall, \
91 06c2fb4a Dimitris Aragiorgis
  LUInstanceSnapshot, \
92 13f6af81 Thomas Thrainer
  LUInstanceReboot, \
93 13f6af81 Thomas Thrainer
  LUInstanceConsole
94 8aa8f6b1 Thomas Thrainer
from ganeti.cmdlib.instance_query import \
95 8aa8f6b1 Thomas Thrainer
  LUInstanceQuery, \
96 8aa8f6b1 Thomas Thrainer
  LUInstanceQueryData
97 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.backup import \
98 8701dfb0 Thomas Thrainer
  LUBackupQuery, \
99 8701dfb0 Thomas Thrainer
  LUBackupPrepare, \
100 8701dfb0 Thomas Thrainer
  LUBackupExport, \
101 8701dfb0 Thomas Thrainer
  LUBackupRemove
102 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.query import \
103 8701dfb0 Thomas Thrainer
  LUQuery, \
104 8701dfb0 Thomas Thrainer
  LUQueryFields
105 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.operating_system import \
106 8701dfb0 Thomas Thrainer
  LUOsDiagnose
107 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.tags import \
108 8701dfb0 Thomas Thrainer
  LUTagsGet, \
109 8701dfb0 Thomas Thrainer
  LUTagsSearch, \
110 8701dfb0 Thomas Thrainer
  LUTagsSet, \
111 8701dfb0 Thomas Thrainer
  LUTagsDel
112 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.network import \
113 8701dfb0 Thomas Thrainer
  LUNetworkAdd, \
114 8701dfb0 Thomas Thrainer
  LUNetworkRemove, \
115 8701dfb0 Thomas Thrainer
  LUNetworkSetParams, \
116 8701dfb0 Thomas Thrainer
  LUNetworkQuery, \
117 8701dfb0 Thomas Thrainer
  LUNetworkConnect, \
118 8701dfb0 Thomas Thrainer
  LUNetworkDisconnect
119 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.misc import \
120 8701dfb0 Thomas Thrainer
  LUOobCommand, \
121 8701dfb0 Thomas Thrainer
  LUExtStorageDiagnose, \
122 814386b7 Thomas Thrainer
  LURestrictedCommand
123 8701dfb0 Thomas Thrainer
from ganeti.cmdlib.test import \
124 8701dfb0 Thomas Thrainer
  LUTestDelay, \
125 8701dfb0 Thomas Thrainer
  LUTestJqueue, \
126 8701dfb0 Thomas Thrainer
  LUTestAllocator