Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[show] Fix abbreviations for 'show ip bgp ...' commands #901

Merged
merged 1 commit into from
May 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions show/bgp_frr_v4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ip, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ip, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ip.group()
@ip.group(cls=AliasedGroup)
def bgp():
"""Show IPv4 BGP (Border Gateway Protocol) information"""
pass
Expand Down
4 changes: 2 additions & 2 deletions show/bgp_frr_v6.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ipv6, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ipv6.group()
@ipv6.group(cls=AliasedGroup)
def bgp():
"""Show IPv6 BGP (Border Gateway Protocol) information"""
pass
Expand Down
4 changes: 2 additions & 2 deletions show/bgp_quagga_v4.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ip, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ip, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ip.group()
@ip.group(cls=AliasedGroup)
def bgp():
"""Show IPv4 BGP (Border Gateway Protocol) information"""
pass
Expand Down
4 changes: 2 additions & 2 deletions show/bgp_quagga_v6.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import click
from show.main import ipv6, run_command, get_bgp_summary_extended
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended


###############################################################################
Expand All @@ -9,7 +9,7 @@
###############################################################################


@ipv6.group()
@ipv6.group(cls=AliasedGroup)
def bgp():
"""Show IPv6 BGP (Border Gateway Protocol) information"""
pass
Expand Down