-
Notifications
You must be signed in to change notification settings - Fork 41
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
New rpc service to attach/detach a controller to a namespace. #237
base: main
Are you sure you want to change the base?
Conversation
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.
how this si different from CreateNVMeNamespace
?
We have an existing customer whose use-case requires attaching/detaching specific controllers to a namespace. In the current scenario of |
so maybe just add field |
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.
+1 on the need for this API i.e. the need to explicitly enable/disable the namespace within a controller.
a few minor comments inline @VaibhavJMarvell
(google.api.field_behavior) = REQUIRED | ||
]; | ||
string controller = 2 [(google.api.field_behavior) = REQUIRED]; | ||
string nv_me_namespace_id = 3 [(google.api.field_behavior) = REQUIRED]; |
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.
should this be common.v1.ObjectKey
which bytes all ids are like that. Same for controller
?
we could do that to, but this API would then become explicit enable/disable API to toggle namespace on controller. |
Added attach/detach controller to cater to use-case of an existing customer. Signed-off-by: Vaibhav Jain <[email protected]> Signed-off-by: Michal Kalderon <[email protected]>
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.
I have changed the controller and namespace types to ObjectKey.
seems to me like we should use |
we need to add enable/disable in NameSpaceSpec if we do it via namespace object; that'd work too, but having an admin know to enable a namespace on a subsystem/controller is the ask here. |
agree, let's add Enable/Disable to |
@VaibhavJMarvell @jainvipin can you please continue this ? it is open for a long time |
Added attach/detach controller to cater to use-case of an existing customer.
Signed-off-by: Vaibhav Jain [email protected]
Signed-off-by: Michal Kalderon [email protected]