Update CSI proto to 1.5.0

This commit is contained in:
Mehran Kholdi
2021-07-02 18:45:10 +04:30
parent e585684502
commit 7717264801
3 changed files with 904 additions and 455 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,11 +1,12 @@
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
import csi_pb2 as csi__pb2
class IdentityStub(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
@@ -31,22 +32,22 @@ class IdentityStub(object):
class IdentityServicer(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def GetPluginInfo(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetPluginCapabilities(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def Probe(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
@@ -77,7 +78,7 @@ def add_IdentityServicer_to_server(servicer, server):
# This class is part of an EXPERIMENTAL API.
class Identity(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
@staticmethod
def GetPluginInfo(request,
@@ -85,6 +86,7 @@ class Identity(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -93,7 +95,7 @@ class Identity(object):
csi__pb2.GetPluginInfoRequest.SerializeToString,
csi__pb2.GetPluginInfoResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetPluginCapabilities(request,
@@ -101,6 +103,7 @@ class Identity(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -109,7 +112,7 @@ class Identity(object):
csi__pb2.GetPluginCapabilitiesRequest.SerializeToString,
csi__pb2.GetPluginCapabilitiesResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def Probe(request,
@@ -117,6 +120,7 @@ class Identity(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -125,11 +129,11 @@ class Identity(object):
csi__pb2.ProbeRequest.SerializeToString,
csi__pb2.ProbeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class ControllerStub(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
@@ -205,82 +209,82 @@ class ControllerStub(object):
class ControllerServicer(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def CreateVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ControllerPublishVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ControllerUnpublishVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ValidateVolumeCapabilities(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListVolumes(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def GetCapacity(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ControllerGetCapabilities(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def CreateSnapshot(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def DeleteSnapshot(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ListSnapshots(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ControllerExpandVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def ControllerGetVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
@@ -361,7 +365,7 @@ def add_ControllerServicer_to_server(servicer, server):
# This class is part of an EXPERIMENTAL API.
class Controller(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
@staticmethod
def CreateVolume(request,
@@ -369,6 +373,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -377,7 +382,7 @@ class Controller(object):
csi__pb2.CreateVolumeRequest.SerializeToString,
csi__pb2.CreateVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteVolume(request,
@@ -385,6 +390,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -393,7 +399,7 @@ class Controller(object):
csi__pb2.DeleteVolumeRequest.SerializeToString,
csi__pb2.DeleteVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ControllerPublishVolume(request,
@@ -401,6 +407,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -409,7 +416,7 @@ class Controller(object):
csi__pb2.ControllerPublishVolumeRequest.SerializeToString,
csi__pb2.ControllerPublishVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ControllerUnpublishVolume(request,
@@ -417,6 +424,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -425,7 +433,7 @@ class Controller(object):
csi__pb2.ControllerUnpublishVolumeRequest.SerializeToString,
csi__pb2.ControllerUnpublishVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ValidateVolumeCapabilities(request,
@@ -433,6 +441,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -441,7 +450,7 @@ class Controller(object):
csi__pb2.ValidateVolumeCapabilitiesRequest.SerializeToString,
csi__pb2.ValidateVolumeCapabilitiesResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListVolumes(request,
@@ -449,6 +458,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -457,7 +467,7 @@ class Controller(object):
csi__pb2.ListVolumesRequest.SerializeToString,
csi__pb2.ListVolumesResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def GetCapacity(request,
@@ -465,6 +475,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -473,7 +484,7 @@ class Controller(object):
csi__pb2.GetCapacityRequest.SerializeToString,
csi__pb2.GetCapacityResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ControllerGetCapabilities(request,
@@ -481,6 +492,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -489,7 +501,7 @@ class Controller(object):
csi__pb2.ControllerGetCapabilitiesRequest.SerializeToString,
csi__pb2.ControllerGetCapabilitiesResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def CreateSnapshot(request,
@@ -497,6 +509,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -505,7 +518,7 @@ class Controller(object):
csi__pb2.CreateSnapshotRequest.SerializeToString,
csi__pb2.CreateSnapshotResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def DeleteSnapshot(request,
@@ -513,6 +526,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -521,7 +535,7 @@ class Controller(object):
csi__pb2.DeleteSnapshotRequest.SerializeToString,
csi__pb2.DeleteSnapshotResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ListSnapshots(request,
@@ -529,6 +543,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -537,7 +552,7 @@ class Controller(object):
csi__pb2.ListSnapshotsRequest.SerializeToString,
csi__pb2.ListSnapshotsResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ControllerExpandVolume(request,
@@ -545,6 +560,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -553,7 +569,7 @@ class Controller(object):
csi__pb2.ControllerExpandVolumeRequest.SerializeToString,
csi__pb2.ControllerExpandVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def ControllerGetVolume(request,
@@ -561,6 +577,7 @@ class Controller(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -569,11 +586,11 @@ class Controller(object):
csi__pb2.ControllerGetVolumeRequest.SerializeToString,
csi__pb2.ControllerGetVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
class NodeStub(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def __init__(self, channel):
"""Constructor.
@@ -624,52 +641,52 @@ class NodeStub(object):
class NodeServicer(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
def NodeStageVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodeUnstageVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodePublishVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodeUnpublishVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodeGetVolumeStats(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodeExpandVolume(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodeGetCapabilities(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
def NodeGetInfo(self, request, context):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
context.set_details('Method not implemented!')
raise NotImplementedError('Method not implemented!')
@@ -725,7 +742,7 @@ def add_NodeServicer_to_server(servicer, server):
# This class is part of an EXPERIMENTAL API.
class Node(object):
"""Missing associated documentation comment in .proto file"""
"""Missing associated documentation comment in .proto file."""
@staticmethod
def NodeStageVolume(request,
@@ -733,6 +750,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -741,7 +759,7 @@ class Node(object):
csi__pb2.NodeStageVolumeRequest.SerializeToString,
csi__pb2.NodeStageVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodeUnstageVolume(request,
@@ -749,6 +767,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -757,7 +776,7 @@ class Node(object):
csi__pb2.NodeUnstageVolumeRequest.SerializeToString,
csi__pb2.NodeUnstageVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodePublishVolume(request,
@@ -765,6 +784,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -773,7 +793,7 @@ class Node(object):
csi__pb2.NodePublishVolumeRequest.SerializeToString,
csi__pb2.NodePublishVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodeUnpublishVolume(request,
@@ -781,6 +801,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -789,7 +810,7 @@ class Node(object):
csi__pb2.NodeUnpublishVolumeRequest.SerializeToString,
csi__pb2.NodeUnpublishVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodeGetVolumeStats(request,
@@ -797,6 +818,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -805,7 +827,7 @@ class Node(object):
csi__pb2.NodeGetVolumeStatsRequest.SerializeToString,
csi__pb2.NodeGetVolumeStatsResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodeExpandVolume(request,
@@ -813,6 +835,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -821,7 +844,7 @@ class Node(object):
csi__pb2.NodeExpandVolumeRequest.SerializeToString,
csi__pb2.NodeExpandVolumeResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodeGetCapabilities(request,
@@ -829,6 +852,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -837,7 +861,7 @@ class Node(object):
csi__pb2.NodeGetCapabilitiesRequest.SerializeToString,
csi__pb2.NodeGetCapabilitiesResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@staticmethod
def NodeGetInfo(request,
@@ -845,6 +869,7 @@ class Node(object):
options=(),
channel_credentials=None,
call_credentials=None,
insecure=False,
compression=None,
wait_for_ready=None,
timeout=None,
@@ -853,4 +878,4 @@ class Node(object):
csi__pb2.NodeGetInfoRequest.SerializeToString,
csi__pb2.NodeGetInfoResponse.FromString,
options, channel_credentials,
call_credentials, compression, wait_for_ready, timeout, metadata)
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)