Page MenuHomeVyOS Platform

Rewrite protocol BGP [op-mode] to new XML/Python style
Closed, ResolvedPublicFEATURE REQUEST

Description

Rewrite protocol BGP op-mode to the new format.
Delete old unsupported commands.

sever@vyos-1.3:~$ show ip bgp dampened-paths 
% Unknown command: show ip bgp dampened-paths

sever@vyos-1.3:~$ show ip bgp large-community local-AS 
% Large-community malformed

sever@vyos-1.3:~$ show ip bgp large-community no-advertise 
% Large-community malformed

sever@vyos-1.3:~$ show ip bgp large-community no-export 
% Large-community malformed

sever@vyos-1.3:~$ show ip bgp scan 
% Unknown command: show ip bgp scan

sever@vyos-1.3-bgp:~$ show ip bgp flap-statistics 
% Unknown command: show ip bgp flap-statistics

Add actual new commands.

  1. We don't need to see these commands several times (local-AS, no-advertise, no-export ).

If we need to see only community

show ip bgp community 65000:65000
vyos@main:~$ show ip bgp community 65000:65000 
Possible completions:
  <Enter>       Execute the current command
  <AA:NN>       Show BGP routes matching the specified communities
  exact-match   Show BGP routes which exactly match the specified community
  local-AS      Show BGP routes matching the specified communities
  no-advertise
  no-export

Recursion

vyos@main:~$ show ip bgp community 65000:65000 local-AS local-AS 
Possible completions:
  <Enter>       Execute the current command
  <AA:NN>       Show BGP routes matching the specified communities
  exact-match   Show BGP routes which exactly match the specified communities
  local-AS      Show BGP routes matching the specified communities
  no-advertise
  no-export

In the frr

main# show ip bgp community 65000:65000 
  <cr>         
  exact-match  Exact match of the communities
  json         JavaScript Object Notation

Details

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

Event Timeline

Viacheslav updated the task description. (Show Details)
Viacheslav updated the task description. (Show Details)Apr 8 2020, 1:20 PM
Viacheslav updated the task description. (Show Details)Apr 8 2020, 3:47 PM

These 2 PR are needed for new xml format

show ip bgp

Delete from vyatta-op-quagga and adding it to vyos-1x

https://github.com/vyos/vyatta-op-quagga/pull/5
https://github.com/vyos/vyos-1x/pull/343

Viacheslav changed the task status from Open to Needs testing.Apr 15 2020, 8:11 AM
Viacheslav closed this task as Resolved.Fri, May 22, 4:59 PM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Tue, Jun 2, 5:50 PM