Commit 8aa8f6b1 authored by Thomas Thrainer's avatar Thomas Thrainer

cmdlib: Extract instance query related functionality

Split instance.py further by extracting instance querying related
logical units and functions to instance_query.py.
Signed-off-by: default avatarThomas Thrainer <thomasth@google.com>
Reviewed-by: default avatarBernardo Dal Seno <bdalseno@google.com>
parent 13f6af81
......@@ -318,6 +318,7 @@ cmdlib_PYTHON = \
lib/cmdlib/instance_storage.py \
lib/cmdlib/instance_migration.py \
lib/cmdlib/instance_operation.py \
lib/cmdlib/instance_query.py \
lib/cmdlib/instance_utils.py \
lib/cmdlib/backup.py \
lib/cmdlib/query.py \
......
......@@ -72,8 +72,6 @@ from ganeti.cmdlib.instance import \
LUInstanceRename, \
LUInstanceRemove, \
LUInstanceMove, \
LUInstanceQuery, \
LUInstanceQueryData, \
LUInstanceMultiAlloc, \
LUInstanceSetParams, \
LUInstanceChangeGroup
......@@ -92,6 +90,9 @@ from ganeti.cmdlib.instance_operation import \
LUInstanceReinstall, \
LUInstanceReboot, \
LUInstanceConsole
from ganeti.cmdlib.instance_query import \
LUInstanceQuery, \
LUInstanceQueryData
from ganeti.cmdlib.backup import \
LUBackupQuery, \
LUBackupPrepare, \
......
This diff is collapsed.
This diff is collapsed.
......@@ -28,7 +28,7 @@ from ganeti.cmdlib.backup import _ExportQuery
from ganeti.cmdlib.base import NoHooksLU
from ganeti.cmdlib.cluster import _ClusterQuery
from ganeti.cmdlib.group import _GroupQuery
from ganeti.cmdlib.instance import _InstanceQuery
from ganeti.cmdlib.instance_query import _InstanceQuery
from ganeti.cmdlib.misc import _ExtStorageQuery
from ganeti.cmdlib.network import _NetworkQuery
from ganeti.cmdlib.node import _NodeQuery
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment