diff --git a/csi.proto b/csi.proto index 2b11288c..3d18fd30 100644 --- a/csi.proto +++ b/csi.proto @@ -130,13 +130,21 @@ message PluginCapability { // as specific RPCs as indicated by ControllerGetCapabilities. CONTROLLER_SERVICE = 1; - // ACCESSIBILITY_CONSTRAINTS indicates that the volumes for this - // plugin may not be equally accessible by all nodes in the + // VOLUME_ACCESSIBILITY_CONSTRAINTS indicates that the volumes for + // this plugin may not be equally accessible by all nodes in the // cluster. The CO MUST use the topology information returned by // CreateVolumeRequest along with the topology information // returned by NodeGetInfo to ensure that a given volume is // accessible from a given node when scheduling workloads. - ACCESSIBILITY_CONSTRAINTS = 2; + VOLUME_ACCESSIBILITY_CONSTRAINTS = 2; + + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS indicates that the snapshots + // for this plugin may not be equally accessible by all nodes in + // the cluster. The CO MUST use the topology information returned + // by CreateSnapshotRequest along with the topology information + // returned by NodeGetInfo to ensure that a given snapshot is + // accessible from a given node when scheduling workloads. + SNAPSHOT_ACCESSIBILITY_CONSTRAINTS = 3; } Type type = 1; } @@ -231,10 +239,10 @@ message CreateVolumeRequest { // topological accessibility information supported by the SP. // This field is OPTIONAL. // This field SHALL NOT be specified unless the SP has the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability. // If this field is not specified and the SP has the - // ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY choose - // where the provisioned volume is accessible from. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY + // choose where the provisioned volume is accessible from. TopologyRequirement accessibility_requirements = 7; } @@ -368,7 +376,7 @@ message Volume { // Specifies where (regions, zones, racks, etc.) the provisioned // volume is accessible from. // A plugin that returns this field MUST also set the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability. // An SP MAY specify multiple topologies to indicate the volume is // accessible from multiple locations. // COs MAY use this information along with the topology information @@ -394,99 +402,109 @@ message Volume { } message TopologyRequirement { - // Specifies the list of topologies the provisioned volume MUST be - // accessible from. + // Specifies the list of topologies the provisioned volume or + // snapshot MUST be accessible from. // This field is OPTIONAL. If TopologyRequirement is specified either // requisite or preferred or both MUST be specified. // - // If requisite is specified, the provisioned volume MUST be - // accessible from at least one of the requisite topologies. + // If requisite is specified, the provisioned volume or snapshot MUST + // be accessible from at least one of the requisite topologies. // // Given - // x = number of topologies provisioned volume is accessible from + // x = number of topologies provisioned volume or snapshot is + // accessible from // n = number of requisite topologies // The CO MUST ensure n >= 1. The SP MUST ensure x >= 1 - // If x==n, than the SP MUST make the provisioned volume available to - // all topologies from the list of requisite topologies. If it is - // unable to do so, the SP MUST fail the CreateVolume call. - // For example, if a volume should be accessible from a single zone, - // and requisite = + // If x==n, than the SP MUST make the provisioned volume or snapshot + // available to all topologies from the list of requisite topologies. + // If it is unable to do so, the SP MUST fail the CreateVolume or + // CreateSnapshot call. For example, if a volume or snapshot should be + // accessible from a single zone, and + // requisite = // {"region": "R1", "zone": "Z2"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and the "zone" "Z2". - // Similarly, if a volume should be accessible from two zones, and + // then the provisioned volume or snapshot MUST be accessible from + // the "region" "R1" and the "zone" "Z2". + // Similarly, if a volume or snapshot should be accessible from two + // zones, and // requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and both "zone" "Z2" and "zone" "Z3". + // then the provisioned volume or snapshot MUST be accessible from the + // "region" "R1" and both "zone" "Z2" and "zone" "Z3". // // If xn, than the SP MUST make the provisioned volume available from - // all topologies from the list of requisite topologies and MAY choose - // the remaining x-n unique topologies from the list of all possible - // topologies. If it is unable to do so, the SP MUST fail the - // CreateVolume call. - // For example, if a volume should be accessible from two zones, and + // If x>n, than the SP MUST make the provisioned volume or snapshot + // available from all topologies from the list of requisite topologies + // and MAY choose the remaining x-n unique topologies from the list of + // all possible topologies. If it is unable to do so, the SP MUST fail + // the CreateVolume or CreateSnapshot call. + // For example, if a volume or snapshot should be accessible from two + // zones, and // requisite = // {"region": "R1", "zone": "Z2"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and the "zone" "Z2" and the SP may select the second zone - // independently, e.g. "R1/Z4". + // then the provisioned volume or snapshot MUST be accessible from the + // "region" "R1" and the "zone" "Z2" and the SP may select the second + // zone independently, e.g. "R1/Z4". repeated Topology requisite = 1; - // Specifies the list of topologies the CO would prefer the volume to - // be provisioned in. + // Specifies the list of topologies the CO would prefer the volume or + // snapshot to be provisioned in. // // This field is OPTIONAL. If TopologyRequirement is specified either // requisite or preferred or both MUST be specified. // - // An SP MUST attempt to make the provisioned volume available using - // the preferred topologies in order from first to last. + // An SP MUST attempt to make the provisioned volume or snapshot + // available using the preferred topologies in order from first to + // last. // // If requisite is specified, all topologies in preferred list MUST // also be present in the list of requisite topologies. // - // If the SP is unable to to make the provisioned volume available - // from any of the preferred topologies, the SP MAY choose a topology - // from the list of requisite topologies. + // If the SP is unable to to make the provisioned volume or snapshot + // available from any of the preferred topologies, the SP MAY choose + // a topology from the list of requisite topologies. // If the list of requisite topologies is not specified, then the SP // MAY choose from the list of all possible topologies. // If the list of requisite topologies is specified and the SP is - // unable to to make the provisioned volume available from any of the - // requisite topologies it MUST fail the CreateVolume call. + // unable to to make the provisioned volume or snapshot available from + // any of the requisite topologies it MUST fail the CreateVolume or + // CreateSnapshot call. // // Example 1: - // Given a volume should be accessible from a single zone, and - // requisite = + // Given a volume or snapshot should be accessible from a single zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"} // preferred = // {"region": "R1", "zone": "Z3"} // then the the SP SHOULD first attempt to make the provisioned volume - // available from "zone" "Z3" in the "region" "R1" and fall back to - // "zone" "Z2" in the "region" "R1" if that is not possible. + // or snapshot available from "zone" "Z3" in the "region" "R1" and + // fall back to "zone" "Z2" in the "region" "R1" if that is not + // possible. // // Example 2: - // Given a volume should be accessible from a single zone, and - // requisite = + // Given a volume or snapshot should be accessible from a single zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"}, // {"region": "R1", "zone": "Z4"}, @@ -495,17 +513,20 @@ message TopologyRequirement { // {"region": "R1", "zone": "Z4"}, // {"region": "R1", "zone": "Z2"} // then the the SP SHOULD first attempt to make the provisioned volume - // accessible from "zone" "Z4" in the "region" "R1" and fall back to - // "zone" "Z2" in the "region" "R1" if that is not possible. If that - // is not possible, the SP may choose between either the "zone" - // "Z3" or "Z5" in the "region" "R1". + // or snapshot accessible from "zone" "Z4" in the "region" "R1" and + // fall back to "zone" "Z2" in the "region" "R1" if that is not + // possible. If that is not possible, the SP may choose between either + // the "zone" "Z3" or "Z5" in the "region" "R1". // // Example 3: - // Given a volume should be accessible from TWO zones (because an - // opaque parameter in CreateVolumeRequest, for example, specifies - // the volume is accessible from two zones, aka synchronously - // replicated), and - // requisite = + // A volume or snapshot MAY be required to be accessible from TWO + // zones. This MAY be indicated by an opaque parameter in + // CreateVolumeRequest that specifies the volume to be accessible from + // two zones, aka synchronously replicated. While accessibility + // requirements MAY be satisfied by replication, CO MUST NOT assume + // accessibility requires replication. + // Given a volume or snapshot should be accessible from TWO zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"}, // {"region": "R1", "zone": "Z4"}, @@ -514,10 +535,10 @@ message TopologyRequirement { // {"region": "R1", "zone": "Z5"}, // {"region": "R1", "zone": "Z3"} // then the the SP SHOULD first attempt to make the provisioned volume - // accessible from the combination of the two "zones" "Z5" and "Z3" in - // the "region" "R1". If that's not possible, it should fall back to - // a combination of "Z5" and other possibilities from the list of - // requisite. If that's not possible, it should fall back to a + // or snapshot accessible from the combination of the two "zones" "Z5" + // and "Z3" in the "region" "R1". If that's not possible, it should + // fall back to a combination of "Z5" and other possibilities from the + // list of requisite. If that's not possible, it should fall back to a // combination of "Z3" and other possibilities from the list of // requisite. If that's not possible, it should fall back to a // combination of other possibilities from the list of requisite. @@ -642,7 +663,7 @@ message ValidateVolumeCapabilitiesRequest { // A caller MAY specify multiple topologies to indicate they believe // the volume to be accessible from multiple locations. // This field is OPTIONAL. This field SHALL NOT be set unless the - // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability. + // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability. repeated Topology accessible_topology = 4; } @@ -708,7 +729,7 @@ message GetCapacityRequest { // `accessible_topology`. This is the same as the // `accessible_topology` the CO returns in a `CreateVolumeResponse`. // This field is OPTIONAL. This field SHALL NOT be set unless the - // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability. + // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability. Topology accessible_topology = 3; } @@ -785,6 +806,19 @@ message CreateSnapshotRequest { // - Specify primary or secondary for replication systems that // support snapshotting only on primary. map parameters = 4; + + // Specifies where (regions, zones, racks, etc.) the provisioned + // snapshot MUST be accessible from. + // An SP SHALL advertise the requirements for topological + // accessibility information in documentation. COs SHALL only specify + // topological accessibility information supported by the SP. + // This field is OPTIONAL. + // This field SHALL NOT be specified unless the SP has the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. + // If this field is not specified and the SP has the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY + // choose where the provisioned snapshot is accessible from. + TopologyRequirement accessibility_requirements = 5; } message CreateSnapshotResponse { @@ -825,6 +859,33 @@ message Snapshot { // The status of a snapshot. SnapshotStatus status = 5; + + // Specifies where (regions, zones, racks, etc.) the provisioned + // snapshot is accessible from. + // A plugin that returns this field MUST also set the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. + // An SP MAY specify multiple topologies to indicate the snapshot is + // accessible from multiple locations. + // COs MAY use this information along with the topology information + // returned by NodeGetInfo to ensure that a given snapshot is + // accessible from a given node when scheduling workloads. + // This field is OPTIONAL. If it is not specified, the CO MAY assume + // the snapshot is equally accessible from all nodes in the cluster + // and may schedule workloads referencing the snapshot on any + // available node. + // + // Example 1: + // accessible_topology = {"region": "R1", "zone": "Z2"} + // Indicates a snapshot accessible only from the "region" "R1" and the + // "zone" "Z2". + // + // Example 2: + // accessible_topology = + // {"region": "R1", "zone": "Z2"}, + // {"region": "R1", "zone": "Z3"} + // Indicates a snapshot accessible from both "zone" "Z2" and "zone" + // "Z3" in the "region" "R1". + repeated Topology accessible_topology = 6; } // The status of a snapshot. @@ -1120,10 +1181,12 @@ message NodeGetInfoResponse { // Specifies where (regions, zones, racks, etc.) the node is // accessible from. // A plugin that returns this field MUST also set the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS or + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. // COs MAY use this information along with the topology information - // returned in CreateVolumeResponse to ensure that a given volume is - // accessible from a given node when scheduling workloads. + // returned in CreateVolumeResponse CreateSnapshotResponse to ensure + // that a given volume or snapshot is accessible from a given node + // when scheduling workloads. // This field is OPTIONAL. If it is not specified, the CO MAY assume // the node is not subject to any topological constraint, and MAY // schedule workloads that reference any volume V, such that there are diff --git a/lib/go/csi/v0/csi.pb.go b/lib/go/csi/v0/csi.pb.go index c76730cd..55a2e4fb 100644 --- a/lib/go/csi/v0/csi.pb.go +++ b/lib/go/csi/v0/csi.pb.go @@ -37,31 +37,40 @@ const ( // attempt to invoke the REQUIRED ControllerService RPCs, as well // as specific RPCs as indicated by ControllerGetCapabilities. PluginCapability_Service_CONTROLLER_SERVICE PluginCapability_Service_Type = 1 - // ACCESSIBILITY_CONSTRAINTS indicates that the volumes for this - // plugin may not be equally accessible by all nodes in the + // VOLUME_ACCESSIBILITY_CONSTRAINTS indicates that the volumes for + // this plugin may not be equally accessible by all nodes in the // cluster. The CO MUST use the topology information returned by // CreateVolumeRequest along with the topology information // returned by NodeGetInfo to ensure that a given volume is // accessible from a given node when scheduling workloads. - PluginCapability_Service_ACCESSIBILITY_CONSTRAINTS PluginCapability_Service_Type = 2 + PluginCapability_Service_VOLUME_ACCESSIBILITY_CONSTRAINTS PluginCapability_Service_Type = 2 + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS indicates that the snapshots + // for this plugin may not be equally accessible by all nodes in + // the cluster. The CO MUST use the topology information returned + // by CreateSnapshotRequest along with the topology information + // returned by NodeGetInfo to ensure that a given snapshot is + // accessible from a given node when scheduling workloads. + PluginCapability_Service_SNAPSHOT_ACCESSIBILITY_CONSTRAINTS PluginCapability_Service_Type = 3 ) var PluginCapability_Service_Type_name = map[int32]string{ 0: "UNKNOWN", 1: "CONTROLLER_SERVICE", - 2: "ACCESSIBILITY_CONSTRAINTS", + 2: "VOLUME_ACCESSIBILITY_CONSTRAINTS", + 3: "SNAPSHOT_ACCESSIBILITY_CONSTRAINTS", } var PluginCapability_Service_Type_value = map[string]int32{ - "UNKNOWN": 0, - "CONTROLLER_SERVICE": 1, - "ACCESSIBILITY_CONSTRAINTS": 2, + "UNKNOWN": 0, + "CONTROLLER_SERVICE": 1, + "VOLUME_ACCESSIBILITY_CONSTRAINTS": 2, + "SNAPSHOT_ACCESSIBILITY_CONSTRAINTS": 3, } func (x PluginCapability_Service_Type) String() string { return proto.EnumName(PluginCapability_Service_Type_name, int32(x)) } func (PluginCapability_Service_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{4, 0, 0} + return fileDescriptor_csi_932e42b466eac230, []int{4, 0, 0} } type VolumeCapability_AccessMode_Mode int32 @@ -105,7 +114,7 @@ func (x VolumeCapability_AccessMode_Mode) String() string { return proto.EnumName(VolumeCapability_AccessMode_Mode_name, int32(x)) } func (VolumeCapability_AccessMode_Mode) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{10, 2, 0} + return fileDescriptor_csi_932e42b466eac230, []int{10, 2, 0} } type ControllerServiceCapability_RPC_Type int32 @@ -151,7 +160,7 @@ func (x ControllerServiceCapability_RPC_Type) String() string { return proto.EnumName(ControllerServiceCapability_RPC_Type_name, int32(x)) } func (ControllerServiceCapability_RPC_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{29, 0, 0} + return fileDescriptor_csi_932e42b466eac230, []int{29, 0, 0} } type SnapshotStatus_Type int32 @@ -193,7 +202,7 @@ func (x SnapshotStatus_Type) String() string { return proto.EnumName(SnapshotStatus_Type_name, int32(x)) } func (SnapshotStatus_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{33, 0} + return fileDescriptor_csi_932e42b466eac230, []int{33, 0} } type VolumeUsage_Unit int32 @@ -219,7 +228,7 @@ func (x VolumeUsage_Unit) String() string { return proto.EnumName(VolumeUsage_Unit_name, int32(x)) } func (VolumeUsage_Unit) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{48, 0} + return fileDescriptor_csi_932e42b466eac230, []int{48, 0} } type NodeServiceCapability_RPC_Type int32 @@ -248,7 +257,7 @@ func (x NodeServiceCapability_RPC_Type) String() string { return proto.EnumName(NodeServiceCapability_RPC_Type_name, int32(x)) } func (NodeServiceCapability_RPC_Type) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{53, 0, 0} + return fileDescriptor_csi_932e42b466eac230, []int{53, 0, 0} } type GetPluginInfoRequest struct { @@ -261,7 +270,7 @@ func (m *GetPluginInfoRequest) Reset() { *m = GetPluginInfoRequest{} } func (m *GetPluginInfoRequest) String() string { return proto.CompactTextString(m) } func (*GetPluginInfoRequest) ProtoMessage() {} func (*GetPluginInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{0} + return fileDescriptor_csi_932e42b466eac230, []int{0} } func (m *GetPluginInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPluginInfoRequest.Unmarshal(m, b) @@ -303,7 +312,7 @@ func (m *GetPluginInfoResponse) Reset() { *m = GetPluginInfoResponse{} } func (m *GetPluginInfoResponse) String() string { return proto.CompactTextString(m) } func (*GetPluginInfoResponse) ProtoMessage() {} func (*GetPluginInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{1} + return fileDescriptor_csi_932e42b466eac230, []int{1} } func (m *GetPluginInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPluginInfoResponse.Unmarshal(m, b) @@ -354,7 +363,7 @@ func (m *GetPluginCapabilitiesRequest) Reset() { *m = GetPluginCapabilit func (m *GetPluginCapabilitiesRequest) String() string { return proto.CompactTextString(m) } func (*GetPluginCapabilitiesRequest) ProtoMessage() {} func (*GetPluginCapabilitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{2} + return fileDescriptor_csi_932e42b466eac230, []int{2} } func (m *GetPluginCapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPluginCapabilitiesRequest.Unmarshal(m, b) @@ -387,7 +396,7 @@ func (m *GetPluginCapabilitiesResponse) Reset() { *m = GetPluginCapabili func (m *GetPluginCapabilitiesResponse) String() string { return proto.CompactTextString(m) } func (*GetPluginCapabilitiesResponse) ProtoMessage() {} func (*GetPluginCapabilitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{3} + return fileDescriptor_csi_932e42b466eac230, []int{3} } func (m *GetPluginCapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetPluginCapabilitiesResponse.Unmarshal(m, b) @@ -428,7 +437,7 @@ func (m *PluginCapability) Reset() { *m = PluginCapability{} } func (m *PluginCapability) String() string { return proto.CompactTextString(m) } func (*PluginCapability) ProtoMessage() {} func (*PluginCapability) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{4} + return fileDescriptor_csi_932e42b466eac230, []int{4} } func (m *PluginCapability) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PluginCapability.Unmarshal(m, b) @@ -538,7 +547,7 @@ func (m *PluginCapability_Service) Reset() { *m = PluginCapability_Servi func (m *PluginCapability_Service) String() string { return proto.CompactTextString(m) } func (*PluginCapability_Service) ProtoMessage() {} func (*PluginCapability_Service) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{4, 0} + return fileDescriptor_csi_932e42b466eac230, []int{4, 0} } func (m *PluginCapability_Service) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_PluginCapability_Service.Unmarshal(m, b) @@ -575,7 +584,7 @@ func (m *ProbeRequest) Reset() { *m = ProbeRequest{} } func (m *ProbeRequest) String() string { return proto.CompactTextString(m) } func (*ProbeRequest) ProtoMessage() {} func (*ProbeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{5} + return fileDescriptor_csi_932e42b466eac230, []int{5} } func (m *ProbeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProbeRequest.Unmarshal(m, b) @@ -626,7 +635,7 @@ func (m *ProbeResponse) Reset() { *m = ProbeResponse{} } func (m *ProbeResponse) String() string { return proto.CompactTextString(m) } func (*ProbeResponse) ProtoMessage() {} func (*ProbeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{6} + return fileDescriptor_csi_932e42b466eac230, []int{6} } func (m *ProbeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ProbeResponse.Unmarshal(m, b) @@ -698,10 +707,10 @@ type CreateVolumeRequest struct { // topological accessibility information supported by the SP. // This field is OPTIONAL. // This field SHALL NOT be specified unless the SP has the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability. // If this field is not specified and the SP has the - // ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY choose - // where the provisioned volume is accessible from. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY + // choose where the provisioned volume is accessible from. AccessibilityRequirements *TopologyRequirement `protobuf:"bytes,7,opt,name=accessibility_requirements,json=accessibilityRequirements,proto3" json:"accessibility_requirements,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -712,7 +721,7 @@ func (m *CreateVolumeRequest) Reset() { *m = CreateVolumeRequest{} } func (m *CreateVolumeRequest) String() string { return proto.CompactTextString(m) } func (*CreateVolumeRequest) ProtoMessage() {} func (*CreateVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{7} + return fileDescriptor_csi_932e42b466eac230, []int{7} } func (m *CreateVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVolumeRequest.Unmarshal(m, b) @@ -796,7 +805,7 @@ func (m *VolumeContentSource) Reset() { *m = VolumeContentSource{} } func (m *VolumeContentSource) String() string { return proto.CompactTextString(m) } func (*VolumeContentSource) ProtoMessage() {} func (*VolumeContentSource) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{8} + return fileDescriptor_csi_932e42b466eac230, []int{8} } func (m *VolumeContentSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeContentSource.Unmarshal(m, b) @@ -910,7 +919,7 @@ func (m *VolumeContentSource_SnapshotSource) Reset() { *m = VolumeConten func (m *VolumeContentSource_SnapshotSource) String() string { return proto.CompactTextString(m) } func (*VolumeContentSource_SnapshotSource) ProtoMessage() {} func (*VolumeContentSource_SnapshotSource) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{8, 0} + return fileDescriptor_csi_932e42b466eac230, []int{8, 0} } func (m *VolumeContentSource_SnapshotSource) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeContentSource_SnapshotSource.Unmarshal(m, b) @@ -951,7 +960,7 @@ func (m *CreateVolumeResponse) Reset() { *m = CreateVolumeResponse{} } func (m *CreateVolumeResponse) String() string { return proto.CompactTextString(m) } func (*CreateVolumeResponse) ProtoMessage() {} func (*CreateVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{9} + return fileDescriptor_csi_932e42b466eac230, []int{9} } func (m *CreateVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateVolumeResponse.Unmarshal(m, b) @@ -998,7 +1007,7 @@ func (m *VolumeCapability) Reset() { *m = VolumeCapability{} } func (m *VolumeCapability) String() string { return proto.CompactTextString(m) } func (*VolumeCapability) ProtoMessage() {} func (*VolumeCapability) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{10} + return fileDescriptor_csi_932e42b466eac230, []int{10} } func (m *VolumeCapability) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeCapability.Unmarshal(m, b) @@ -1147,7 +1156,7 @@ func (m *VolumeCapability_BlockVolume) Reset() { *m = VolumeCapability_B func (m *VolumeCapability_BlockVolume) String() string { return proto.CompactTextString(m) } func (*VolumeCapability_BlockVolume) ProtoMessage() {} func (*VolumeCapability_BlockVolume) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{10, 0} + return fileDescriptor_csi_932e42b466eac230, []int{10, 0} } func (m *VolumeCapability_BlockVolume) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeCapability_BlockVolume.Unmarshal(m, b) @@ -1187,7 +1196,7 @@ func (m *VolumeCapability_MountVolume) Reset() { *m = VolumeCapability_M func (m *VolumeCapability_MountVolume) String() string { return proto.CompactTextString(m) } func (*VolumeCapability_MountVolume) ProtoMessage() {} func (*VolumeCapability_MountVolume) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{10, 1} + return fileDescriptor_csi_932e42b466eac230, []int{10, 1} } func (m *VolumeCapability_MountVolume) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeCapability_MountVolume.Unmarshal(m, b) @@ -1234,7 +1243,7 @@ func (m *VolumeCapability_AccessMode) Reset() { *m = VolumeCapability_Ac func (m *VolumeCapability_AccessMode) String() string { return proto.CompactTextString(m) } func (*VolumeCapability_AccessMode) ProtoMessage() {} func (*VolumeCapability_AccessMode) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{10, 2} + return fileDescriptor_csi_932e42b466eac230, []int{10, 2} } func (m *VolumeCapability_AccessMode) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeCapability_AccessMode.Unmarshal(m, b) @@ -1282,7 +1291,7 @@ func (m *CapacityRange) Reset() { *m = CapacityRange{} } func (m *CapacityRange) String() string { return proto.CompactTextString(m) } func (*CapacityRange) ProtoMessage() {} func (*CapacityRange) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{11} + return fileDescriptor_csi_932e42b466eac230, []int{11} } func (m *CapacityRange) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CapacityRange.Unmarshal(m, b) @@ -1343,7 +1352,7 @@ type Volume struct { // Specifies where (regions, zones, racks, etc.) the provisioned // volume is accessible from. // A plugin that returns this field MUST also set the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability. // An SP MAY specify multiple topologies to indicate the volume is // accessible from multiple locations. // COs MAY use this information along with the topology information @@ -1375,7 +1384,7 @@ func (m *Volume) Reset() { *m = Volume{} } func (m *Volume) String() string { return proto.CompactTextString(m) } func (*Volume) ProtoMessage() {} func (*Volume) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{12} + return fileDescriptor_csi_932e42b466eac230, []int{12} } func (m *Volume) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Volume.Unmarshal(m, b) @@ -1431,98 +1440,108 @@ func (m *Volume) GetAccessibleTopology() []*Topology { } type TopologyRequirement struct { - // Specifies the list of topologies the provisioned volume MUST be - // accessible from. + // Specifies the list of topologies the provisioned volume or + // snapshot MUST be accessible from. // This field is OPTIONAL. If TopologyRequirement is specified either // requisite or preferred or both MUST be specified. // - // If requisite is specified, the provisioned volume MUST be - // accessible from at least one of the requisite topologies. + // If requisite is specified, the provisioned volume or snapshot MUST + // be accessible from at least one of the requisite topologies. // // Given - // x = number of topologies provisioned volume is accessible from + // x = number of topologies provisioned volume or snapshot is + // accessible from // n = number of requisite topologies // The CO MUST ensure n >= 1. The SP MUST ensure x >= 1 - // If x==n, than the SP MUST make the provisioned volume available to - // all topologies from the list of requisite topologies. If it is - // unable to do so, the SP MUST fail the CreateVolume call. - // For example, if a volume should be accessible from a single zone, - // and requisite = + // If x==n, than the SP MUST make the provisioned volume or snapshot + // available to all topologies from the list of requisite topologies. + // If it is unable to do so, the SP MUST fail the CreateVolume or + // CreateSnapshot call. For example, if a volume or snapshot should be + // accessible from a single zone, and + // requisite = // {"region": "R1", "zone": "Z2"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and the "zone" "Z2". - // Similarly, if a volume should be accessible from two zones, and + // then the provisioned volume or snapshot MUST be accessible from + // the "region" "R1" and the "zone" "Z2". + // Similarly, if a volume or snapshot should be accessible from two + // zones, and // requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and both "zone" "Z2" and "zone" "Z3". + // then the provisioned volume or snapshot MUST be accessible from the + // "region" "R1" and both "zone" "Z2" and "zone" "Z3". // // If xn, than the SP MUST make the provisioned volume available from - // all topologies from the list of requisite topologies and MAY choose - // the remaining x-n unique topologies from the list of all possible - // topologies. If it is unable to do so, the SP MUST fail the - // CreateVolume call. - // For example, if a volume should be accessible from two zones, and + // If x>n, than the SP MUST make the provisioned volume or snapshot + // available from all topologies from the list of requisite topologies + // and MAY choose the remaining x-n unique topologies from the list of + // all possible topologies. If it is unable to do so, the SP MUST fail + // the CreateVolume or CreateSnapshot call. + // For example, if a volume or snapshot should be accessible from two + // zones, and // requisite = // {"region": "R1", "zone": "Z2"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and the "zone" "Z2" and the SP may select the second zone - // independently, e.g. "R1/Z4". + // then the provisioned volume or snapshot MUST be accessible from the + // "region" "R1" and the "zone" "Z2" and the SP may select the second + // zone independently, e.g. "R1/Z4". Requisite []*Topology `protobuf:"bytes,1,rep,name=requisite,proto3" json:"requisite,omitempty"` - // Specifies the list of topologies the CO would prefer the volume to - // be provisioned in. + // Specifies the list of topologies the CO would prefer the volume or + // snapshot to be provisioned in. // // This field is OPTIONAL. If TopologyRequirement is specified either // requisite or preferred or both MUST be specified. // - // An SP MUST attempt to make the provisioned volume available using - // the preferred topologies in order from first to last. + // An SP MUST attempt to make the provisioned volume or snapshot + // available using the preferred topologies in order from first to + // last. // // If requisite is specified, all topologies in preferred list MUST // also be present in the list of requisite topologies. // - // If the SP is unable to to make the provisioned volume available - // from any of the preferred topologies, the SP MAY choose a topology - // from the list of requisite topologies. + // If the SP is unable to to make the provisioned volume or snapshot + // available from any of the preferred topologies, the SP MAY choose + // a topology from the list of requisite topologies. // If the list of requisite topologies is not specified, then the SP // MAY choose from the list of all possible topologies. // If the list of requisite topologies is specified and the SP is - // unable to to make the provisioned volume available from any of the - // requisite topologies it MUST fail the CreateVolume call. + // unable to to make the provisioned volume or snapshot available from + // any of the requisite topologies it MUST fail the CreateVolume or + // CreateSnapshot call. // // Example 1: - // Given a volume should be accessible from a single zone, and - // requisite = + // Given a volume or snapshot should be accessible from a single zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"} // preferred = // {"region": "R1", "zone": "Z3"} // then the the SP SHOULD first attempt to make the provisioned volume - // available from "zone" "Z3" in the "region" "R1" and fall back to - // "zone" "Z2" in the "region" "R1" if that is not possible. + // or snapshot available from "zone" "Z3" in the "region" "R1" and + // fall back to "zone" "Z2" in the "region" "R1" if that is not + // possible. // // Example 2: - // Given a volume should be accessible from a single zone, and - // requisite = + // Given a volume or snapshot should be accessible from a single zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"}, // {"region": "R1", "zone": "Z4"}, @@ -1531,17 +1550,20 @@ type TopologyRequirement struct { // {"region": "R1", "zone": "Z4"}, // {"region": "R1", "zone": "Z2"} // then the the SP SHOULD first attempt to make the provisioned volume - // accessible from "zone" "Z4" in the "region" "R1" and fall back to - // "zone" "Z2" in the "region" "R1" if that is not possible. If that - // is not possible, the SP may choose between either the "zone" - // "Z3" or "Z5" in the "region" "R1". + // or snapshot accessible from "zone" "Z4" in the "region" "R1" and + // fall back to "zone" "Z2" in the "region" "R1" if that is not + // possible. If that is not possible, the SP may choose between either + // the "zone" "Z3" or "Z5" in the "region" "R1". // // Example 3: - // Given a volume should be accessible from TWO zones (because an - // opaque parameter in CreateVolumeRequest, for example, specifies - // the volume is accessible from two zones, aka synchronously - // replicated), and - // requisite = + // A volume or snapshot MAY be required to be accessible from TWO + // zones. This MAY be indicated by an opaque parameter in + // CreateVolumeRequest that specifies the volume to be accessible from + // two zones, aka synchronously replicated. While accessibility + // requirements MAY be satisfied by replication, CO MUST NOT assume + // accessibility requires replication. + // Given a volume or snapshot should be accessible from TWO zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"}, // {"region": "R1", "zone": "Z4"}, @@ -1550,10 +1572,10 @@ type TopologyRequirement struct { // {"region": "R1", "zone": "Z5"}, // {"region": "R1", "zone": "Z3"} // then the the SP SHOULD first attempt to make the provisioned volume - // accessible from the combination of the two "zones" "Z5" and "Z3" in - // the "region" "R1". If that's not possible, it should fall back to - // a combination of "Z5" and other possibilities from the list of - // requisite. If that's not possible, it should fall back to a + // or snapshot accessible from the combination of the two "zones" "Z5" + // and "Z3" in the "region" "R1". If that's not possible, it should + // fall back to a combination of "Z5" and other possibilities from the + // list of requisite. If that's not possible, it should fall back to a // combination of "Z3" and other possibilities from the list of // requisite. If that's not possible, it should fall back to a // combination of other possibilities from the list of requisite. @@ -1567,7 +1589,7 @@ func (m *TopologyRequirement) Reset() { *m = TopologyRequirement{} } func (m *TopologyRequirement) String() string { return proto.CompactTextString(m) } func (*TopologyRequirement) ProtoMessage() {} func (*TopologyRequirement) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{13} + return fileDescriptor_csi_932e42b466eac230, []int{13} } func (m *TopologyRequirement) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_TopologyRequirement.Unmarshal(m, b) @@ -1638,7 +1660,7 @@ func (m *Topology) Reset() { *m = Topology{} } func (m *Topology) String() string { return proto.CompactTextString(m) } func (*Topology) ProtoMessage() {} func (*Topology) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{14} + return fileDescriptor_csi_932e42b466eac230, []int{14} } func (m *Topology) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Topology.Unmarshal(m, b) @@ -1682,7 +1704,7 @@ func (m *DeleteVolumeRequest) Reset() { *m = DeleteVolumeRequest{} } func (m *DeleteVolumeRequest) String() string { return proto.CompactTextString(m) } func (*DeleteVolumeRequest) ProtoMessage() {} func (*DeleteVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{15} + return fileDescriptor_csi_932e42b466eac230, []int{15} } func (m *DeleteVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVolumeRequest.Unmarshal(m, b) @@ -1726,7 +1748,7 @@ func (m *DeleteVolumeResponse) Reset() { *m = DeleteVolumeResponse{} } func (m *DeleteVolumeResponse) String() string { return proto.CompactTextString(m) } func (*DeleteVolumeResponse) ProtoMessage() {} func (*DeleteVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{16} + return fileDescriptor_csi_932e42b466eac230, []int{16} } func (m *DeleteVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteVolumeResponse.Unmarshal(m, b) @@ -1776,7 +1798,7 @@ func (m *ControllerPublishVolumeRequest) Reset() { *m = ControllerPublis func (m *ControllerPublishVolumeRequest) String() string { return proto.CompactTextString(m) } func (*ControllerPublishVolumeRequest) ProtoMessage() {} func (*ControllerPublishVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{17} + return fileDescriptor_csi_932e42b466eac230, []int{17} } func (m *ControllerPublishVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerPublishVolumeRequest.Unmarshal(m, b) @@ -1853,7 +1875,7 @@ func (m *ControllerPublishVolumeResponse) Reset() { *m = ControllerPubli func (m *ControllerPublishVolumeResponse) String() string { return proto.CompactTextString(m) } func (*ControllerPublishVolumeResponse) ProtoMessage() {} func (*ControllerPublishVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{18} + return fileDescriptor_csi_932e42b466eac230, []int{18} } func (m *ControllerPublishVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerPublishVolumeResponse.Unmarshal(m, b) @@ -1904,7 +1926,7 @@ func (m *ControllerUnpublishVolumeRequest) Reset() { *m = ControllerUnpu func (m *ControllerUnpublishVolumeRequest) String() string { return proto.CompactTextString(m) } func (*ControllerUnpublishVolumeRequest) ProtoMessage() {} func (*ControllerUnpublishVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{19} + return fileDescriptor_csi_932e42b466eac230, []int{19} } func (m *ControllerUnpublishVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerUnpublishVolumeRequest.Unmarshal(m, b) @@ -1955,7 +1977,7 @@ func (m *ControllerUnpublishVolumeResponse) Reset() { *m = ControllerUnp func (m *ControllerUnpublishVolumeResponse) String() string { return proto.CompactTextString(m) } func (*ControllerUnpublishVolumeResponse) ProtoMessage() {} func (*ControllerUnpublishVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{20} + return fileDescriptor_csi_932e42b466eac230, []int{20} } func (m *ControllerUnpublishVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerUnpublishVolumeResponse.Unmarshal(m, b) @@ -1990,7 +2012,7 @@ type ValidateVolumeCapabilitiesRequest struct { // A caller MAY specify multiple topologies to indicate they believe // the volume to be accessible from multiple locations. // This field is OPTIONAL. This field SHALL NOT be set unless the - // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability. + // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability. AccessibleTopology []*Topology `protobuf:"bytes,4,rep,name=accessible_topology,json=accessibleTopology,proto3" json:"accessible_topology,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2001,7 +2023,7 @@ func (m *ValidateVolumeCapabilitiesRequest) Reset() { *m = ValidateVolum func (m *ValidateVolumeCapabilitiesRequest) String() string { return proto.CompactTextString(m) } func (*ValidateVolumeCapabilitiesRequest) ProtoMessage() {} func (*ValidateVolumeCapabilitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{21} + return fileDescriptor_csi_932e42b466eac230, []int{21} } func (m *ValidateVolumeCapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValidateVolumeCapabilitiesRequest.Unmarshal(m, b) @@ -2066,7 +2088,7 @@ func (m *ValidateVolumeCapabilitiesResponse) Reset() { *m = ValidateVolu func (m *ValidateVolumeCapabilitiesResponse) String() string { return proto.CompactTextString(m) } func (*ValidateVolumeCapabilitiesResponse) ProtoMessage() {} func (*ValidateVolumeCapabilitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{22} + return fileDescriptor_csi_932e42b466eac230, []int{22} } func (m *ValidateVolumeCapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ValidateVolumeCapabilitiesResponse.Unmarshal(m, b) @@ -2124,7 +2146,7 @@ func (m *ListVolumesRequest) Reset() { *m = ListVolumesRequest{} } func (m *ListVolumesRequest) String() string { return proto.CompactTextString(m) } func (*ListVolumesRequest) ProtoMessage() {} func (*ListVolumesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{23} + return fileDescriptor_csi_932e42b466eac230, []int{23} } func (m *ListVolumesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVolumesRequest.Unmarshal(m, b) @@ -2176,7 +2198,7 @@ func (m *ListVolumesResponse) Reset() { *m = ListVolumesResponse{} } func (m *ListVolumesResponse) String() string { return proto.CompactTextString(m) } func (*ListVolumesResponse) ProtoMessage() {} func (*ListVolumesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{24} + return fileDescriptor_csi_932e42b466eac230, []int{24} } func (m *ListVolumesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVolumesResponse.Unmarshal(m, b) @@ -2221,7 +2243,7 @@ func (m *ListVolumesResponse_Entry) Reset() { *m = ListVolumesResponse_E func (m *ListVolumesResponse_Entry) String() string { return proto.CompactTextString(m) } func (*ListVolumesResponse_Entry) ProtoMessage() {} func (*ListVolumesResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{24, 0} + return fileDescriptor_csi_932e42b466eac230, []int{24, 0} } func (m *ListVolumesResponse_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListVolumesResponse_Entry.Unmarshal(m, b) @@ -2265,7 +2287,7 @@ type GetCapacityRequest struct { // `accessible_topology`. This is the same as the // `accessible_topology` the CO returns in a `CreateVolumeResponse`. // This field is OPTIONAL. This field SHALL NOT be set unless the - // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability. + // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability. AccessibleTopology *Topology `protobuf:"bytes,3,opt,name=accessible_topology,json=accessibleTopology,proto3" json:"accessible_topology,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` @@ -2276,7 +2298,7 @@ func (m *GetCapacityRequest) Reset() { *m = GetCapacityRequest{} } func (m *GetCapacityRequest) String() string { return proto.CompactTextString(m) } func (*GetCapacityRequest) ProtoMessage() {} func (*GetCapacityRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{25} + return fileDescriptor_csi_932e42b466eac230, []int{25} } func (m *GetCapacityRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCapacityRequest.Unmarshal(m, b) @@ -2334,7 +2356,7 @@ func (m *GetCapacityResponse) Reset() { *m = GetCapacityResponse{} } func (m *GetCapacityResponse) String() string { return proto.CompactTextString(m) } func (*GetCapacityResponse) ProtoMessage() {} func (*GetCapacityResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{26} + return fileDescriptor_csi_932e42b466eac230, []int{26} } func (m *GetCapacityResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_GetCapacityResponse.Unmarshal(m, b) @@ -2371,7 +2393,7 @@ func (m *ControllerGetCapabilitiesRequest) Reset() { *m = ControllerGetC func (m *ControllerGetCapabilitiesRequest) String() string { return proto.CompactTextString(m) } func (*ControllerGetCapabilitiesRequest) ProtoMessage() {} func (*ControllerGetCapabilitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{27} + return fileDescriptor_csi_932e42b466eac230, []int{27} } func (m *ControllerGetCapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerGetCapabilitiesRequest.Unmarshal(m, b) @@ -2404,7 +2426,7 @@ func (m *ControllerGetCapabilitiesResponse) Reset() { *m = ControllerGet func (m *ControllerGetCapabilitiesResponse) String() string { return proto.CompactTextString(m) } func (*ControllerGetCapabilitiesResponse) ProtoMessage() {} func (*ControllerGetCapabilitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{28} + return fileDescriptor_csi_932e42b466eac230, []int{28} } func (m *ControllerGetCapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerGetCapabilitiesResponse.Unmarshal(m, b) @@ -2445,7 +2467,7 @@ func (m *ControllerServiceCapability) Reset() { *m = ControllerServiceCa func (m *ControllerServiceCapability) String() string { return proto.CompactTextString(m) } func (*ControllerServiceCapability) ProtoMessage() {} func (*ControllerServiceCapability) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{29} + return fileDescriptor_csi_932e42b466eac230, []int{29} } func (m *ControllerServiceCapability) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerServiceCapability.Unmarshal(m, b) @@ -2555,7 +2577,7 @@ func (m *ControllerServiceCapability_RPC) Reset() { *m = ControllerServi func (m *ControllerServiceCapability_RPC) String() string { return proto.CompactTextString(m) } func (*ControllerServiceCapability_RPC) ProtoMessage() {} func (*ControllerServiceCapability_RPC) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{29, 0} + return fileDescriptor_csi_932e42b466eac230, []int{29, 0} } func (m *ControllerServiceCapability_RPC) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ControllerServiceCapability_RPC.Unmarshal(m, b) @@ -2603,17 +2625,29 @@ type CreateSnapshotRequest struct { // - Specify if the snapshot should be replicated to some place. // - Specify primary or secondary for replication systems that // support snapshotting only on primary. - Parameters map[string]string `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Parameters map[string]string `protobuf:"bytes,4,rep,name=parameters,proto3" json:"parameters,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` + // Specifies where (regions, zones, racks, etc.) the provisioned + // snapshot MUST be accessible from. + // An SP SHALL advertise the requirements for topological + // accessibility information in documentation. COs SHALL only specify + // topological accessibility information supported by the SP. + // This field is OPTIONAL. + // This field SHALL NOT be specified unless the SP has the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. + // If this field is not specified and the SP has the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY + // choose where the provisioned snapshot is accessible from. + AccessibilityRequirements *TopologyRequirement `protobuf:"bytes,5,opt,name=accessibility_requirements,json=accessibilityRequirements,proto3" json:"accessibility_requirements,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *CreateSnapshotRequest) Reset() { *m = CreateSnapshotRequest{} } func (m *CreateSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*CreateSnapshotRequest) ProtoMessage() {} func (*CreateSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{30} + return fileDescriptor_csi_932e42b466eac230, []int{30} } func (m *CreateSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSnapshotRequest.Unmarshal(m, b) @@ -2661,6 +2695,13 @@ func (m *CreateSnapshotRequest) GetParameters() map[string]string { return nil } +func (m *CreateSnapshotRequest) GetAccessibilityRequirements() *TopologyRequirement { + if m != nil { + return m.AccessibilityRequirements + } + return nil +} + type CreateSnapshotResponse struct { // Contains all attributes of the newly created snapshot that are // relevant to the CO along with information required by the Plugin @@ -2675,7 +2716,7 @@ func (m *CreateSnapshotResponse) Reset() { *m = CreateSnapshotResponse{} func (m *CreateSnapshotResponse) String() string { return proto.CompactTextString(m) } func (*CreateSnapshotResponse) ProtoMessage() {} func (*CreateSnapshotResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{31} + return fileDescriptor_csi_932e42b466eac230, []int{31} } func (m *CreateSnapshotResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_CreateSnapshotResponse.Unmarshal(m, b) @@ -2728,17 +2769,43 @@ type Snapshot struct { // field is REQUIRED. CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // The status of a snapshot. - Status *SnapshotStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Status *SnapshotStatus `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` + // Specifies where (regions, zones, racks, etc.) the provisioned + // snapshot is accessible from. + // A plugin that returns this field MUST also set the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. + // An SP MAY specify multiple topologies to indicate the snapshot is + // accessible from multiple locations. + // COs MAY use this information along with the topology information + // returned by NodeGetInfo to ensure that a given snapshot is + // accessible from a given node when scheduling workloads. + // This field is OPTIONAL. If it is not specified, the CO MAY assume + // the snapshot is equally accessible from all nodes in the cluster + // and may schedule workloads referencing the snapshot on any + // available node. + // + // Example 1: + // accessible_topology = {"region": "R1", "zone": "Z2"} + // Indicates a snapshot accessible only from the "region" "R1" and the + // "zone" "Z2". + // + // Example 2: + // accessible_topology = + // {"region": "R1", "zone": "Z2"}, + // {"region": "R1", "zone": "Z3"} + // Indicates a snapshot accessible from both "zone" "Z2" and "zone" + // "Z3" in the "region" "R1". + AccessibleTopology []*Topology `protobuf:"bytes,6,rep,name=accessible_topology,json=accessibleTopology,proto3" json:"accessible_topology,omitempty"` + XXX_NoUnkeyedLiteral struct{} `json:"-"` + XXX_unrecognized []byte `json:"-"` + XXX_sizecache int32 `json:"-"` } func (m *Snapshot) Reset() { *m = Snapshot{} } func (m *Snapshot) String() string { return proto.CompactTextString(m) } func (*Snapshot) ProtoMessage() {} func (*Snapshot) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{32} + return fileDescriptor_csi_932e42b466eac230, []int{32} } func (m *Snapshot) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_Snapshot.Unmarshal(m, b) @@ -2793,6 +2860,13 @@ func (m *Snapshot) GetStatus() *SnapshotStatus { return nil } +func (m *Snapshot) GetAccessibleTopology() []*Topology { + if m != nil { + return m.AccessibleTopology + } + return nil +} + // The status of a snapshot. type SnapshotStatus struct { // This field is REQUIRED. @@ -2809,7 +2883,7 @@ func (m *SnapshotStatus) Reset() { *m = SnapshotStatus{} } func (m *SnapshotStatus) String() string { return proto.CompactTextString(m) } func (*SnapshotStatus) ProtoMessage() {} func (*SnapshotStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{33} + return fileDescriptor_csi_932e42b466eac230, []int{33} } func (m *SnapshotStatus) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_SnapshotStatus.Unmarshal(m, b) @@ -2860,7 +2934,7 @@ func (m *DeleteSnapshotRequest) Reset() { *m = DeleteSnapshotRequest{} } func (m *DeleteSnapshotRequest) String() string { return proto.CompactTextString(m) } func (*DeleteSnapshotRequest) ProtoMessage() {} func (*DeleteSnapshotRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{34} + return fileDescriptor_csi_932e42b466eac230, []int{34} } func (m *DeleteSnapshotRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSnapshotRequest.Unmarshal(m, b) @@ -2904,7 +2978,7 @@ func (m *DeleteSnapshotResponse) Reset() { *m = DeleteSnapshotResponse{} func (m *DeleteSnapshotResponse) String() string { return proto.CompactTextString(m) } func (*DeleteSnapshotResponse) ProtoMessage() {} func (*DeleteSnapshotResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{35} + return fileDescriptor_csi_932e42b466eac230, []int{35} } func (m *DeleteSnapshotResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_DeleteSnapshotResponse.Unmarshal(m, b) @@ -2958,7 +3032,7 @@ func (m *ListSnapshotsRequest) Reset() { *m = ListSnapshotsRequest{} } func (m *ListSnapshotsRequest) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsRequest) ProtoMessage() {} func (*ListSnapshotsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{36} + return fileDescriptor_csi_932e42b466eac230, []int{36} } func (m *ListSnapshotsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsRequest.Unmarshal(m, b) @@ -3024,7 +3098,7 @@ func (m *ListSnapshotsResponse) Reset() { *m = ListSnapshotsResponse{} } func (m *ListSnapshotsResponse) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsResponse) ProtoMessage() {} func (*ListSnapshotsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{37} + return fileDescriptor_csi_932e42b466eac230, []int{37} } func (m *ListSnapshotsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsResponse.Unmarshal(m, b) @@ -3069,7 +3143,7 @@ func (m *ListSnapshotsResponse_Entry) Reset() { *m = ListSnapshotsRespon func (m *ListSnapshotsResponse_Entry) String() string { return proto.CompactTextString(m) } func (*ListSnapshotsResponse_Entry) ProtoMessage() {} func (*ListSnapshotsResponse_Entry) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{37, 0} + return fileDescriptor_csi_932e42b466eac230, []int{37, 0} } func (m *ListSnapshotsResponse_Entry) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_ListSnapshotsResponse_Entry.Unmarshal(m, b) @@ -3131,7 +3205,7 @@ func (m *NodeStageVolumeRequest) Reset() { *m = NodeStageVolumeRequest{} func (m *NodeStageVolumeRequest) String() string { return proto.CompactTextString(m) } func (*NodeStageVolumeRequest) ProtoMessage() {} func (*NodeStageVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{38} + return fileDescriptor_csi_932e42b466eac230, []int{38} } func (m *NodeStageVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeStageVolumeRequest.Unmarshal(m, b) @@ -3203,7 +3277,7 @@ func (m *NodeStageVolumeResponse) Reset() { *m = NodeStageVolumeResponse func (m *NodeStageVolumeResponse) String() string { return proto.CompactTextString(m) } func (*NodeStageVolumeResponse) ProtoMessage() {} func (*NodeStageVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{39} + return fileDescriptor_csi_932e42b466eac230, []int{39} } func (m *NodeStageVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeStageVolumeResponse.Unmarshal(m, b) @@ -3239,7 +3313,7 @@ func (m *NodeUnstageVolumeRequest) Reset() { *m = NodeUnstageVolumeReque func (m *NodeUnstageVolumeRequest) String() string { return proto.CompactTextString(m) } func (*NodeUnstageVolumeRequest) ProtoMessage() {} func (*NodeUnstageVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{40} + return fileDescriptor_csi_932e42b466eac230, []int{40} } func (m *NodeUnstageVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeUnstageVolumeRequest.Unmarshal(m, b) @@ -3283,7 +3357,7 @@ func (m *NodeUnstageVolumeResponse) Reset() { *m = NodeUnstageVolumeResp func (m *NodeUnstageVolumeResponse) String() string { return proto.CompactTextString(m) } func (*NodeUnstageVolumeResponse) ProtoMessage() {} func (*NodeUnstageVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{41} + return fileDescriptor_csi_932e42b466eac230, []int{41} } func (m *NodeUnstageVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeUnstageVolumeResponse.Unmarshal(m, b) @@ -3349,7 +3423,7 @@ func (m *NodePublishVolumeRequest) Reset() { *m = NodePublishVolumeReque func (m *NodePublishVolumeRequest) String() string { return proto.CompactTextString(m) } func (*NodePublishVolumeRequest) ProtoMessage() {} func (*NodePublishVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{42} + return fileDescriptor_csi_932e42b466eac230, []int{42} } func (m *NodePublishVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodePublishVolumeRequest.Unmarshal(m, b) @@ -3435,7 +3509,7 @@ func (m *NodePublishVolumeResponse) Reset() { *m = NodePublishVolumeResp func (m *NodePublishVolumeResponse) String() string { return proto.CompactTextString(m) } func (*NodePublishVolumeResponse) ProtoMessage() {} func (*NodePublishVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{43} + return fileDescriptor_csi_932e42b466eac230, []int{43} } func (m *NodePublishVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodePublishVolumeResponse.Unmarshal(m, b) @@ -3471,7 +3545,7 @@ func (m *NodeUnpublishVolumeRequest) Reset() { *m = NodeUnpublishVolumeR func (m *NodeUnpublishVolumeRequest) String() string { return proto.CompactTextString(m) } func (*NodeUnpublishVolumeRequest) ProtoMessage() {} func (*NodeUnpublishVolumeRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{44} + return fileDescriptor_csi_932e42b466eac230, []int{44} } func (m *NodeUnpublishVolumeRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeUnpublishVolumeRequest.Unmarshal(m, b) @@ -3515,7 +3589,7 @@ func (m *NodeUnpublishVolumeResponse) Reset() { *m = NodeUnpublishVolume func (m *NodeUnpublishVolumeResponse) String() string { return proto.CompactTextString(m) } func (*NodeUnpublishVolumeResponse) ProtoMessage() {} func (*NodeUnpublishVolumeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{45} + return fileDescriptor_csi_932e42b466eac230, []int{45} } func (m *NodeUnpublishVolumeResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeUnpublishVolumeResponse.Unmarshal(m, b) @@ -3553,7 +3627,7 @@ func (m *NodeGetVolumeStatsRequest) Reset() { *m = NodeGetVolumeStatsReq func (m *NodeGetVolumeStatsRequest) String() string { return proto.CompactTextString(m) } func (*NodeGetVolumeStatsRequest) ProtoMessage() {} func (*NodeGetVolumeStatsRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{46} + return fileDescriptor_csi_932e42b466eac230, []int{46} } func (m *NodeGetVolumeStatsRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetVolumeStatsRequest.Unmarshal(m, b) @@ -3599,7 +3673,7 @@ func (m *NodeGetVolumeStatsResponse) Reset() { *m = NodeGetVolumeStatsRe func (m *NodeGetVolumeStatsResponse) String() string { return proto.CompactTextString(m) } func (*NodeGetVolumeStatsResponse) ProtoMessage() {} func (*NodeGetVolumeStatsResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{47} + return fileDescriptor_csi_932e42b466eac230, []int{47} } func (m *NodeGetVolumeStatsResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetVolumeStatsResponse.Unmarshal(m, b) @@ -3647,7 +3721,7 @@ func (m *VolumeUsage) Reset() { *m = VolumeUsage{} } func (m *VolumeUsage) String() string { return proto.CompactTextString(m) } func (*VolumeUsage) ProtoMessage() {} func (*VolumeUsage) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{48} + return fileDescriptor_csi_932e42b466eac230, []int{48} } func (m *VolumeUsage) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_VolumeUsage.Unmarshal(m, b) @@ -3705,7 +3779,7 @@ func (m *NodeGetIdRequest) Reset() { *m = NodeGetIdRequest{} } func (m *NodeGetIdRequest) String() string { return proto.CompactTextString(m) } func (*NodeGetIdRequest) ProtoMessage() {} func (*NodeGetIdRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{49} + return fileDescriptor_csi_932e42b466eac230, []int{49} } func (m *NodeGetIdRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetIdRequest.Unmarshal(m, b) @@ -3739,7 +3813,7 @@ func (m *NodeGetIdResponse) Reset() { *m = NodeGetIdResponse{} } func (m *NodeGetIdResponse) String() string { return proto.CompactTextString(m) } func (*NodeGetIdResponse) ProtoMessage() {} func (*NodeGetIdResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{50} + return fileDescriptor_csi_932e42b466eac230, []int{50} } func (m *NodeGetIdResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetIdResponse.Unmarshal(m, b) @@ -3776,7 +3850,7 @@ func (m *NodeGetCapabilitiesRequest) Reset() { *m = NodeGetCapabilitiesR func (m *NodeGetCapabilitiesRequest) String() string { return proto.CompactTextString(m) } func (*NodeGetCapabilitiesRequest) ProtoMessage() {} func (*NodeGetCapabilitiesRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{51} + return fileDescriptor_csi_932e42b466eac230, []int{51} } func (m *NodeGetCapabilitiesRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetCapabilitiesRequest.Unmarshal(m, b) @@ -3809,7 +3883,7 @@ func (m *NodeGetCapabilitiesResponse) Reset() { *m = NodeGetCapabilities func (m *NodeGetCapabilitiesResponse) String() string { return proto.CompactTextString(m) } func (*NodeGetCapabilitiesResponse) ProtoMessage() {} func (*NodeGetCapabilitiesResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{52} + return fileDescriptor_csi_932e42b466eac230, []int{52} } func (m *NodeGetCapabilitiesResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetCapabilitiesResponse.Unmarshal(m, b) @@ -3850,7 +3924,7 @@ func (m *NodeServiceCapability) Reset() { *m = NodeServiceCapability{} } func (m *NodeServiceCapability) String() string { return proto.CompactTextString(m) } func (*NodeServiceCapability) ProtoMessage() {} func (*NodeServiceCapability) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{53} + return fileDescriptor_csi_932e42b466eac230, []int{53} } func (m *NodeServiceCapability) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeServiceCapability.Unmarshal(m, b) @@ -3960,7 +4034,7 @@ func (m *NodeServiceCapability_RPC) Reset() { *m = NodeServiceCapability func (m *NodeServiceCapability_RPC) String() string { return proto.CompactTextString(m) } func (*NodeServiceCapability_RPC) ProtoMessage() {} func (*NodeServiceCapability_RPC) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{53, 0} + return fileDescriptor_csi_932e42b466eac230, []int{53, 0} } func (m *NodeServiceCapability_RPC) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeServiceCapability_RPC.Unmarshal(m, b) @@ -3997,7 +4071,7 @@ func (m *NodeGetInfoRequest) Reset() { *m = NodeGetInfoRequest{} } func (m *NodeGetInfoRequest) String() string { return proto.CompactTextString(m) } func (*NodeGetInfoRequest) ProtoMessage() {} func (*NodeGetInfoRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{54} + return fileDescriptor_csi_932e42b466eac230, []int{54} } func (m *NodeGetInfoRequest) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetInfoRequest.Unmarshal(m, b) @@ -4031,10 +4105,12 @@ type NodeGetInfoResponse struct { // Specifies where (regions, zones, racks, etc.) the node is // accessible from. // A plugin that returns this field MUST also set the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS or + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. // COs MAY use this information along with the topology information - // returned in CreateVolumeResponse to ensure that a given volume is - // accessible from a given node when scheduling workloads. + // returned in CreateVolumeResponse CreateSnapshotResponse to ensure + // that a given volume or snapshot is accessible from a given node + // when scheduling workloads. // This field is OPTIONAL. If it is not specified, the CO MAY assume // the node is not subject to any topological constraint, and MAY // schedule workloads that reference any volume V, such that there are @@ -4055,7 +4131,7 @@ func (m *NodeGetInfoResponse) Reset() { *m = NodeGetInfoResponse{} } func (m *NodeGetInfoResponse) String() string { return proto.CompactTextString(m) } func (*NodeGetInfoResponse) ProtoMessage() {} func (*NodeGetInfoResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_csi_d2a705310653d01b, []int{55} + return fileDescriptor_csi_932e42b466eac230, []int{55} } func (m *NodeGetInfoResponse) XXX_Unmarshal(b []byte) error { return xxx_messageInfo_NodeGetInfoResponse.Unmarshal(m, b) @@ -5032,205 +5108,207 @@ var _Node_serviceDesc = grpc.ServiceDesc{ } func init() { - proto.RegisterFile("github.com/container-storage-interface/spec/csi.proto", fileDescriptor_csi_d2a705310653d01b) -} - -var fileDescriptor_csi_d2a705310653d01b = []byte{ - // 3125 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x3a, 0x4d, 0x6f, 0x23, 0xc7, - 0xb1, 0x1a, 0x7e, 0xe8, 0xa3, 0xb4, 0x92, 0xb9, 0xad, 0x2f, 0x6a, 0x24, 0xed, 0x6a, 0x67, 0xbd, - 0xf6, 0x7a, 0xdf, 0x2e, 0xe5, 0xa7, 0xf7, 0x6c, 0xf8, 0xd9, 0x6b, 0xbf, 0x50, 0x14, 0x2d, 0xd1, - 0x2b, 0x51, 0xca, 0x90, 0x92, 0xb1, 0x1b, 0x1b, 0xe3, 0x11, 0xd9, 0xe2, 0x4e, 0x4c, 0xcd, 0xd0, - 0x33, 0x43, 0x65, 0x95, 0x5b, 0x12, 0x20, 0x48, 0x72, 0x4a, 0x7e, 0x81, 0x01, 0xdf, 0x12, 0xc4, - 0x08, 0x10, 0xe4, 0x16, 0x20, 0xb7, 0x00, 0x39, 0xe5, 0x9c, 0x53, 0x72, 0x0e, 0x92, 0x63, 0x4e, - 0x01, 0x02, 0x04, 0x3d, 0xdd, 0x33, 0x9c, 0x6e, 0xf6, 0xf0, 0xc3, 0xbb, 0x30, 0x72, 0x22, 0xa7, - 0xaa, 0xba, 0xaa, 0xba, 0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, 0x13, 0x66, 0x23, 0xdf, 0x8f, 0x62, 0x07, 0x42, 0x50, 0xa5, 0x49, 0x62, 0x24, 0xec, 0x71, - 0xc5, 0x18, 0x91, 0x36, 0xbb, 0xa2, 0xfb, 0xf2, 0x50, 0x3e, 0x46, 0x9a, 0x32, 0x1c, 0x71, 0xea, - 0xe4, 0x45, 0x63, 0x79, 0x65, 0x1e, 0x96, 0x45, 0xa5, 0x58, 0x3d, 0xfa, 0x73, 0x05, 0x16, 0x49, - 0x85, 0x10, 0x22, 0x5e, 0x74, 0xc1, 0x32, 0x86, 0x33, 0x0a, 0x27, 0x90, 0x11, 0x4f, 0x40, 0xfb, - 0xa5, 0x02, 0x4b, 0x82, 0xae, 0x2c, 0xb6, 0xde, 0x15, 0xab, 0x9f, 0xdb, 0xf1, 0xea, 0xa7, 0x8f, - 0x7e, 0xcc, 0xfa, 0xe7, 0x8d, 0xb0, 0xfe, 0x19, 0x2f, 0x84, 0x7f, 0x96, 0x85, 0xe5, 0xaa, 0xd3, - 0xc4, 0x35, 0xdf, 0x6c, 0x8d, 0x33, 0x57, 0xd1, 0x85, 0xde, 0x90, 0x7a, 0xd7, 0x56, 0x28, 0x49, - 0xce, 0x72, 0x70, 0x4b, 0x88, 0x0a, 0xb0, 0xe0, 0xf9, 0x66, 0x2b, 0x38, 0x2b, 0xd3, 0x6d, 0x61, - 0xdf, 0xe8, 0x98, 0xfe, 0x53, 0x76, 0x10, 0xd7, 0x19, 0xaa, 0x1e, 0x60, 0x8e, 0x4d, 0xff, 0xa9, - 0x7c, 0x50, 0x91, 0x19, 0x7b, 0x50, 0x71, 0x06, 0x28, 0xe8, 0x03, 0x89, 0x00, 0xf1, 0xad, 0xcc, - 0xff, 0x0e, 0xd9, 0x50, 0x04, 0xe6, 0x42, 0x25, 0x67, 0x0b, 0x60, 0x64, 0x26, 0xcf, 0x1a, 0x86, - 0x89, 0x18, 0x75, 0xc6, 0xf0, 0x9c, 0x0d, 0x35, 0xe9, 0x5a, 0x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eb, - 0x25, 0x8d, 0xf9, 0xdb, 0x03, 0x69, 0x22, 0x09, 0x1f, 0x47, 0x17, 0x66, 0xac, 0x9e, 0x43, 0x9c, - 0x72, 0xd2, 0x32, 0x52, 0xd5, 0x06, 0x91, 0x44, 0xec, 0xcb, 0x30, 0x13, 0xd5, 0x47, 0x28, 0x2f, - 0x2c, 0x89, 0xca, 0x28, 0x75, 0x55, 0x82, 0x61, 0x3c, 0xd2, 0x3f, 0x4a, 0x29, 0xa1, 0x1d, 0xc4, - 0x10, 0x14, 0x75, 0x90, 0x05, 0xdf, 0xed, 0x81, 0x34, 0xf1, 0xa4, 0x11, 0xab, 0x10, 0x7a, 0x49, - 0xa3, 0xbf, 0x9a, 0xe8, 0x25, 0x0d, 0x49, 0x49, 0xa1, 0x4d, 0xec, 0x64, 0x9f, 0xa4, 0x1b, 0x9e, - 0x75, 0x36, 0x19, 0x7c, 0xe8, 0xfb, 0x3f, 0xff, 0x0e, 0x00, 0x00, 0xff, 0xff, 0xc4, 0x16, 0x0e, - 0x54, 0xe8, 0x2e, 0x00, 0x00, + proto.RegisterFile("github.com/container-storage-interface/spec/csi.proto", fileDescriptor_csi_932e42b466eac230) +} + +var fileDescriptor_csi_932e42b466eac230 = []byte{ + // 3153 bytes of a gzipped FileDescriptorProto + 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xcc, 0x5a, 0x4d, 0x70, 0x23, 0x47, + 0xf5, 0xf7, 0xe8, 0xcb, 0xf6, 0xf3, 0xda, 0xd1, 0xb6, 0xbf, 0xb4, 0x63, 0x7b, 0xd7, 0x3b, 0x9b, + 0xdd, 0x6c, 0xf6, 0xbf, 0x2b, 0xe7, 0x6f, 0x48, 0x2a, 0x24, 0x9b, 0x80, 0x2c, 0x2b, 0xb6, 0xb2, + 0xb6, 0x6c, 0x46, 0xb2, 0x53, 0xbb, 0x24, 0x35, 0x19, 0x4b, 0x6d, 0xed, 0x10, 0x79, 0x46, 0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 0x37, 0xc4, 0x85, 0xc5, 0x3a, 0x93, 0xa5, 0x8f, 0xbb, 0x13, 0x7a, 0x34, 0x5a, 0x5d, 0x87, + 0x39, 0x9e, 0x8b, 0xe6, 0x20, 0x65, 0xb5, 0x98, 0x79, 0x29, 0xab, 0x15, 0xa5, 0xe3, 0xbb, 0xb0, + 0xc0, 0x07, 0x04, 0xcb, 0xc2, 0x3b, 0x90, 0xa3, 0x3b, 0xc4, 0x2c, 0x99, 0xe3, 0x2d, 0xd1, 0x19, + 0x57, 0xfb, 0x65, 0x06, 0xf2, 0x62, 0xbc, 0xa3, 0x87, 0x90, 0x3d, 0xe9, 0x38, 0xcd, 0x4f, 0xd8, + 0xd8, 0x97, 0x93, 0x12, 0xa3, 0xb8, 0x45, 0xa4, 0x28, 0x75, 0x77, 0x42, 0xa7, 0x83, 0xc8, 0xe8, + 0x33, 0xa7, 0x67, 0xfb, 0x2c, 0x33, 0x93, 0x47, 0xef, 0x13, 0xa9, 0xfe, 0xe8, 0x60, 0x10, 0xda, + 0x86, 0x19, 0x1a, 0x04, 0xc6, 0x99, 0xd3, 0xc2, 0x85, 0x74, 0xa0, 0xe3, 0x56, 0xa2, 0x8e, 0x52, + 0x20, 0xbb, 0xef, 0xb4, 0xb0, 0x0e, 0x66, 0xf4, 0x5f, 0x9d, 0x85, 0x99, 0x98, 0x6d, 0xea, 0x0e, + 0xcc, 0xc4, 0x26, 0x43, 0xcb, 0x30, 0x79, 0xea, 0x19, 0x51, 0x11, 0x9e, 0xd6, 0x73, 0xa7, 0x5e, + 0x50, 0x57, 0x6f, 0xc0, 0x4c, 0x60, 0x85, 0x71, 0xda, 0x31, 0xdb, 0xf4, 0xd8, 0x98, 0xd6, 0x21, + 0x20, 0xbd, 0x47, 0x28, 0xea, 0xdf, 0x15, 0x80, 0xfe, 0x94, 0xe8, 0x21, 0x64, 0x02, 0x2b, 0x69, + 0x29, 0xbf, 0x3b, 0x82, 0x95, 0xc5, 0xc0, 0xd4, 0x60, 0x94, 0xf6, 0x73, 0x05, 0x32, 0x81, 0x1a, + 0xb1, 0x9c, 0xd7, 0xab, 0xb5, 0x9d, 0xbd, 0x8a, 0x51, 0x3b, 0xd8, 0xae, 0x18, 0x1f, 0xe8, 0xd5, + 0x46, 0x45, 0xcf, 0x2b, 0x68, 0x05, 0x96, 0xe3, 0x74, 0xbd, 0x52, 0xda, 0xae, 0xe8, 0xc6, 0x41, + 0x6d, 0xef, 0x71, 0x3e, 0x85, 0x54, 0x58, 0xda, 0x3f, 0xda, 0x6b, 0x54, 0x07, 0x79, 0x69, 0xb4, + 0x0a, 0x85, 0x18, 0x8f, 0xe9, 0x60, 0x6a, 0x33, 0x44, 0x6d, 0x8c, 0x4b, 0xff, 0x32, 0x66, 0x76, + 0x6b, 0x36, 0xda, 0x8c, 0x20, 0xd8, 0x3e, 0x80, 0x59, 0xae, 0xbc, 0x92, 0xae, 0x82, 0xa5, 0x78, + 0xcb, 0x38, 0xb9, 0xf0, 0xb1, 0x17, 0x78, 0x22, 0xad, 0xcf, 0x86, 0xd4, 0x2d, 0x42, 0x24, 0x6e, + 0xed, 0x58, 0x67, 0x96, 0xcf, 0x64, 0x52, 0x81, 0x0c, 0x04, 0xa4, 0x40, 0x40, 0xfb, 0x43, 0x0a, + 0x72, 0x6c, 0x6f, 0x6e, 0xc7, 0x0a, 0x3c, 0xa7, 0x32, 0xa4, 0x52, 0x95, 0x34, 0x1f, 0x52, 0x61, + 0x3e, 0xa0, 0x77, 0x01, 0x4c, 0xdf, 0x77, 0xad, 0x93, 0x9e, 0x1f, 0x15, 0xf4, 0xeb, 0xfc, 0x7e, + 0x14, 0x4b, 0x91, 0x00, 0xab, 0xc0, 0xfd, 0x11, 0x68, 0x0b, 0xe6, 0x84, 0x22, 0x98, 0xb9, 0xbc, + 0x08, 0xce, 0x36, 0xb9, 0xfc, 0x2f, 0xc1, 0x7c, 0x58, 0xbf, 0x3a, 0xd8, 0xf0, 0x59, 0x7d, 0x63, + 0xf5, 0x3b,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f, 0xb8, 0xdb, 0x78, 0xbf, 0x3e, 0xc9, 0x00, 0x88, 0x7e, 0x7d, 0x92, 0x5e, 0xe1, 0xb5, 0x89, + 0xcd, 0x3f, 0x66, 0x21, 0x13, 0x14, 0xd2, 0x06, 0xbc, 0x24, 0x5c, 0x6a, 0xd0, 0xf5, 0xe1, 0x37, + 0x3f, 0xf5, 0x46, 0x22, 0x3f, 0x32, 0xf7, 0x09, 0x3d, 0xa6, 0xb9, 0x6b, 0x0a, 0x5a, 0x8f, 0x8f, + 0x93, 0x5d, 0x95, 0xd4, 0x9b, 0x43, 0x24, 0x44, 0xdd, 0x7c, 0x2d, 0x58, 0xbf, 0xac, 0x5f, 0xe6, + 0x75, 0x27, 0xe5, 0xff, 0xc7, 0xf4, 0xdc, 0x12, 0x33, 0x5f, 0xe3, 0xed, 0x92, 0xe6, 0xfc, 0xad, + 0xa1, 0x32, 0xd1, 0x0c, 0x1f, 0x45, 0x07, 0x66, 0xac, 0x9f, 0x43, 0x9c, 0x71, 0xd2, 0x36, 0x52, + 0xd5, 0x86, 0x89, 0x44, 0xea, 0x2b, 0x30, 0x1d, 0xf5, 0x47, 0xa8, 0x20, 0x0c, 0x89, 0xda, 0x28, + 0xf5, 0x9a, 0x84, 0xc3, 0x74, 0xa4, 0x7f, 0x94, 0x52, 0x42, 0x3f, 0x88, 0x29, 0x28, 0xda, 0x20, + 0x4b, 0xbe, 0x5b, 0x43, 0x65, 0xe2, 0x45, 0x23, 0xd6, 0x21, 0xf4, 0x8b, 0xc6, 0x60, 0x37, 0xd1, + 0x2f, 0x1a, 0x92, 0x96, 0x42, 0x9b, 0xd8, 0xca, 0x3e, 0x49, 0x37, 0x3d, 0xeb, 0x24, 0x17, 0x7c, + 0x87, 0xfc, 0x95, 0xff, 0x06, 0x00, 0x00, 0xff, 0xff, 0xa9, 0x00, 0x8e, 0x97, 0xb6, 0x2f, 0x00, + 0x00, } diff --git a/spec.md b/spec.md index 063f13e5..15e58d17 100644 --- a/spec.md +++ b/spec.md @@ -524,13 +524,21 @@ message PluginCapability { // as specific RPCs as indicated by ControllerGetCapabilities. CONTROLLER_SERVICE = 1; - // ACCESSIBILITY_CONSTRAINTS indicates that the volumes for this - // plugin may not be equally accessible by all nodes in the + // VOLUME_ACCESSIBILITY_CONSTRAINTS indicates that the volumes for + // this plugin may not be equally accessible by all nodes in the // cluster. The CO MUST use the topology information returned by // CreateVolumeRequest along with the topology information // returned by NodeGetInfo to ensure that a given volume is // accessible from a given node when scheduling workloads. - ACCESSIBILITY_CONSTRAINTS = 2; + VOLUME_ACCESSIBILITY_CONSTRAINTS = 2; + + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS indicates that the snapshots + // for this plugin may not be equally accessible by all nodes in + // the cluster. The CO MUST use the topology information returned + // by CreateSnapshotRequest along with the topology information + // returned by NodeGetInfo to ensure that a given snapshot is + // accessible from a given node when scheduling workloads. + SNAPSHOT_ACCESSIBILITY_CONSTRAINTS = 3; } Type type = 1; } @@ -673,10 +681,10 @@ message CreateVolumeRequest { // topological accessibility information supported by the SP. // This field is OPTIONAL. // This field SHALL NOT be specified unless the SP has the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability. // If this field is not specified and the SP has the - // ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY choose - // where the provisioned volume is accessible from. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY + // choose where the provisioned volume is accessible from. TopologyRequirement accessibility_requirements = 7; } @@ -810,7 +818,7 @@ message Volume { // Specifies where (regions, zones, racks, etc.) the provisioned // volume is accessible from. // A plugin that returns this field MUST also set the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability. // An SP MAY specify multiple topologies to indicate the volume is // accessible from multiple locations. // COs MAY use this information along with the topology information @@ -836,99 +844,109 @@ message Volume { } message TopologyRequirement { - // Specifies the list of topologies the provisioned volume MUST be - // accessible from. + // Specifies the list of topologies the provisioned volume or + // snapshot MUST be accessible from. // This field is OPTIONAL. If TopologyRequirement is specified either // requisite or preferred or both MUST be specified. // - // If requisite is specified, the provisioned volume MUST be - // accessible from at least one of the requisite topologies. + // If requisite is specified, the provisioned volume or snapshot MUST + // be accessible from at least one of the requisite topologies. // // Given - // x = number of topologies provisioned volume is accessible from + // x = number of topologies provisioned volume or snapshot is + // accessible from // n = number of requisite topologies // The CO MUST ensure n >= 1. The SP MUST ensure x >= 1 - // If x==n, than the SP MUST make the provisioned volume available to - // all topologies from the list of requisite topologies. If it is - // unable to do so, the SP MUST fail the CreateVolume call. - // For example, if a volume should be accessible from a single zone, - // and requisite = + // If x==n, than the SP MUST make the provisioned volume or snapshot + // available to all topologies from the list of requisite topologies. + // If it is unable to do so, the SP MUST fail the CreateVolume or + // CreateSnapshot call. For example, if a volume or snapshot should be + // accessible from a single zone, and + // requisite = // {"region": "R1", "zone": "Z2"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and the "zone" "Z2". - // Similarly, if a volume should be accessible from two zones, and + // then the provisioned volume or snapshot MUST be accessible from + // the "region" "R1" and the "zone" "Z2". + // Similarly, if a volume or snapshot should be accessible from two + // zones, and // requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and both "zone" "Z2" and "zone" "Z3". + // then the provisioned volume or snapshot MUST be accessible from the + // "region" "R1" and both "zone" "Z2" and "zone" "Z3". // // If xn, than the SP MUST make the provisioned volume available from - // all topologies from the list of requisite topologies and MAY choose - // the remaining x-n unique topologies from the list of all possible - // topologies. If it is unable to do so, the SP MUST fail the - // CreateVolume call. - // For example, if a volume should be accessible from two zones, and + // If x>n, than the SP MUST make the provisioned volume or snapshot + // available from all topologies from the list of requisite topologies + // and MAY choose the remaining x-n unique topologies from the list of + // all possible topologies. If it is unable to do so, the SP MUST fail + // the CreateVolume or CreateSnapshot call. + // For example, if a volume or snapshot should be accessible from two + // zones, and // requisite = // {"region": "R1", "zone": "Z2"} - // then the provisioned volume MUST be accessible from the "region" - // "R1" and the "zone" "Z2" and the SP may select the second zone - // independently, e.g. "R1/Z4". + // then the provisioned volume or snapshot MUST be accessible from the + // "region" "R1" and the "zone" "Z2" and the SP may select the second + // zone independently, e.g. "R1/Z4". repeated Topology requisite = 1; - // Specifies the list of topologies the CO would prefer the volume to - // be provisioned in. + // Specifies the list of topologies the CO would prefer the volume or + // snapshot to be provisioned in. // // This field is OPTIONAL. If TopologyRequirement is specified either // requisite or preferred or both MUST be specified. // - // An SP MUST attempt to make the provisioned volume available using - // the preferred topologies in order from first to last. + // An SP MUST attempt to make the provisioned volume or snapshot + // available using the preferred topologies in order from first to + // last. // // If requisite is specified, all topologies in preferred list MUST // also be present in the list of requisite topologies. // - // If the SP is unable to to make the provisioned volume available - // from any of the preferred topologies, the SP MAY choose a topology - // from the list of requisite topologies. + // If the SP is unable to to make the provisioned volume or snapshot + // available from any of the preferred topologies, the SP MAY choose + // a topology from the list of requisite topologies. // If the list of requisite topologies is not specified, then the SP // MAY choose from the list of all possible topologies. // If the list of requisite topologies is specified and the SP is - // unable to to make the provisioned volume available from any of the - // requisite topologies it MUST fail the CreateVolume call. + // unable to to make the provisioned volume or snapshot available from + // any of the requisite topologies it MUST fail the CreateVolume or + // CreateSnapshot call. // // Example 1: - // Given a volume should be accessible from a single zone, and - // requisite = + // Given a volume or snapshot should be accessible from a single zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"} // preferred = // {"region": "R1", "zone": "Z3"} // then the the SP SHOULD first attempt to make the provisioned volume - // available from "zone" "Z3" in the "region" "R1" and fall back to - // "zone" "Z2" in the "region" "R1" if that is not possible. + // or snapshot available from "zone" "Z3" in the "region" "R1" and + // fall back to "zone" "Z2" in the "region" "R1" if that is not + // possible. // // Example 2: - // Given a volume should be accessible from a single zone, and - // requisite = + // Given a volume or snapshot should be accessible from a single zone, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"}, // {"region": "R1", "zone": "Z4"}, @@ -937,17 +955,19 @@ message TopologyRequirement { // {"region": "R1", "zone": "Z4"}, // {"region": "R1", "zone": "Z2"} // then the the SP SHOULD first attempt to make the provisioned volume - // accessible from "zone" "Z4" in the "region" "R1" and fall back to - // "zone" "Z2" in the "region" "R1" if that is not possible. If that - // is not possible, the SP may choose between either the "zone" - // "Z3" or "Z5" in the "region" "R1". + // or snapshot accessible from "zone" "Z4" in the "region" "R1" and + // fall back to "zone" "Z2" in the "region" "R1" if that is not + // possible. If that is not possible, the SP may choose between either + // the "zone" "Z3" or "Z5" in the "region" "R1". // // Example 3: - // Given a volume should be accessible from TWO zones (because an - // opaque parameter in CreateVolumeRequest, for example, specifies - // the volume is accessible from two zones, aka synchronously - // replicated), and - // requisite = + // A volume or snapshot MAY be required to be accessible from TWO + // zones. This MAY be indicated by an opaque parameter in + // CreateVolumeRequest that specifies the volume to be accessible from + // two zones. While accessibility requirements MAY be satisfied by + // replication, CO MUST NOT assume accessibility requires replication. + // Given a volume or snapshot should be accessible from TWO zones, + // and requisite = // {"region": "R1", "zone": "Z2"}, // {"region": "R1", "zone": "Z3"}, // {"region": "R1", "zone": "Z4"}, @@ -956,10 +976,10 @@ message TopologyRequirement { // {"region": "R1", "zone": "Z5"}, // {"region": "R1", "zone": "Z3"} // then the the SP SHOULD first attempt to make the provisioned volume - // accessible from the combination of the two "zones" "Z5" and "Z3" in - // the "region" "R1". If that's not possible, it should fall back to - // a combination of "Z5" and other possibilities from the list of - // requisite. If that's not possible, it should fall back to a + // or snapshot accessible from the combination of the two "zones" "Z5" + // and "Z3" in the "region" "R1". If that's not possible, it should + // fall back to a combination of "Z5" and other possibilities from the + // list of requisite. If that's not possible, it should fall back to a // combination of "Z3" and other possibilities from the list of // requisite. If that's not possible, it should fall back to a // combination of other possibilities from the list of requisite. @@ -1194,7 +1214,7 @@ message ValidateVolumeCapabilitiesRequest { // A caller MAY specify multiple topologies to indicate they believe // the volume to be accessible from multiple locations. // This field is OPTIONAL. This field SHALL NOT be set unless the - // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability. + // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability. repeated Topology accessible_topology = 4; } @@ -1298,7 +1318,7 @@ message GetCapacityRequest { // `accessible_topology`. This is the same as the // `accessible_topology` the CO returns in a `CreateVolumeResponse`. // This field is OPTIONAL. This field SHALL NOT be set unless the - // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability. + // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability. Topology accessible_topology = 3; } @@ -1410,6 +1430,19 @@ message CreateSnapshotRequest { // - Specify primary or secondary for replication systems that // support snapshotting only on primary. map parameters = 4; + + // Specifies where (regions, zones, racks, etc.) the provisioned + // snapshot MUST be accessible from. + // An SP SHALL advertise the requirements for topological + // accessibility information in documentation. COs SHALL only specify + // topological accessibility information supported by the SP. + // This field is OPTIONAL. + // This field SHALL NOT be specified unless the SP has the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. + // If this field is not specified and the SP has the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY + // choose where the provisioned snapshot is accessible from. + TopologyRequirement accessibility_requirements = 5; } message CreateSnapshotResponse { @@ -1450,6 +1483,33 @@ message Snapshot { // The status of a snapshot. SnapshotStatus status = 5; + + // Specifies where (regions, zones, racks, etc.) the provisioned + // snapshot is accessible from. + // A plugin that returns this field MUST also set the + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. + // An SP MAY specify multiple topologies to indicate the snapshot is + // accessible from multiple locations. + // COs MAY use this information along with the topology information + // returned by NodeGetInfo to ensure that a given snapshot is + // accessible from a given node when scheduling workloads. + // This field is OPTIONAL. If it is not specified, the CO MAY assume + // the snapshot is equally accessible from all nodes in the cluster + // and may schedule workloads referencing the snapshot on any + // available node. + // + // Example 1: + // accessible_topology = {"region": "R1", "zone": "Z2"} + // Indicates a snapshot accessible only from the "region" "R1" and the + // "zone" "Z2". + // + // Example 2: + // accessible_topology = + // {"region": "R1", "zone": "Z2"}, + // {"region": "R1", "zone": "Z3"} + // Indicates a snapshot accessible from both "zone" "Z2" and "zone" + // "Z3" in the "region" "R1". + repeated Topology accessible_topology = 6; } // The status of a snapshot. @@ -2074,10 +2134,12 @@ message NodeGetInfoResponse { // Specifies where (regions, zones, racks, etc.) the node is // accessible from. // A plugin that returns this field MUST also set the - // ACCESSIBILITY_CONSTRAINTS plugin capability. + // VOLUME_ACCESSIBILITY_CONSTRAINTS or + // SNAPSHOT_ACCESSIBILITY_CONSTRAINTS plugin capability. // COs MAY use this information along with the topology information - // returned in CreateVolumeResponse to ensure that a given volume is - // accessible from a given node when scheduling workloads. + // returned in CreateVolumeResponse CreateSnapshotResponse to ensure + // that a given volume or snapshot is accessible from a given node + // when scheduling workloads. // This field is OPTIONAL. If it is not specified, the CO MAY assume // the node is not subject to any topological constraint, and MAY // schedule workloads that reference any volume V, such that there are