def get_hpasmcli_status(thing):
    return check_command(('hpasmcli', '-s', 'show %s' % thing),
                         'Status', 'Ok')
dataset/ETHPy150Open rcbops/rpc-openstack/maas/plugins/hp_monitoring.py/get_hpasmcli_status/original