@@ -130,13 +130,13 @@ message PluginCapability {
130
130
// as specific RPCs as indicated by ControllerGetCapabilities.
131
131
CONTROLLER_SERVICE = 1 ;
132
132
133
- // ACCESSIBILITY_CONSTRAINTS indicates that the volumes for this
134
- // plugin may not be equally accessible by all nodes in the
133
+ // VOLUME_ACCESSIBILITY_CONSTRAINTS indicates that the volumes for
134
+ // this plugin may not be equally accessible by all nodes in the
135
135
// cluster. The CO MUST use the topology information returned by
136
136
// CreateVolumeRequest along with the topology information
137
137
// returned by NodeGetInfo to ensure that a given volume is
138
138
// accessible from a given node when scheduling workloads.
139
- ACCESSIBILITY_CONSTRAINTS = 2 ;
139
+ VOLUME_ACCESSIBILITY_CONSTRAINTS = 2 ;
140
140
}
141
141
Type type = 1 ;
142
142
}
@@ -235,10 +235,10 @@ message CreateVolumeRequest {
235
235
// topological accessibility information supported by the SP.
236
236
// This field is OPTIONAL.
237
237
// This field SHALL NOT be specified unless the SP has the
238
- // ACCESSIBILITY_CONSTRAINTS plugin capability.
238
+ // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability.
239
239
// If this field is not specified and the SP has the
240
- // ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY choose
241
- // where the provisioned volume is accessible from.
240
+ // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability, the SP MAY
241
+ // choose where the provisioned volume is accessible from.
242
242
TopologyRequirement accessibility_requirements = 7 ;
243
243
}
244
244
@@ -372,7 +372,7 @@ message Volume {
372
372
// Specifies where (regions, zones, racks, etc.) the provisioned
373
373
// volume is accessible from.
374
374
// A plugin that returns this field MUST also set the
375
- // ACCESSIBILITY_CONSTRAINTS plugin capability.
375
+ // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability.
376
376
// An SP MAY specify multiple topologies to indicate the volume is
377
377
// accessible from multiple locations.
378
378
// COs MAY use this information along with the topology information
@@ -736,7 +736,7 @@ message GetCapacityRequest {
736
736
// `accessible_topology`. This is the same as the
737
737
// `accessible_topology` the CO returns in a `CreateVolumeResponse`.
738
738
// This field is OPTIONAL. This field SHALL NOT be set unless the
739
- // plugin advertises the ACCESSIBILITY_CONSTRAINTS capability.
739
+ // plugin advertises the VOLUME_ACCESSIBILITY_CONSTRAINTS capability.
740
740
Topology accessible_topology = 3 ;
741
741
}
742
742
@@ -1152,7 +1152,7 @@ message NodeGetInfoResponse {
1152
1152
// Specifies where (regions, zones, racks, etc.) the node is
1153
1153
// accessible from.
1154
1154
// A plugin that returns this field MUST also set the
1155
- // ACCESSIBILITY_CONSTRAINTS plugin capability.
1155
+ // VOLUME_ACCESSIBILITY_CONSTRAINTS plugin capability.
1156
1156
// COs MAY use this information along with the topology information
1157
1157
// returned in CreateVolumeResponse to ensure that a given volume is
1158
1158
// accessible from a given node when scheduling workloads.
0 commit comments