Skip to content

Commit

Permalink
Add PublishedNodes field to ListVolumes Response
Browse files Browse the repository at this point in the history
  • Loading branch information
davidz627 committed Aug 13, 2019
1 parent 3293249 commit 417ad69
Show file tree
Hide file tree
Showing 3 changed files with 278 additions and 227 deletions.
14 changes: 14 additions & 0 deletions csi.proto
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,16 @@ message ListVolumesRequest {
message ListVolumesResponse {
message Entry {
Volume volume = 1;

// A list of all `node_id` of nodes that the volume in this entry
// is controller published on.
// This is a REQUIRED field if the SP has the
// LIST_VOLUMES_PUBLISHED_NODES controller capability. If the SP
// does not have the LIST_VOLUMES_PUBLISHED_NODES capability this
// field MUST be empty.
// published_nodes MAY include volumes not published or
// created by the driver. The CO MUST be resilient to that
repeated string published_nodes = 2;
}

repeated Entry entries = 1;
Expand Down Expand Up @@ -884,6 +894,10 @@ message ControllerServiceCapability {

// See VolumeExpansion for details.
EXPAND_VOLUME = 9;

// Indicates the SP supports the
// ListVolumesResponse.entry.published_nodes field
LIST_VOLUMES_PUBLISHED_NODES = 10;
}

Type type = 1;
Expand Down
Loading

0 comments on commit 417ad69

Please sign in to comment.