@utils.arg('id', metavar='<NODE>', nargs='+',
           help=_('ID of node(s) to check.'))
def do_node_check(service, args):
    show_deprecated('senlin node-check', 'openstack cluster node check')
    failure_count = 0

    for nid in args.id:
        try:
            service.check_node(nid)
        except exc.HTTPNotFound:
            failure_count += 1
            print('Node id "%s" not found' % nid)
    if failure_count > 0:
        msg = _('Failed to check some of the specified nodes.')
        raise exc.CommandError(msg)
    print('Request accepted')
Check the node(s).
dataset/ETHPy150Open openstack/python-senlinclient/senlinclient/v1/shell.py/do_node_check