Page MenuHomeVyOS Platform

Refactoring bgp op-mode for support vrf
Closed, ResolvedPublicFEATURE REQUEST

Description

We have bgp in vrf for configuration mode, but don't have CLI for op-mode
Need to refactoring XML code for support "ip bgp vrf xxx" op-mode CLI

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

PR https://github.com/vyos/vyos-1x/pull/790

vyos@r5:~$ show ip bgp vrf foo 
Possible completions:
  attribute-info
                Show BGP attribute information
  cidr-only     Display only routes with non-natural netmasks
  community     Display routes matching the community
  community-info
                List all bgp community information
  community-list
                Display routes matching the community-list
  dampening     Display detailed information about dampening
  filter-list   Display routes conforming to the filter-list
  ipv4          Show BGP IPv4 information
  large-community
                Show BGP routes matching the specified large-communities
  large-community-info
                Show BGP large-community information
  memory        Show BGP memory usage
  neighbors     Detailed information on TCP and BGP neighbor connections
  paths         Show BGP path information
  prefix-list   Display routes conforming to the prefix-list
  regexp        Display routes matching the AS path regular expression
  route-map     Show BGP routes matching the specified route map
  statistics    RIB advertisement statistics
  summary       Summary of BGP neighbor status



vyos@r5:~$ show ip bgp vrf foo summary 

IPv4 Unicast Summary:
BGP router identifier 192.168.101.144, local AS number 65111 vrf-id 4
BGP table version 0
RIB entries 0, using 0 bytes of memory
Peers 1, using 21 KiB of memory

Neighbor        V         AS   MsgRcvd   MsgSent   TblVer  InQ OutQ  Up/Down State/PfxRcd   PfxSnt
203.0.113.5     4      65222         0         0        0    0    0    never       Active        0
Viacheslav changed the task status from Open to Needs testing.Mar 26 2021, 5:26 PM
Viacheslav claimed this task.