Skip to content

Commit

Permalink
pim6d: Modifying the mld group watermark command name
Browse files Browse the repository at this point in the history
Modifying the "mld_group_watermark_cmd" to "ipv6_mld_group_watermark_cmd"
and "igmp_group_watermark_cmd" to "ip_igmp_group_watermark_cmd" for consistency.

Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
  • Loading branch information
SaiGomathiN committed Apr 25, 2022
1 parent 2253261 commit fb00541
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
16 changes: 8 additions & 8 deletions pimd/pim6_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -652,8 +652,8 @@ DEFPY (interface_no_ipv6_mld_query_interval,
"frr-routing:ipv6");
}

DEFPY (mld_group_watermark,
mld_group_watermark_cmd,
DEFPY (ipv6_mld_group_watermark,
ipv6_mld_group_watermark_cmd,
"ipv6 mld watermark-warn (1-65535)$limit",
IPV6_STR
MLD_STR
Expand All @@ -665,8 +665,8 @@ DEFPY (mld_group_watermark,
return CMD_SUCCESS;
}

DEFPY (no_mld_group_watermark,
no_mld_group_watermark_cmd,
DEFPY (no_ipv6_mld_group_watermark,
no_ipv6_mld_group_watermark_cmd,
"no ipv6 mld watermark-warn [(1-65535)$limit]",
NO_STR
IPV6_STR
Expand Down Expand Up @@ -1628,10 +1628,10 @@ void pim_cmd_init(void)
install_element(INTERFACE_NODE, &interface_ipv6_mld_query_interval_cmd);
install_element(INTERFACE_NODE,
&interface_no_ipv6_mld_query_interval_cmd);
install_element(CONFIG_NODE, &mld_group_watermark_cmd);
install_element(VRF_NODE, &mld_group_watermark_cmd);
install_element(CONFIG_NODE, &no_mld_group_watermark_cmd);
install_element(VRF_NODE, &no_mld_group_watermark_cmd);
install_element(CONFIG_NODE, &ipv6_mld_group_watermark_cmd);
install_element(VRF_NODE, &ipv6_mld_group_watermark_cmd);
install_element(CONFIG_NODE, &no_ipv6_mld_group_watermark_cmd);
install_element(VRF_NODE, &no_ipv6_mld_group_watermark_cmd);
install_element(INTERFACE_NODE,
&interface_ipv6_mld_query_max_response_time_cmd);
install_element(INTERFACE_NODE,
Expand Down
16 changes: 8 additions & 8 deletions pimd/pim_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -4975,8 +4975,8 @@ DEFUN (no_ip_pim_packets,
return pim_process_no_pim_packet_cmd(vty);
}

DEFPY (igmp_group_watermark,
igmp_group_watermark_cmd,
DEFPY (ip_igmp_group_watermark,
ip_igmp_group_watermark_cmd,
"ip igmp watermark-warn (1-65535)$limit",
IP_STR
IGMP_STR
Expand All @@ -4989,8 +4989,8 @@ DEFPY (igmp_group_watermark,
return CMD_SUCCESS;
}

DEFPY (no_igmp_group_watermark,
no_igmp_group_watermark_cmd,
DEFPY (no_ip_igmp_group_watermark,
no_ip_igmp_group_watermark_cmd,
"no ip igmp watermark-warn [(1-65535)$limit]",
NO_STR
IP_STR
Expand Down Expand Up @@ -8422,10 +8422,10 @@ void pim_cmd_init(void)
install_element(VRF_NODE, &no_ip_pim_ecmp_rebalance_cmd);
install_element(CONFIG_NODE, &ip_pim_mlag_cmd);
install_element(CONFIG_NODE, &no_ip_pim_mlag_cmd);
install_element(CONFIG_NODE, &igmp_group_watermark_cmd);
install_element(VRF_NODE, &igmp_group_watermark_cmd);
install_element(CONFIG_NODE, &no_igmp_group_watermark_cmd);
install_element(VRF_NODE, &no_igmp_group_watermark_cmd);
install_element(CONFIG_NODE, &ip_igmp_group_watermark_cmd);
install_element(VRF_NODE, &ip_igmp_group_watermark_cmd);
install_element(CONFIG_NODE, &no_ip_igmp_group_watermark_cmd);
install_element(VRF_NODE, &no_ip_igmp_group_watermark_cmd);

install_element(INTERFACE_NODE, &interface_ip_igmp_cmd);
install_element(INTERFACE_NODE, &interface_no_ip_igmp_cmd);
Expand Down

0 comments on commit fb00541

Please sign in to comment.