]> git.puffer.fish Git - matthieu/frr.git/commitdiff
isisd: remove deprecated command
authorIgor Ryzhov <iryzhov@nfware.com>
Thu, 27 Jan 2022 18:12:22 +0000 (21:12 +0300)
committerIgor Ryzhov <iryzhov@nfware.com>
Thu, 27 Jan 2022 18:12:22 +0000 (21:12 +0300)
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
isisd/isis_cli.c

index 9feabfa012aa30243198f1cd9722d9eaa30c01f1..089ad5747c875012c1dce0fe86266355fba27abb 100644 (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);