Commit 12e0ee0d authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

NEWS: Deprecate LUXI calls replaced with query2



Adding the “luxi” namespace is necessary in “sphinx_ext”.
Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent a06c6ae8
......@@ -14,6 +14,10 @@ Version 2.6.0 beta1
upon recreation.
- Removed deprecated ``QueryLocks`` LUXI request. Use
``Query(what=QR_LOCK, ...)`` instead.
- The LUXI requests :pyeval:`luxi.REQ_QUERY_JOBS`,
:pyeval:`luxi.REQ_QUERY_INSTANCES`, :pyeval:`luxi.REQ_QUERY_NODES` and
:pyeval:`luxi.REQ_QUERY_GROUPS` are deprecated and will be removed in
a future version. :pyeval:`luxi.REQ_QUERY` should be used instead.
Version 2.5.0 rc5
......
......@@ -41,6 +41,7 @@ from ganeti import utils
from ganeti import opcodes
from ganeti import ht
from ganeti import rapi
from ganeti import luxi
import ganeti.rapi.rlib2 # pylint: disable=W0611
......@@ -61,7 +62,7 @@ COMMON_PARAM_NAMES = _GetCommonParamNames()
#: Namespace for evaluating expressions
EVAL_NS = dict(compat=compat, constants=constants, utils=utils, errors=errors,
rlib2=rapi.rlib2)
rlib2=rapi.rlib2, luxi=luxi)
# Constants documentation for man pages
CV_ECODES_DOC = "ecodes"
......
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