Page MenuHomeVyOS Platform

Rename "policy ipv6-route" -> "policy route6"
Closed, ResolvedPublicFEATURE REQUEST

Description

In order to have a consistent looking CLI we should rename this CLI node.

There is

  • access-list and access-list6 (policy)
  • prefix-list and prefix-list6 (policy)
  • route and route6 (static routes)

Details

Version
-
Is it a breaking change?
Config syntax change (migratable)
Issue type
Cosmetic issue (typos etc.)

Event Timeline

c-po claimed this task.
c-po triaged this task as Normal priority.
c-po edited a custom field.

Although this task is closed, I'd like to mention that after this change we are now defining rulesets with "policy route6" and binding them to interfaces with "interfaces ... policy ipv6-route". This seems to be more inconsistent than it has been before. Besides, although such changes are handled in a migration script for static configurations, they break automation scripts and require version specific fixes.

This seems to be more inconsistent than it has been before.

I totally agree - we need to fix this up, too. I somehow lost track of it.

c-po reopened this task as In progress.Jul 18 2022, 7:41 AM

Already renamed:

vyos@vyos# set interfaces ethernet eth0 policy
Possible completions:
   route                IPv4 policy route ruleset for interface
   route6               IPv6 policy route ruleset for interface