summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Stanley <joel@jms.id.au>2018-01-31 13:34:16 +1030
committerJoel Stanley <joel@jms.id.au>2018-01-31 13:34:16 +1030
commita30ab9db33bb8d1c208b2b86b8e824c5c70dae54 (patch)
tree1c976916d0ebdf96c0f61c482c5d4aae5cdc10b8
parent89e6c91889cbd27d0857aa44438ede5e4eb7fd80 (diff)
downloadblackbird-skeleton-a30ab9db33bb8d1c208b2b86b8e824c5c70dae54.tar.gz
blackbird-skeleton-a30ab9db33bb8d1c208b2b86b8e824c5c70dae54.zip
obmcutil: alias status to state
Save users who assume the machine status is available with 'obmcutil status' by aliasing status to state. Change-Id: Icdfa6f62ff6f719386edd892ec80fe29c32087f0 Signed-off-by: Joel Stanley <joel@jms.id.au>
-rw-r--r--pytools/obmcutil3
1 files changed, 2 insertions, 1 deletions
diff --git a/pytools/obmcutil b/pytools/obmcutil
index 4b2236b..8c3f6c9 100644
--- a/pytools/obmcutil
+++ b/pytools/obmcutil
@@ -76,7 +76,8 @@ descriptors = {
'interface_name': 'xyz.openbmc_project.State.Boot.Progress',
'property': 'BootProgress',
},
- 'state' : ['bmcstate', 'chassisstate', 'hoststate']
+ 'state' : ['bmcstate', 'chassisstate', 'hoststate'],
+ 'status' : ['bmcstate', 'chassisstate', 'hoststate'],
}
def run_set_property(dbus_bus, dbus_iface, descriptor, args):
OpenPOWER on IntegriCloud