Skip to content

Commit 1f3fea5

Browse files
committed
Add PublishedNodes field to ListVolumes Response
1 parent c3707a6 commit 1f3fea5

File tree

3 files changed

+351
-306
lines changed

3 files changed

+351
-306
lines changed

csi.proto

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -802,6 +802,14 @@ message ListVolumesRequest {
802802
message ListVolumesResponse {
803803
message Entry {
804804
Volume volume = 1;
805+
806+
// A list of all `node_id` of nodes that the volume in this entry
807+
// is controller published on.
808+
// This is a REQUIRED field if the SP has the
809+
// LIST_VOLUMES_PUBLISHED_NODES controller capability. If the SP
810+
// does not have the LIST_VOLUMES_PUBLISHED_NODES capability this
811+
// field MUST be empty.
812+
repeated string published_nodes = 2;
805813
}
806814

807815
repeated Entry entries = 1;
@@ -884,6 +892,10 @@ message ControllerServiceCapability {
884892

885893
// See VolumeExpansion for details.
886894
EXPAND_VOLUME = 9;
895+
896+
// Indicates the SP supports the
897+
// ListVolumesResponse.entry.published_nodes field
898+
LIST_VOLUMES_PUBLISHED_NODES = 10;
887899
}
888900

889901
Type type = 1;

0 commit comments

Comments
 (0)