summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_opaque.c
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2016-09-23 05:55:26 +0200
committerDaniel Walton <dwalton@cumulusnetworks.com>2016-09-23 05:55:26 +0200
commitf412b39a337b55e07c5d361f7d7c4ae845fb34e8 (patch)
tree4f83e099bb6316e4aa7af137463056dd79ecd095 /ospfd/ospf_opaque.c
parenttools: added alias_destroyer.py (diff)
downloadfrr-f412b39a337b55e07c5d361f7d7c4ae845fb34e8.tar.xz
frr-f412b39a337b55e07c5d361f7d7c4ae845fb34e8.zip
ALIAS removal for bgp, ospf, pim, isis, rip, ripng, lib and zebra
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Diffstat (limited to 'ospfd/ospf_opaque.c')
-rw-r--r--ospfd/ospf_opaque.c28
1 files changed, 15 insertions, 13 deletions
diff --git a/ospfd/ospf_opaque.c b/ospfd/ospf_opaque.c
index 33980b35c..9ffb50896 100644
--- a/ospfd/ospf_opaque.c
+++ b/ospfd/ospf_opaque.c
@@ -763,6 +763,13 @@ out:
* Followings are (vty) configuration functions for Opaque-LSAs handling.
*------------------------------------------------------------------------*/
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "ospf opaque-lsa",
+ * "OSPF specific commands\n"
+ * "Enable the Opaque-LSA capability (rfc2370)\n"
+ *
+ */
DEFUN (capability_opaque,
capability_opaque_cmd,
"capability opaque",
@@ -786,12 +793,15 @@ DEFUN (capability_opaque,
return CMD_SUCCESS;
}
-ALIAS (capability_opaque,
- ospf_opaque_capable_cmd,
- "ospf opaque-lsa",
- "OSPF specific commands\n"
- "Enable the Opaque-LSA capability (rfc2370)\n")
+/*
+ * CHECK ME - The following ALIASes need to be implemented in this DEFUN
+ * "no ospf opaque-lsa",
+ * NO_STR
+ * "OSPF specific commands\n"
+ * "Disable the Opaque-LSA capability (rfc2370)\n"
+ *
+ */
DEFUN (no_capability_opaque,
no_capability_opaque_cmd,
"no capability opaque",
@@ -816,20 +826,12 @@ DEFUN (no_capability_opaque,
return CMD_SUCCESS;
}
-ALIAS (no_capability_opaque,
- no_ospf_opaque_capable_cmd,
- "no ospf opaque-lsa",
- NO_STR
- "OSPF specific commands\n"
- "Disable the Opaque-LSA capability (rfc2370)\n")
static void
ospf_opaque_register_vty (void)
{
install_element (OSPF_NODE, &capability_opaque_cmd);
install_element (OSPF_NODE, &no_capability_opaque_cmd);
- install_element (OSPF_NODE, &ospf_opaque_capable_cmd);
- install_element (OSPF_NODE, &no_ospf_opaque_capable_cmd);
return;
}