Page MenuHomeVyOS Platform

op-mode: Move "reset ip arp" -> "clear ip arp" and "reset ipv6 neighbors" -> "clear ipv6 neighbors"
Closed, InvalidPublicFEATURE REQUEST

Description

https://vyos.dev/R2:ba0f07edf87c91e9e3e382d7a40b8d60651fd620

Coming from other network operating systems and also from the logic - we do not "reset" and IP ARP entry, we clear an IP ARP entry.

We also do not reset an IPv6 ND entry, we clear it.

This change also introduces new-style op-mode for IPv6 ND operations rather then directly calling iproute2

Parts should be manually backported to 1.4 sagitta to also provide the new CLI commands but keep the old ones for CLI stability reasons!

Details

Difficulty level
Easy (less than an hour)
Version
1.4.0
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Behavior change
Issue type
Behavior change

Event Timeline

c-po renamed this task from op-mode: Move "reset ip arp" -> "clear ip arp" to op-mode: Move "reset ip arp" -> "clear ip arp" and "reset ipv6 neighbors" -> "clear ipv6 neighbors".
c-po claimed this task.
c-po added a project: VyOS Rolling.
syncer triaged this task as Normal priority.Jul 24 2024, 5:44 AM
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Version from - to 1.4.0.

from @dmbaturin

Top level op mode words have specific meanings in VyOS. clear is reserved for completely non-disruptive operations: clearing the screen, clearing rule counters... reset is for locally-disruptive operations.
Since removing a neighbor table entry can lead to lost packets or increased latencies for new connections, it doesn't qualify for clear, which is why it was called reset.
I'd prefer to keep that terminology consistent. BGP neighbors in Cisco IOS are also under clear, but we don't plan to mimic that, do we? ;)