Skip to content

Commit

Permalink
Change size limitation for all file paths and node_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Jiawei0227 committed Nov 11, 2020
1 parent baa71a3 commit 653f6af
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -2073,6 +2073,7 @@ message NodeStageVolumeRequest {
// CO SHALL be responsible for creating the directory if it does not
// exist.
// This is a REQUIRED field.
// The size limitation for this field is 2048 bytes.
string staging_target_path = 3;
// Volume capability describing how the CO intends to use this volume.
Expand Down Expand Up @@ -2138,6 +2139,7 @@ message NodeUnstageVolumeRequest {
// The path at which the volume was staged. It MUST be an absolute
// path in the root filesystem of the process serving this request.
// This is a REQUIRED field.
// The size limitation for this field is 2048 bytes.
string staging_target_path = 2;
}
Expand Down Expand Up @@ -2205,6 +2207,7 @@ message NodePublishVolumeRequest {
// It MUST be set if the Node Plugin implements the
// `STAGE_UNSTAGE_VOLUME` node capability.
// This is an OPTIONAL field.
// The size limitation for this field is 2048 bytes.
string staging_target_path = 3;
// The path to which the volume will be published. It MUST be an
Expand All @@ -2219,6 +2222,7 @@ message NodePublishVolumeRequest {
// mounted directory at target_path.
// Creation of target_path is the responsibility of the SP.
// This is a REQUIRED field.
// The size limitation for this field is 2048 bytes.
string target_path = 4;
// Volume capability describing how the CO intends to use this volume.
Expand Down Expand Up @@ -2285,6 +2289,7 @@ message NodeUnpublishVolumeRequest {
// path in the root filesystem of the process serving this request.
// The SP MUST delete the file or directory it created at this path.
// This is a REQUIRED field.
// The size limitation for this field is 2048 bytes.
string target_path = 2;
}
Expand Down Expand Up @@ -2326,13 +2331,15 @@ message NodeGetVolumeStatsRequest {
// It MUST be an absolute path in the root filesystem of
// the process serving this request.
// This is a REQUIRED field.
// The size limitation for this field is 2048 bytes.
string volume_path = 2;
// The path where the volume is staged, if the plugin has the
// STAGE_UNSTAGE_VOLUME capability, otherwise empty.
// If not empty, it MUST be an absolute path in the root
// filesystem of the process serving this request.
// This field is OPTIONAL.
// The size limitation for this field is 2048 bytes.
string staging_target_path = 3;
}
Expand Down Expand Up @@ -2472,6 +2479,7 @@ message NodeGetInfoResponse {
// `ControllerPublishVolume`, to refer to this node.
// The SP is NOT responsible for global uniqueness of node_id across
// multiple SPs.
// The size limitation for this field is 256 bytes.
string node_id = 1;
// Maximum number of volumes that controller can publish to the node.
Expand Down Expand Up @@ -2535,6 +2543,7 @@ message NodeExpandVolumeRequest {
string volume_id = 1;
// The path on which volume is available. This field is REQUIRED.
// The size limitation for this field is 2048 bytes.
string volume_path = 2;
// This allows CO to specify the capacity requirements of the volume
Expand All @@ -2550,6 +2559,7 @@ message NodeExpandVolumeRequest {
// If not empty, it MUST be an absolute path in the root
// filesystem of the process serving this request.
// This field is OPTIONAL.
// The size limitation for this field is 2048 bytes.
string staging_target_path = 4;
// Volume capability describing how the CO intends to use this volume.
Expand Down

0 comments on commit 653f6af

Please sign in to comment.