isisd: remove deprecated command

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
This commit is contained in:
Igor Ryzhov 2022-01-27 21:12:22 +03:00
parent 6766acddbf
commit b040d06f1f

View File

@ -418,23 +418,6 @@ void cli_show_isis_overload(struct vty *vty, const struct lyd_node *dnode,
vty_out(vty, " set-overload-bit\n");
}
#if CONFDATE > 20220119
CPP_NOTICE(
"Use of `set-attached-bit` is deprecated please use attached-bit [send | receive]")
#endif
/*
* XPath: /frr-isisd:isis/instance/attached
*/
DEFPY_YANG(set_attached_bit, set_attached_bit_cmd, "[no] set-attached-bit",
"Reset attached bit\n"
"Set attached bit to identify as L1/L2 router for inter-area traffic\n")
{
vty_out(vty,
"set-attached-bit deprecated please use attached-bit [send | receive]\n");
return CMD_SUCCESS;
}
/*
* XPath: /frr-isisd:isis/instance/attach-send
*/
@ -3157,7 +3140,6 @@ void isis_cli_init(void)
install_element(ISIS_NODE, &dynamic_hostname_cmd);
install_element(ISIS_NODE, &set_overload_bit_cmd);
install_element(ISIS_NODE, &set_attached_bit_cmd);
install_element(ISIS_NODE, &attached_bit_send_cmd);
install_element(ISIS_NODE, &attached_bit_receive_ignore_cmd);