Skip to content

Commit 8a74d03

Browse files
authored
[CLI][show][bgp] Fix the show ip bgp network command (#1733)
Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
1 parent 679a4ba commit 8a74d03

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

show/bgp_frr_v4.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def neighbors(ipaddress, info_type, namespace):
9797
show_default=True,
9898
required=True if multi_asic.is_multi_asic is True else False,
9999
help='Namespace name or all',
100-
default=None,
100+
default=multi_asic.DEFAULT_NAMESPACE,
101101
callback=multi_asic_util.multi_asic_namespace_validation_callback)
102102
def network(ipaddress, info_type, namespace):
103103
"""Show IP (IPv4) BGP network"""

show/bgp_frr_v6.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def neighbors(ipaddress, info_type, namespace):
9696
show_default=True,
9797
required=True if multi_asic.is_multi_asic is True else False,
9898
help='Namespace name or all',
99-
default=None,
99+
default=multi_asic.DEFAULT_NAMESPACE,
100100
callback=multi_asic_util.multi_asic_namespace_validation_callback)
101101
def network(ipaddress, info_type, namespace):
102102
"""Show BGP ipv6 network"""

0 commit comments

Comments
 (0)