/openbmc/google-ipmi-sys/test/ |
H A D | poweroff_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | machine_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | flash_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | helper.hpp | ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | helper.cpp | ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | pcie_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | cable_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | entity_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | cpld_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | psu_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | eth_unittest.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
/openbmc/google-ipmi-sys/ |
H A D | host_power_off.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | machine_name.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | ipmi.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | flash_size.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | host_power_off.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | machine_name.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | flash_size.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | cpld.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | cable.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | eth.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | psu.hpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | cpld.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | cable.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|
H A D | psu.cpp | diff ff3cd8e91958cadd6a9f72f2ad69c00abae3c7cf Wed Sep 15 00:49:55 CDT 2021 Willy Tu <wltu@google.com> google-ipmi-sys: Refactor to use new version of OEM IPMI Handler
Using the new version of ipmi handler provide a higher level wrapper over the same functionalities. It helps us parse the input and output to have more control of the input/output we see.
The input and output will be `std::uint8_t, std::optional<std::vector<uint8_t>>`.
This represents `subcommand` and any input data.
Changes to note, - all subcommand in the request/response struct are removed. It will be managed by the wrapper directly. - Unit tests checking for input with only the subcommand are removed. - Move all reply struct to header files to be accessible in unit test.
Tested: All IPMI OEM command still works the same as before this change.
Change-Id: I4230ab84a497a867248fe82224e32cc69b314b64 Signed-off-by: Willy Tu <wltu@google.com>
|