Commit 2cee4077 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename OpModifyNodeStorage and LUModifyNodeStorage


Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent 5b14a488
......@@ -633,7 +633,7 @@ def ModifyStorage(opts, args):
changes[constants.SF_ALLOCATABLE] = opts.allocatable
if changes:
op = opcodes.OpModifyNodeStorage(node_name=node_name,
op = opcodes.OpNodeModifyStorage(node_name=node_name,
storage_type=storage_type,
name=volume_name,
changes=changes)
......
......@@ -3887,7 +3887,7 @@ class LUQueryFields(NoHooksLU):
return self.qcls.FieldsQuery(self.op.fields)
class LUModifyNodeStorage(NoHooksLU):
class LUNodeModifyStorage(NoHooksLU):
"""Logical unit for modifying a storage volume on a node.
"""
......
......@@ -668,7 +668,7 @@ class OpQueryNodeStorage(OpCode):
]
class OpModifyNodeStorage(OpCode):
class OpNodeModifyStorage(OpCode):
"""Modifies the properies of a storage unit"""
OP_ID = "OP_NODE_MODIFY_STORAGE"
OP_PARAMS = [
......
......@@ -518,7 +518,7 @@ class R_2_nodes_name_storage_modify(baserlib.R_Generic):
changes[constants.SF_ALLOCATABLE] = \
bool(self._checkIntVariable("allocatable", default=1))
op = opcodes.OpModifyNodeStorage(node_name=node_name,
op = opcodes.OpNodeModifyStorage(node_name=node_name,
storage_type=storage_type,
name=name,
changes=changes)
......
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