blob: 3f67039b30db0ccccb2d42584ad92d06daa4f08c [file] [log] [blame]
#
#
# Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013 Google Inc.
#
# 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; either version 2 of the License, or
# (at your option) any later version.
#
# 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.
"""Module implementing the master-side code.
This file only imports all LU's (and other classes) in order to re-export them
to clients of cmdlib.
"""
from ganeti.cmdlib.base import \
LogicalUnit, \
NoHooksLU, \
ResultWithJobs
from ganeti.cmdlib.cluster import \
LUClusterActivateMasterIp, \
LUClusterDeactivateMasterIp, \
LUClusterConfigQuery, \
LUClusterDestroy, \
LUClusterPostInit, \
LUClusterQuery, \
LUClusterRedistConf, \
LUClusterRename, \
LUClusterRepairDiskSizes, \
LUClusterSetParams, \
LUClusterVerify, \
LUClusterVerifyConfig, \
LUClusterVerifyGroup, \
LUClusterVerifyDisks
from ganeti.cmdlib.group import \
LUGroupAdd, \
LUGroupAssignNodes, \
LUGroupQuery, \
LUGroupSetParams, \
LUGroupRemove, \
LUGroupRename, \
LUGroupEvacuate, \
LUGroupVerifyDisks
from ganeti.cmdlib.node import \
LUNodeAdd, \
LUNodeSetParams, \
LUNodePowercycle, \
LUNodeEvacuate, \
LUNodeMigrate, \
LUNodeModifyStorage, \
LUNodeQuery, \
LUNodeQueryvols, \
LUNodeQueryStorage, \
LUNodeRemove, \
LURepairNodeStorage
from ganeti.cmdlib.instance import \
LUInstanceCreate, \
LUInstanceRename, \
LUInstanceRemove, \
LUInstanceMove, \
LUInstanceMultiAlloc, \
LUInstanceSetParams, \
LUInstanceChangeGroup
from ganeti.cmdlib.instance_storage import \
LUInstanceRecreateDisks, \
LUInstanceGrowDisk, \
LUInstanceReplaceDisks, \
LUInstanceActivateDisks, \
LUInstanceDeactivateDisks
from ganeti.cmdlib.instance_migration import \
LUInstanceFailover, \
LUInstanceMigrate
from ganeti.cmdlib.instance_operation import \
LUInstanceStartup, \
LUInstanceShutdown, \
LUInstanceReinstall, \
LUInstanceReboot, \
LUInstanceConsole
from ganeti.cmdlib.instance_query import \
LUInstanceQuery, \
LUInstanceQueryData
from ganeti.cmdlib.backup import \
LUBackupQuery, \
LUBackupPrepare, \
LUBackupExport, \
LUBackupRemove
from ganeti.cmdlib.query import \
LUQuery, \
LUQueryFields
from ganeti.cmdlib.operating_system import \
LUOsDiagnose
from ganeti.cmdlib.tags import \
LUTagsGet, \
LUTagsSearch, \
LUTagsSet, \
LUTagsDel
from ganeti.cmdlib.network import \
LUNetworkAdd, \
LUNetworkRemove, \
LUNetworkSetParams, \
LUNetworkQuery, \
LUNetworkConnect, \
LUNetworkDisconnect
from ganeti.cmdlib.misc import \
LUOobCommand, \
LUExtStorageDiagnose, \
LURestrictedCommand
from ganeti.cmdlib.test import \
LUTestDelay, \
LUTestJqueue, \
LUTestAllocator