示例#1
0
def summary(namespace, display):
    bgp_summary = bgp_util.get_bgp_summary_from_all_bgp_instances(
        constants.IPV4, namespace, display)
    bgp_util.display_bgp_summary(bgp_summary=bgp_summary, af=constants.IPV4)
示例#2
0
def summary(namespace, display):
    """Show summarized information of IPv6 BGP state"""
    bgp_summary = bgp_util.get_bgp_summary_from_all_bgp_instances(constants.IPV6, namespace,display)
    bgp_util.display_bgp_summary(bgp_summary=bgp_summary, af=constants.IPV6)