@@ -579,6 +579,11 @@ message Volume {
579579 // COs MAY use this information along with the topology information
580580 // returned by NodeGetInfo to ensure that a given volume is accessible
581581 // from a given node when scheduling workloads.
582+ // The volume is accessible from all locations in the
583+ // specified topology.
584+ // The volume is accessible from a node if the volume's
585+ // accessible_topology is a superset of the node's
586+ // accessible_topology.
582587 // This field is OPTIONAL. If it is not specified, the CO MAY assume
583588 // the volume is equally accessible from all nodes in the cluster and
584589 // MAY schedule workloads referencing the volume on any available
@@ -1677,6 +1682,10 @@ message NodeGetInfoResponse {
16771682 // COs MAY use this information along with the topology information
16781683 // returned in CreateVolumeResponse to ensure that a given volume is
16791684 // accessible from a given node when scheduling workloads.
1685+ // The node can access some of the locations in the
1686+ // specified topology.
1687+ // The node can access a volume if the node's accessible_topology
1688+ // is a subset of the volume's accessible_topology.
16801689 // This field is OPTIONAL. If it is not specified, the CO MAY assume
16811690 // the node is not subject to any topological constraint, and MAY
16821691 // schedule workloads that reference any volume V, such that there are
@@ -1686,7 +1695,12 @@ message NodeGetInfoResponse {
16861695 // accessible_topology =
16871696 // {"region": "R1", "zone": "Z2"}
16881697 // Indicates the node exists within the "region" "R1" and the "zone"
1689- // "Z2".
1698+ // "Z2". And it can access the following volumes:
1699+ // Volume 1: accessible_topology = {"region": "R1", "zone": "Z2"}
1700+ // Volume 2: accessible_topology = {"region": "R1"}
1701+ // But can not access the following volume:
1702+ // Volume 3: accessible_topology =
1703+ // {"region": "R1", "zone": "Z2", "rack": "R3"}
16901704 Topology accessible_topology = 3 ;
16911705}
16921706message NodeExpandVolumeRequest {
0 commit comments