mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 17:18:56 +00:00
ospf6d: Make 'show zebra' 'show ipv6 ospf6 zebra'
The 'show zebra' command really shouldn't be owned by ospf6. This command is a specialized command to show some basic information about ospf6 and zebra so limit it to ospf6. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
This commit is contained in:
parent
69b174d4ec
commit
eefe02daa1
@ -151,6 +151,10 @@ Shows requestlist of neighbor.
|
|||||||
This command shows internal routing table.
|
This command shows internal routing table.
|
||||||
@end deffn
|
@end deffn
|
||||||
|
|
||||||
|
@deffn {Command} {show ipv6 ospf6 zebra} {}
|
||||||
|
Shows state about what is being redistributed between zebra and OSPF6
|
||||||
|
@end deffn
|
||||||
|
|
||||||
@node OSPF6 Configuration Examples
|
@node OSPF6 Configuration Examples
|
||||||
@section OSPF6 Configuration Examples
|
@section OSPF6 Configuration Examples
|
||||||
|
|
||||||
|
@ -304,13 +304,12 @@ ospf6_zebra_read_ipv6 (int command, struct zclient *zclient,
|
|||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
DEFUN (show_zebra,
|
DEFUN (show_zebra,
|
||||||
show_zebra_cmd,
|
show_ospf6_zebra_cmd,
|
||||||
"show zebra",
|
"show ipv6 ospf6 zebra",
|
||||||
SHOW_STR
|
SHOW_STR
|
||||||
|
IPV6_STR
|
||||||
|
OSPF6_STR
|
||||||
"Zebra information\n")
|
"Zebra information\n")
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
@ -836,7 +835,7 @@ ospf6_zebra_init (struct thread_master *master)
|
|||||||
install_node (&zebra_node, config_write_ospf6_zebra);
|
install_node (&zebra_node, config_write_ospf6_zebra);
|
||||||
|
|
||||||
/* Install command element for zebra node. */
|
/* Install command element for zebra node. */
|
||||||
install_element (VIEW_NODE, &show_zebra_cmd);
|
install_element (VIEW_NODE, &show_ospf6_zebra_cmd);
|
||||||
install_default (ZEBRA_NODE);
|
install_default (ZEBRA_NODE);
|
||||||
install_element (ZEBRA_NODE, &redistribute_ospf6_cmd);
|
install_element (ZEBRA_NODE, &redistribute_ospf6_cmd);
|
||||||
install_element (ZEBRA_NODE, &no_redistribute_ospf6_cmd);
|
install_element (ZEBRA_NODE, &no_redistribute_ospf6_cmd);
|
||||||
|
Loading…
Reference in New Issue
Block a user