Skip to content

Commit 0fc783b

Browse files
committed
fix import error on show bgp commands
Signed-off-by: Guohan Lu <[email protected]>
1 parent 6e4094f commit 0fc783b

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

show/bgp_frr_v4.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import click
2-
from show.main import AliasedGroup, ip, run_command, get_bgp_summary_extended
2+
3+
import utilities_common.cli as clicommon
4+
5+
from show.main import ip, run_command, get_bgp_summary_extended
36

47

58
###############################################################################
@@ -9,7 +12,7 @@
912
###############################################################################
1013

1114

12-
@ip.group(cls=AliasedGroup)
15+
@ip.group(cls=clicommon.AliasedGroup)
1316
def bgp():
1417
"""Show IPv4 BGP (Border Gateway Protocol) information"""
1518
pass

show/bgp_frr_v6.py

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import click
2-
from show.main import AliasedGroup, ipv6, run_command, get_bgp_summary_extended
2+
3+
import utilities_common.cli as clicommon
4+
from show.main import ipv6, run_command, get_bgp_summary_extended
35

46

57
###############################################################################
@@ -9,7 +11,7 @@
911
###############################################################################
1012

1113

12-
@ipv6.group(cls=AliasedGroup)
14+
@ipv6.group(cls=clicommon.AliasedGroup)
1315
def bgp():
1416
"""Show IPv6 BGP (Border Gateway Protocol) information"""
1517
pass

0 commit comments

Comments
 (0)