-
Notifications
You must be signed in to change notification settings - Fork 37
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
bmclib interface comparison #199
Comments
1. Reduce the amount of boilerplate required for a v2 interface method to be added under the bmc directory 2. Could we have device probing - to identify the hardware model, type be part of the v2 interface. 3. Is theres a possibility to have some of the v1 methods available as part of the v2 interface (of if this is not a good idea at all) I'm not quite sure I follow the v1/v2 comparison you have. The new interfaces have been discussed for some time here. I definitely think we need more documentation around implementing a provider using the new interfaces. I, unfortunately, haven't had time to accomplish this yet. There is an issue open for that here. |
Yep, I admit I did not entirely realize the effort that would be required for adding in the boilerplate bits, For the probing I see we need to have a few Now having implemented the newer interface methods and going through the proposal again, As for documenting some of this, I'll take a stab at it :) |
About
This ticket is mainly a discussion around the newer and older bmclib interfaces
The newer interface methods are referred to as v2, while the older as v1.
For reference the #196 PR implements both the v1, v2 interfaces for
Firmware
Outcome
The idea here is to figure if the following points make sense to work through ,
bmc
directoryWhat follows is a comparison of the two interfaces...
v2 vs v1
v2 - the newer bmclib interface
Pros
Cons
BMCVersion method
BMCVersion interface declaration, implementation
BMCVersion tests
registrar.Verfier
interface could be hacked up to do this although it would be ideal to have one method to probe and identify hardware.v1 - the older bmclib interface
Pros
Cons
Bmc
interface methods - even if its going to support just a single methodThe text was updated successfully, but these errors were encountered: