@cliutils.arg('node', metavar='<node>', help="Name or UUID of the node.")
def do_node_validate(cc, args):
    ifaces = cc.node.validate(args.node)
    obj_list = []
    for key, value in ifaces.to_dict().items():
        data = {'interface': key}
        data.update(value)
        obj_list.append(type('iface', (object,), data))
    field_labels = ['Interface', 'Result', 'Reason']
    fields = ['interface', 'result', 'reason']
    cliutils.print_list(obj_list, fields, field_labels=field_labels,
                        json_flag=args.json)
Returns the SLA result dict corresponding to the current state.
dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/v1/node_shell.py/do_node_validate--crossover with--dataset/ETHPy150Open openstack/rally/rally/task/sla.py/_format_result