1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 LUInstanceMultiAlloc, \
76 LUInstanceSetParams, \
77 LUInstanceChangeGroup
78 from ganeti.cmdlib.instance_storage import \
79 LUInstanceRecreateDisks, \
80 LUInstanceGrowDisk, \
81 LUInstanceReplaceDisks, \
82 LUInstanceActivateDisks, \
83 LUInstanceDeactivateDisks
84 from ganeti.cmdlib.instance_migration import \
85 LUInstanceFailover, \
86 LUInstanceMigrate
87 from ganeti.cmdlib.instance_operation import \
88 LUInstanceStartup, \
89 LUInstanceShutdown, \
90 LUInstanceReinstall, \
91 LUInstanceReboot, \
92 LUInstanceConsole
93 from ganeti.cmdlib.instance_query import \
94 LUInstanceQuery, \
95 LUInstanceQueryData
96 from ganeti.cmdlib.backup import \
97 LUBackupQuery, \
98 LUBackupPrepare, \
99 LUBackupExport, \
100 LUBackupRemove
101 from ganeti.cmdlib.query import \
102 LUQuery, \
103 LUQueryFields
104 from ganeti.cmdlib.operating_system import \
105 LUOsDiagnose
106 from ganeti.cmdlib.tags import \
107 LUTagsGet, \
108 LUTagsSearch, \
109 LUTagsSet, \
110 LUTagsDel
111 from ganeti.cmdlib.network import \
112 LUNetworkAdd, \
113 LUNetworkRemove, \
114 LUNetworkSetParams, \
115 LUNetworkQuery, \
116 LUNetworkConnect, \
117 LUNetworkDisconnect
118 from ganeti.cmdlib.misc import \
119 LUOobCommand, \
120 LUExtStorageDiagnose, \
121 LURestrictedCommand
122 from ganeti.cmdlib.test import \
123 LUTestDelay, \
124 LUTestJqueue, \
125 LUTestAllocator
126