-
Notifications
You must be signed in to change notification settings - Fork 54
Remove the API call for returning active extensions #962
Comments
so @naved001 @Izhmash @xuhang57 we did have a discussion about it. Here is what I feel about this. the heart of the problem is @naved001 suggested that once a call for I suggested the following: Alternatively, lets not have any support for |
My thoughts: We have two issues here.
My humble opinions:
new brocade = Brocade(arg1, arg2, arg3, arg4) |
I agree with @xuhang57 on 1. On 2, what I had in mind was. just send a sorted list Will dig more into it on how can this be handled. |
I agree on (1) as well; the complaint was the api call doesn't have a clear use (that actually works anyway; as discussed it doesn't solve the problem it was designed for). Somewhere (not sure which PR issue it was on, and can't find it now) I outlined a way to write the We could also look into using a more principled way of validating the format of our messages, e.g. json schema. We could build an api call to fetch the schema for the drivers it understands, and the client library could use those to validate the arguments. This solves the problem in a way that its somewhat similar to what the existing API call was trying to do, but it does so without needing to hard-code what each extension name "means," and it avoids exposing the implementation detail. The latter also means it wouldn't be hard to use this approach in OBMd as well, even though it doesn't re-use HIL's extension mechanism at all. |
Yep, that's what I was thinking of, thanks for digging it up. |
Node registration will now happen in OBMd; and the cli can now pass either subtype dependent info or raw info the client library. So I guess it's safe to remove the API in question. |
See the discussion on #939
The consensus is that we don't really need that API. @SahilTikale I am tagging you again, please let us know if you think there's a reason to keep it.
The text was updated successfully, but these errors were encountered: