-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a new RPC and Cap to advertise the client details #75
Conversation
d8df023
to
66639b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks reasonable to me. Just need some typo fixes, and possibly rephrasing the description of the new RPC a bit.
identity/README.md
Outdated
@@ -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 fet the clients to fence. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo fet
Also a typo cline in the commit message.
fence/README.md
Outdated
@@ -66,6 +66,11 @@ service FenceController { | |||
// ListClusterFence RPC call to provide a list of blocklisted/fenced clients. | |||
rpc ListClusterFence(ListClusterFenceRequest) | |||
returns (ListClusterFenceResponse){} | |||
|
|||
// GetFenceClients RPC calls to get the clients information that needs | |||
// to be fenced. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe .. get the client information to use in a FenceClusterNetwork or UnfenceClusterNetwork RPC.
66639b5
to
bae5310
Compare
// 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). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for fixing the typos, however there is now clinets in the commit description 😆
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addressed now 🤦🏻
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 clients for the fence operations. Signed-off-by: Madhu Rajanna <[email protected]>
Adding a RPC to get the local client details which includes the id and the local ip addresses for fencing. The ID can be anything that can be used as an identifier about the client address. For example the ID can be the cephcluster UUID and the ip addressed/cidr is the local client addresses used to connect to the ceph cluster, The ceph is an example/representation here. Signed-off-by: Madhu Rajanna <[email protected]>
bae5310
to
cf8a5d3
Compare
Pull request has been modified.
added a GET_CLIENTS_TO_FENCE so that the plugins can register with these caps to advertise that they support publishing the metadata like identifier and the cluster IP addresses of the clone cline for the fence operations.
Adding an RPC to get the local client details which includes the id and the local IP addresses for fencing. The ID can be anything that can be used as an identifier of the client address. For example, the ID can be the cephcluster UUID and the ip address/cidr is the local client address used to connect to the ceph cluster, The ceph is an example/representation here.