diff --git a/dockers/docker-dhcp-relay/cli/clear/plugins/dhcp6relay_counter_clear.py b/dockers/docker-dhcp-relay/cli/clear/plugins/dhcp6relay_counter_clear.py index 69933ba29661..76265c59fa60 100644 --- a/dockers/docker-dhcp-relay/cli/clear/plugins/dhcp6relay_counter_clear.py +++ b/dockers/docker-dhcp-relay/cli/clear/plugins/dhcp6relay_counter_clear.py @@ -7,7 +7,7 @@ @click.command() @click.option('-i', '--interface', required=False) @click.option('--verbose', is_flag=True, help="Enable verbose output") -def dhcp6relay_counter_clear(interface, verbose): +def dhcp6relay_counters(interface, verbose): """Clear dhcp6relay message counts""" counter = DHCPv6_Counter() @@ -20,5 +20,4 @@ def dhcp6relay_counter_clear(interface, verbose): counter.clear_table(intf) def register(cli): - cli.add_command(dhcp6relay_counter_clear) - \ No newline at end of file + cli.add_command(dhcp6relay_counters) diff --git a/dockers/docker-dhcp-relay/cli/show/plugins/show_dhcpv6_helper.py b/dockers/docker-dhcp-relay/cli/show/plugins/show_dhcpv6_helper.py index dd0baabbd08e..68220413cc63 100644 --- a/dockers/docker-dhcp-relay/cli/show/plugins/show_dhcpv6_helper.py +++ b/dockers/docker-dhcp-relay/cli/show/plugins/show_dhcpv6_helper.py @@ -11,7 +11,7 @@ def dhcp_relay_helper(): """Show DHCP_Relay helper information""" pass -@dhcp_relay_helper.command('ip') +@dhcp_relay_helper.command('ipv6') def get_dhcpv6_helper_address(): config_db = ConfigDBConnector() if config_db is not None: @@ -29,4 +29,3 @@ def get_dhcpv6_helper_address(): def register(cli): cli.commands['dhcp_relay_helper'].add_command(dhcp_relay_helper) - \ No newline at end of file