Skip to content

Commit

Permalink
Updated naming
Browse files Browse the repository at this point in the history
  • Loading branch information
kellyyeh committed Aug 25, 2021
1 parent 41cb3c2 commit 4308fda
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -20,5 +20,4 @@ def dhcp6relay_counter_clear(interface, verbose):
counter.clear_table(intf)

def register(cli):
cli.add_command(dhcp6relay_counter_clear)

cli.add_command(dhcp6relay_counters)
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -29,4 +29,3 @@ def get_dhcpv6_helper_address():

def register(cli):
cli.commands['dhcp_relay_helper'].add_command(dhcp_relay_helper)

0 comments on commit 4308fda

Please sign in to comment.