Page MenuHomeVyOS Platform

Combine BGP reset op commands
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently we have the op commands reset ipv6 bgp <ipv6 neighbor> and reset ip bgp <ipv4 neighbor>.

I think it would make sense to combine the two into reset bgp <ipv4/ipv6 address> to more closely match what an operator would see with show bgp summary as well as the behavior of show bgp neighbors <ipv4/ipv6 address>.

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202206270217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Cosmetic issue (typos etc.)

Event Timeline

aderouineau triaged this task as Wishlist priority.Jun 29 2022, 12:41 AM
aderouineau created this task.
aderouineau created this object in space S1 VyOS Public.
Viacheslav changed the subtype of this task from "Task" to "Feature Request".
aderouineau claimed this task.

I can confirm that at least as of version 1.4-rolling-202207250217the op commands have been merged:

vyos@vyos-lab:~$ reset bgp
Possible completions:
  <x.x.x.x>     BGP IPv4/IPv6 neighbor to clear
  <h:h:h:h:h:h:h:h>
  1-4294967295  Reset peers with the AS number
  all           Clear all peers
  external      Reset all external peers
  ipv4          IPv4 Address Family
  ipv6          IPv6 Address Family
  l2vpn         Layer 2 Virtual Private Network Address Family
  peer-group    Reset all members of peer-group
  prefix        Clear bestpath and re-advertise
  vrf           Virtual Routing and Forwarding (VRF)