summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_interface.c
diff options
context:
space:
mode:
authorRenato Westphal <renato@opensourcerouting.org>2019-09-23 09:38:03 -0300
committerRenato Westphal <renato@opensourcerouting.org>2019-09-23 09:38:05 -0300
commiteba4e1ea9f9763aa8fad9f80eeeba6369e7d1ad2 (patch)
tree84d7ce3f257297e9e4594c93c0f34449723f62b9 /ospf6d/ospf6_interface.c
parent4ad771401e18fef1d85de2df73b41fa512162b54 (diff)
vtysh: add the "show yang operational-data" command
The right way to implement this command in vtysh is the following: * Send the command to each running FRR daemon; * Collect the command output from each daemon; * Parse the text outputs into libyang lyd_node structures. Then merge all these data trees into a single one. Finally, print the merged data trees to the standard output (libyang will take care of combining duplicate nodes as necessary). What this commit does is to allow vtysh to send the "show yang operational-data" command to a single daemon only (the last parameter). It's a quick workaround to allow us to write topotests using YANG-modeled data until we do the real thing (full vtysh northbound integration). Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_interface.c')
0 files changed, 0 insertions, 0 deletions