History log of /openbmc/phosphor-state-manager/discover_system_state.cpp (Results 26 – 38 of 38)
Revision Date Author Comments
# e426b589 28-May-2020 Andrew Geissler <geissonator@yahoo.com>

clang-format: update to latest from docs repo

This is from openbmc/docs/style/cpp/.clang-format

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I5b80bb56845170

clang-format: update to latest from docs repo

This is from openbmc/docs/style/cpp/.clang-format

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I5b80bb568451706afb6d268b41e1a5357a2ca6db

show more ...


# 2975e26f 13-May-2020 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: replace message::variant with std::variant

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If7c54cfe20a84fa91aacc309ebfa804231078bf7


# 37413dcb 13-May-2020 Patrick Williams <patrick@stwcx.xyz>

sdbusplus: remove deprecated variant_ns

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ie9d2f9838212aba7e3201f8af43586c48e273189


# 769a62f1 06-Dec-2019 Andrew Geissler <geissonator@yahoo.com>

meson: fix up compile errors found by meson

meson enables more error checking by default so in preperation for
moving to it, fix all errors in the code it has found.

This breaks

meson: fix up compile errors found by meson

meson enables more error checking by default so in preperation for
moving to it, fix all errors in the code it has found.

This breaks down into the following issues:
- Unused variables: remove where applicable, otherwise void out
- Extra ';'
- Local includes need to use ""

Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
Change-Id: I94d9b4d2ffc85ae46d941e1a190fafd4ba5bd893

show more ...


# 32c532ea 25-Oct-2018 Anthony Wilson <wilsonan@us.ibm.com>

Update error handling on sdbusplus calls

Error handling was added to the bus.call() routine,
which effectively deprecated the is_method_error()
check. Errors should now be handled in

Update error handling on sdbusplus calls

Error handling was added to the bus.call() routine,
which effectively deprecated the is_method_error()
check. Errors should now be handled in a try/catch
block.

Change-Id: I1dcbbaa91db443445ef6bb2f616bd37f06731d36
Signed-off-by: Anthony Wilson <wilsonan@us.ibm.com>

show more ...


# 7a0689a9 12-Nov-2018 William A. Kennington III <wak@google.com>

std::variant: Fix use of incompatible api

Refactors any uses of the mapbox variant specific api and converts them
to an api compatible with std::variant and mapbox variant.

Test

std::variant: Fix use of incompatible api

Refactors any uses of the mapbox variant specific api and converts them
to an api compatible with std::variant and mapbox variant.

Tested:
Built and run through the unit test suite.

Change-Id: Ie9b83fd638c495859fe98b5de86d9d3c7c1a27af
Signed-off-by: William A. Kennington III <wak@google.com>

show more ...


# f287059d 14-Oct-2018 Patrick Venture <venture@google.com>

discover_system_state: const reference for params

[discover_system_state.cpp:93]: (performance) Function parameter 'value'
should be passed by const reference.

Change-Id: I25fd4

discover_system_state: const reference for params

[discover_system_state.cpp:93]: (performance) Function parameter 'value'
should be passed by const reference.

Change-Id: I25fd43f7993d4d2d94731dbd8d9f490623933d6b
Signed-off-by: Patrick Venture <venture@google.com>

show more ...


# a965cf06 31-Aug-2018 Andrew Geissler <geissonator@yahoo.com>

Clang 6 updates

Just some minor spelling fixes on the namespaces

Change-Id: I9ed639a4d78b7fbc6f796ed8f74eee9316c429e0
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>


# 58a18013 19-Jan-2018 Andrew Geissler <geissonator@yahoo.com>

Apply clang code format to this state repo

Change-Id: I232af39d8ded90fa3eb37b74d1435ddbf19fffb1
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>


# d50f6578 05-Sep-2017 Michael Tritz <mtritz@us.ibm.com>

discover_system_state: Accept a node parameter

In this commit, discover_system_state is extended to accept a
command line argument such that the user can specify a particular
host. T

discover_system_state: Accept a node parameter

In this commit, discover_system_state is extended to accept a
command line argument such that the user can specify a particular
host. This will allow discover_system_state to run for host1,
host2, or any other host!

Resolves openbmc/openbmc#1466

Change-Id: Ib58a4bc1fd5dfe10a6455778eac779eb0b2085e0
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>

show more ...


# 033fc3bd 30-Aug-2017 Andrew Geissler <andrewg@us.ibm.com>

Move all restore state policy into discover_state

Doing this so the host state code can set it's requested
host transition state without calling the override function.
Need to initia

Move all restore state policy into discover_state

Doing this so the host state code can set it's requested
host transition state without calling the override function.
Need to initialize it to the persisted cereal value but
not act on it.

The phosphor_discover_state application will ensure the appropriate
action is taken based on the system state and the persisted
value of the last requested host state.

Resolves openbmc/openbmc#2210

Change-Id: I7bef12fe314c7dfe137494fd46ddb35309063fc5
Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>

show more ...


# 55f132bf 25-Jul-2017 Deepak Kodihalli <dkodihal@in.ibm.com>

host: power_restore: switch to new settings API

Change-Id: Ie44e421ad690527d1883f03dcde9d499282ecacc
Signed-off-by: Deepak Kodihalli <dkodihal@in.ibm.com>


# 3ed10085 20-Mar-2017 Michael Tritz <mtritz@us.ibm.com>

discover_system_state refactor in C++

This commit refactors the system state discovery
script from openbmc/skeleton in C++ in order to
use the sdbusplus library.

Change-Id:

discover_system_state refactor in C++

This commit refactors the system state discovery
script from openbmc/skeleton in C++ in order to
use the sdbusplus library.

Change-Id: Ie431b147cbdcd92ac8cf20916235011b6a5a3f4c
Signed-off-by: Michael Tritz <mtritz@us.ibm.com>

show more ...


12