Page MenuHomeVyOS Platform

Rework CLI definitions to apply route-maps between routing daemons and zebra/kernel
Closed, ResolvedPublicFEATURE REQUEST

Description

It is possible to install a route-map which filters the routes between routing daemons and the OS kernel (zebra)

As of now this can be done by e.g.

  • set protocols ospf route-map foo
  • set protocols ospfv3 route-map foo
  • set protocols bgp route-map foo

Which in turn will install the following lines into FRR

  • ip protocol ospf route-map foo
  • ipv6 protocol ospf6 route-map foo
  • ip protocol bgp route-map foo

The current state of the VyOS CLI is incomplete as there is no way to:

  • Install a filter for BGP IPv6 routes
  • Install a filter for static routes
  • Install a filter for connected routes

Thus the CLI should be redesigned to close match what FRR does for both the default and any other VRF

  • set system ip protocol ospf route-map foo
  • set system ipv6 protocol ospfv3 route-map foo
  • set system ip protocol bgp route-map foo
  • set system ipv6 protocol bgp route-map foo

The configuration can be migrated accordingly

Related: https://github.com/vyos/vyos-1x/pull/1931

Details

Version
-
Is it a breaking change?
Config syntax change (migratable)

Related Objects

Event Timeline

c-po changed the task status from Open to In progress.
c-po claimed this task.
c-po triaged this task as Normal priority.
c-po updated the task description. (Show Details)