Commit b2a6ccd4 authored by Iustin Pop's avatar Iustin Pop
Browse files

Rename the volume_list RPC call to lv_list

There are volume-related rpc calls. This patch renames the ‘volume_list’
call to ‘lv_list’ to make more clear its purpose.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarGuido Trotter <>
parent 3126878d
......@@ -340,7 +340,7 @@ class NodeHttpServer(http.server.HttpServer):
# volume --------------------------
def perspective_volume_list(params):
def perspective_lv_list(params):
"""Query the list of logical volumes in a given volume group.
......@@ -1335,7 +1335,7 @@ class LUVerifyDisks(NoHooksLU):
if not nv_dict:
return result
node_lvs = self.rpc.call_volume_list(nodes, vg_name)
node_lvs = self.rpc.call_lv_list(nodes, vg_name)
to_act = set()
for node in nodes:
......@@ -417,13 +417,13 @@ class RpcRunner(object):
# Begin RPC calls
def call_volume_list(self, node_list, vg_name):
def call_lv_list(self, node_list, vg_name):
"""Gets the logical volumes present in a given volume group.
This is a multi-node call.
return self._MultiNodeCall(node_list, "volume_list", [vg_name])
return self._MultiNodeCall(node_list, "lv_list", [vg_name])
def call_vg_list(self, node_list):
"""Gets the volume group list.
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