fb8e1014 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Assign None to val by default
And remove a now-redundant branch.
Change-Id: I92e91cfb307a98cd60a26e5e5d34bf0ddc384d3f Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
b40e64be | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Properly use format string
This changes the format slightly, but not for the worse in my opinion.
Change-Id: Ie9297c22f8c3ceff4fc56ae567dbdbb0f128dd51 Signed-off-by: Andrew Jeffe
pytools: obmcutil: Properly use format string
This changes the format slightly, but not for the worse in my opinion.
Change-Id: Ie9297c22f8c3ceff4fc56ae567dbdbb0f128dd51 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
47f8ff97 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Drop parentheses from conditions
Change-Id: I85b74febc33e8f44d9df86718ce6e3ba1d6d6933 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
e44ee593 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Make prop use None instead of empty string
Change-Id: I54e04fba2108edce0dbe504ae40f4ae4e073188e Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
02154023 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename property_value to val
Change-Id: I768fbffde2025bb0f92b3aa82fe00f558a68fc2b Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
97800bc2 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename property_name to prop
Change-Id: Ia71c777dd41ca5551319f0a733dbdfce248a876b Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
82b4b816 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename prop to dbus_prop
Change-Id: I4c4a3dd142650f60271011f2dce096166c9917a4 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
dc56a93b | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename bus_name to bus
Change-Id: Ida2cbe57d83785e2c8c196b55351d89805590169 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
bdb7435b | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename bus to dbus_bus
Change-Id: Ia78317bd76f70bb3f701bfad6e262438ea061d6c Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
563db9fc | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename intf_name to iface
Change-Id: Iddd77221c768c5ce5d2f36dc98b640b7df9c5553 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
687aaa4a | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename intf to dbus_iface
Change-Id: Ic1e554136be3b7a3afa213b20e4aea69194c856f Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
eee9c249 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename obj_path to obj
Change-Id: I144def3cc221e923e3c3e10c6d8aadddeb88fea1 Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
401fcb49 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Rename obj to dbus_obj
Change-Id: I9a8b47d862690c5bba4b5e12b9835ad8dd86954d Signed-off-by: Andrew Jeffery <andrew@aj.id.au> |
44e6d9c4 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Put script into a main() method
This is more python hygiene than anything required - it makes the module importable without running arbitrary code at import time.
Change-Id: I7f5
pytools: obmcutil: Put script into a main() method
This is more python hygiene than anything required - it makes the module importable without running arbitrary code at import time.
Change-Id: I7f5d8056fa553f484076299823716f73e5c7ead2 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
076aa1f7 | 11-Oct-2017 |
Andrew Jeffery <andrew@aj.id.au> |
pytools: obmcutil: Drop commandline method support
None of the specified DBus objects have the 'method' property any longer, so drop the code supporting it and cleanup the resulting cruft.
Change-I
pytools: obmcutil: Drop commandline method support
None of the specified DBus objects have the 'method' property any longer, so drop the code supporting it and cleanup the resulting cruft.
Change-Id: I9c66226c233e082e9d518310b62b0641ba410532 Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
show more ...
|
3be0995b | 18-Aug-2017 |
George Keishing <gkeishin@in.ibm.com> |
obmcutil to get get bootprogress from xyz interface
Change-Id: I3524ef2bba925d81c9746cfa12c16706dcecad5a Signed-off-by: George Keishing <gkeishin@in.ibm.com> |
2cbbb67c | 17-May-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Add chassis power on/off to obmcutil
The recent refactoring of the systemd target names to power on and off the chassis had a significant impact to openpower partners because they'd encoded the syst
Add chassis power on/off to obmcutil
The recent refactoring of the systemd target names to power on and off the chassis had a significant impact to openpower partners because they'd encoded the systemctl command to power on just the chassis into a lot of instructions and scripts. There's no guarantee the team won't do this again in the future so a wrapper around the command for this function makes sense to have. Now if the target name changes, it's all abstracted within obmcutil.
Change-Id: Ib7b1907cf4618cf0985f76f2c5f5c5e04d4c162f Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
53d93023 | 26-Apr-2017 |
Patrick Williams <patrick@stwcx.xyz> |
obmcutil: Remove most old org.openbmc commands
Fixes openbmc/openbmc#1522.
Change-Id: Icbbc67f712f70e408207b7fb4cec3e70992009b3 Signed-off-by: Patrick Williams <patrick@stwcx.xyz> |
cf951db6 | 23-Mar-2017 |
Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com> |
LED: Remove methods used to set and clear Identify LEDs.
Now that the LED Group manager support is in, the users can make a call to phosphor-ledmanager and assert the Identify group and hence this c
LED: Remove methods used to set and clear Identify LEDs.
Now that the LED Group manager support is in, the users can make a call to phosphor-ledmanager and assert the Identify group and hence this code in here is not needed.
Change-Id: I7c268710ee8806215c60015d6b39a0ef19601fd0 Signed-off-by: Vishwanatha Subbanna <vishwa@linux.vnet.ibm.com>
show more ...
|
8f8cbcea | 20-Feb-2017 |
Andrew Geissler <andrewg@us.ibm.com> |
Add bmc, chassis, and host states to obmcutil
Remove the use of system state from obmcutil
Change-Id: Ia74b68d945fce7526aa4bbc62cda4ad242cdec25 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
25b9a850 | 19-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Move poweron and poweroff over to new host state interfaces
Depends on this chain of code: https://gerrit.openbmc-project.xyz/#/c/1340/
Change-Id: Iac35b6a23a2b10a656a0e386de7796cd0194dfae Signed-
Move poweron and poweroff over to new host state interfaces
Depends on this chain of code: https://gerrit.openbmc-project.xyz/#/c/1340/
Change-Id: Iac35b6a23a2b10a656a0e386de7796cd0194dfae Signed-off-by: Andrew Geissler <andrewg@us.ibm.com>
show more ...
|
cae038e5 | 19-Dec-2016 |
Andrew Geissler <andrewg@us.ibm.com> |
Fix formatting
A formatting-only change
Change-Id: Ib38451f3b54d752e3648a7fd103eef23d97637f9 Signed-off-by: Andrew Geissler <andrewg@us.ibm.com> |
3045be31 | 02-Dec-2016 |
Xo Wang <xow@google.com> |
pytools/gpioutil: Strip whitespace from value read
Reading from the value file includes a newline following the value, so strip it.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: I075794d80f6db
pytools/gpioutil: Strip whitespace from value read
Reading from the value file includes a newline following the value, so strip it.
Signed-off-by: Xo Wang <xow@google.com> Change-Id: I075794d80f6db0ad8169c6a142ea56b34bd87164
show more ...
|
5d4a54e8 | 02-Dec-2016 |
Xo Wang <xow@google.com> |
pytools/gpioutil: Don't set direction if already set
Writing "out" to GPIO direction will actually clear the output value. This makes it impossible to read the value of outputs with gpioutil since i
pytools/gpioutil: Don't set direction if already set
Writing "out" to GPIO direction will actually clear the output value. This makes it impossible to read the value of outputs with gpioutil since it always sets value to 0 before reading it.
Fix: don't write direction if the direction already matches that requested.
Change-Id: I2116e6c7f5800239dd89c4f47fe7fd087b3a87cd Signed-off-by: Xo Wang <xow@google.com>
show more ...
|
a7ac805b | 21-Sep-2016 |
Brad Bishop <bradleyb@fuzziesquirrel.com> |
configs: Remove gpio code from config files
Move to a new obmc.system module.
Change-Id: Ie02a4b2c14cfcf272d8823d44fb9d7c03b796c87 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> |