diff options
author | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-23 05:55:26 +0200 |
---|---|---|
committer | Daniel Walton <dwalton@cumulusnetworks.com> | 2016-09-23 05:55:26 +0200 |
commit | f412b39a337b55e07c5d361f7d7c4ae845fb34e8 (patch) | |
tree | 4f83e099bb6316e4aa7af137463056dd79ecd095 /zebra/router-id.c | |
parent | tools: added alias_destroyer.py (diff) | |
download | frr-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 'zebra/router-id.c')
-rw-r--r-- | zebra/router-id.c | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/zebra/router-id.c b/zebra/router-id.c index fbd9e2b0c..05eee8ad3 100644 --- a/zebra/router-id.c +++ b/zebra/router-id.c @@ -214,6 +214,14 @@ router_id_write (struct vty *vty) } } +/* + * CHECK ME - The following ALIASes need to be implemented in this DEFUN + * "router-id A.B.C.D " VRF_CMD_STR, + * "Manually set the router-id\n" + * "IP address to use for router-id\n" + * VRF_CMD_HELP_STR + * + */ DEFUN (router_id, router_id_cmd, "router-id A.B.C.D", @@ -238,13 +246,21 @@ DEFUN (router_id, return CMD_SUCCESS; } -ALIAS (router_id, - router_id_vrf_cmd, - "router-id A.B.C.D " VRF_CMD_STR, - "Manually set the router-id\n" - "IP address to use for router-id\n" - VRF_CMD_HELP_STR) +/* + * CHECK ME - The following ALIASes need to be implemented in this DEFUN + * "no router-id A.B.C.D", + * NO_STR + * "Remove the manually configured router-id\n" + * "IP address to use for router-id\n" + * + * "no router-id A.B.C.D " VRF_CMD_STR, + * NO_STR + * "Remove the manually configured router-id\n" + * "IP address to use for router-id\n" + * VRF_CMD_HELP_STR + * + */ DEFUN (no_router_id, no_router_id_cmd, "no router-id", @@ -266,20 +282,7 @@ DEFUN (no_router_id, return CMD_SUCCESS; } -ALIAS (no_router_id, - no_router_id_val_cmd, - "no router-id A.B.C.D", - NO_STR - "Remove the manually configured router-id\n" - "IP address to use for router-id\n") -ALIAS (no_router_id, - no_router_id_vrf_cmd, - "no router-id A.B.C.D " VRF_CMD_STR, - NO_STR - "Remove the manually configured router-id\n" - "IP address to use for router-id\n" - VRF_CMD_HELP_STR) static int router_id_cmp (void *a, void *b) @@ -295,9 +298,6 @@ router_id_cmd_init (void) { install_element (CONFIG_NODE, &router_id_cmd); install_element (CONFIG_NODE, &no_router_id_cmd); - install_element (CONFIG_NODE, &router_id_vrf_cmd); - install_element (CONFIG_NODE, &no_router_id_val_cmd); - install_element (CONFIG_NODE, &no_router_id_vrf_cmd); } void |