Skip to content

Commit

Permalink
fence: add GET_CLIENTS_TO_FENCE caps
Browse files Browse the repository at this point in the history
added a GET_CLIENTS_TO_FENCE so that
the plugins can register with this caps
to advertise that they support publishing
the metadata like identifier and the cluster
IP addresses of the clinets for the fence
operations.

Signed-off-by: Madhu Rajanna <[email protected]>
  • Loading branch information
Madhu-1 committed Oct 31, 2024
1 parent 77331fc commit d1ddf2b
Show file tree
Hide file tree
Showing 3 changed files with 90 additions and 66 deletions.
7 changes: 7 additions & 0 deletions identity/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,13 @@ message Capability {
// plugin can invoke RPCs that require access to the storage system,
// similar to the CSI Controller (provisioner).
NETWORK_FENCE = 1;
// GET_CLIENTS_TO_FENCE indicates that the CSI-driver provides RPCs for a
// GET_CLIENTS_TO_FENCE operation to get the clients to fence.
// The presence of this capability determines whether the CSI-Addons CO
// plugin can invoke RPCs that require access to the storage system,
// similar to the CSI Controller (provisioner).
GET_CLIENTS_TO_FENCE = 2;
}
// type contains the Type of CSI Service that the CSI-driver supports.
Type type = 1;
Expand Down
7 changes: 7 additions & 0 deletions identity/identity.proto
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ message Capability {
// plugin can invoke RPCs that require access to the storage system,
// similar to the CSI Controller (provisioner).
NETWORK_FENCE = 1;

// GET_CLIENTS_TO_FENCE indicates that the CSI-driver provides RPCs for a
// GET_CLIENTS_TO_FENCE operation to get the clients to fence.
// The presence of this capability determines whether the CSI-Addons CO
// plugin can invoke RPCs that require access to the storage system,
// similar to the CSI Controller (provisioner).
GET_CLIENTS_TO_FENCE = 2;
}
// type contains the Type of CSI Service that the CSI-driver supports.
Type type = 1;
Expand Down
142 changes: 76 additions & 66 deletions lib/go/identity/identity.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d1ddf2b

Please sign in to comment.