ce80f24c | 24-Jan-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Call new chassis power targets during on/off requests
New targets were introduced recently to support just the power on and off of the chassis (no boot of host). This code change makes use of these
Call new chassis power targets during on/off requests
New targets were introduced recently to support just the power on and off of the chassis (no boot of host). This code change makes use of these new targets.
Change-Id: Ibf942a9ed27ccc982a36cd755afdf6171cb5c0a6 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
515f74bc | 30-Jan-2017 |
Patrick Williams <patrick@stwcx.xyz> |
build: use phosphor-dbus-interfaces directly
Change-Id: I03c12767b554cfd90760dc17f1ce159cd2b8a962 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
d613b816 | 19-Dec-2016 |
Josh D. King <jdking@us.ibm.com> |
Process system state changes
We are currently subscribed to the systemd to get a signal notifying us when the obmc-standby.target is ready. Things may change in the future but this is what we have
Process system state changes
We are currently subscribed to the systemd to get a signal notifying us when the obmc-standby.target is ready. Things may change in the future but this is what we have decided to do for now.
Change-Id: I81ecdcb45123feb611cf88916c0f9caadcd82dfe Signed-off-by: Josh D. King <jdking@us.ibm.com>
show more ...
|
5162a7b7 | 19-Dec-2016 |
Josh D. King <jdking@us.ibm.com> |
Add BMC state transition of reboot
This commit should support the transition to reboot a BMC using systemd. Later commits will handle the remaining transition monitoring for updating the current st
Add BMC state transition of reboot
This commit should support the transition to reboot a BMC using systemd. Later commits will handle the remaining transition monitoring for updating the current state.
Change-Id: I1fb14b8775de4d2cbc522aa3405c8917291bf3cc Signed-off-by: Josh D. King <jdking@us.ibm.com>
show more ...
|
6db3822d | 19-Dec-2016 |
Josh D. King <jdking@us.ibm.com> |
Subscribe to systemd on startup
Added code for the implementation of the method subscribeToSystemdSignals. The reason for this is because we want to catch the obmc-standby.target signal and be notif
Subscribe to systemd on startup
Added code for the implementation of the method subscribeToSystemdSignals. The reason for this is because we want to catch the obmc-standby.target signal and be notified when it is done which means the BMC is READY.
Change-Id: I824b83676db8cb211f5bee954f98a719a773a62b Signed-off-by: Josh D. King <jdking@us.ibm.com>
show more ...
|
bdd9cb71 | 19-Dec-2016 |
Josh D. King <jdking@us.ibm.com> |
Add base support for BMC state management
This is the starting code needing to build the application. Still more to do, this is just the layout for the additional commits that will be done for the
Add base support for BMC state management
This is the starting code needing to build the application. Still more to do, this is just the layout for the additional commits that will be done for the state management.
Change-Id: Ief1dc96c84b34630e60ef40c99d4faf5b6f6e02e Signed-off-by: Josh D. King <jdking@us.ibm.com>
show more ...
|
6e0b5093 | 19-Jan-2017 |
Matthew Barth <msbarth@us.ibm.com> |
Fix missing systemd linking
Discovered LT_INIT is required to link to systemd
Change-Id: I7755386034ccba1675f5b28fd642264f1584bc9f Signed-off-by: Matthew Barth <msbarth@us.ibm.com> |
794baed3 | 16-Jan-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Replace op with phosphor in state application names
The correct naming convention for these applications is to start with phosphor-, not op-.
Change-Id: I24373f5d4498f7fb90fb6b8a3b5b29dccca93f4d Si
Replace op with phosphor in state application names
The correct naming convention for these applications is to start with phosphor-, not op-.
Change-Id: I24373f5d4498f7fb90fb6b8a3b5b29dccca93f4d Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
2ec3a7e9 | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Use pgood signal to keep internal state updated
Change-Id: I35a2e67afc877488ceb1a0e0255b99b9db792201 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
dff50ed6 | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Determine chassis power state on application startup
Change-Id: I406b2a6c7af1e4c26af0e43a432a130c967d84bc Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
a90a31a9 | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Initial chassis state management code
This is just the basics to get the generated code compiling and to verify the basic dbus interfaces.
Change-Id: I335964da456d8173e2ce792c6614770da43303b4 Signe
Initial chassis state management code
This is just the basics to get the generated code compiling and to verify the basic dbus interfaces.
Change-Id: I335964da456d8173e2ce792c6614770da43303b4 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
1e3bf946 | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Move tracing over to phosphor-logging interfaces
Change-Id: I1af70670f4e6e941c2656cfc2877789903e9aec0 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
1cb8b707 | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Create instance specific host state object
Some day we may support multiple host instances. For now we're just going to hard code to instance 0.
Change-Id: I2c52d138177172563da5ddf0217053324a6999fd
Create instance specific host state object
Some day we may support multiple host instances. For now we're just going to hard code to instance 0.
Change-Id: I2c52d138177172563da5ddf0217053324a6999fd Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
359aaafc | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Default requestedHostTransition to value on startup
The persistence and enforcement of the requested state will come in a different chain of commits. For now, we just want this to match up with wha
Default requestedHostTransition to value on startup
The persistence and enforcement of the requested state will come in a different chain of commits. For now, we just want this to match up with what we read from the system target for our current state.
Change-Id: Iaeb60e074c3bfc6046bf00b72f512cab1012342c Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
06dbc5b7 | 13-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Support reboot transition request in host interface
Change-Id: Ic09ccf710f13697fd203ca1b96c3b5084a76511b Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
ef62116b | 08-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Process system state changes
Use the system state signal to know when to change the state of the host
The signal we look at may change with future skeleton refactors but this is the best signal for
Process system state changes
Use the system state signal to know when to change the state of the host
The signal we look at may change with future skeleton refactors but this is the best signal for now
Change-Id: Ibba7cc5628994425520c21cdf122d2710f8164aa Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
0cd2eaf8 | 07-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Host state power on and off support
This supports the basic systemd transitions to power on and off a host. Future commits will handle monitoring for the state transition to finish and updating the
Host state power on and off support
This supports the basic systemd transitions to power on and off a host. Future commits will handle monitoring for the state transition to finish and updating the current state.
Change-Id: I1ada1f4e7bd2844db49e63aaaf5b64c88b4af127 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
3e3b84b9 | 02-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Optimize namespace usage in phosphor-state-manager
The lengthy namespace string into the base class is getting annoying. I think this is a good compromise to reduce the string but keep it clear whe
Optimize namespace usage in phosphor-state-manager
The lengthy namespace string into the base class is getting annoying. I think this is a good compromise to reduce the string but keep it clear where the code is going.
Change-Id: I21a258d586eff4db30544c810467d569a92434e5 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
ef3c1847 | 01-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Determine host state on application startup
This code brings some coherence to the internal host state and transition values within the host state manager
Change-Id: I989a40bb01d5c1c16c7e42cceac1bc
Determine host state on application startup
This code brings some coherence to the internal host state and transition values within the host state manager
Change-Id: I989a40bb01d5c1c16c7e42cceac1bc99ce3222f4 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
a2fe00ed | 29-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Add a .gitignore to phosphor-state-manager
This will ignore all the automake output files
Change-Id: I14153d953b594f58cc8b801fce0e04e02cb50354 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
36529022 | 29-Nov-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Initial phosphor-state-manager commit
Still a lot of work to come with this one but this is the initial makefile and building of a basic application that provides dbus introspection and properties o
Initial phosphor-state-manager commit
Still a lot of work to come with this one but this is the initial makefile and building of a basic application that provides dbus introspection and properties of the xyz/openbmc_project/State/Host.interface.yaml
Change-Id: I406fafa6a50721b2f28ab6df03ef98a940e2db6e Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
b3b5dc3c | 18-Nov-2016 |
Patrick Williams <patrick@stwcx.xyz> |
Initial commit |