Page MenuHomeVyOS Platform

Rewriting all FRR processes allow for reloading and to XML/Python style
Open, Requires assessmentPublic

Description

Currently most FRR processes are following the old bash/perl guidelines and needs to be rewritten to XML/Python.

One of the biggest issues with the current implementation is that each process is configured separately with vtysh and the configuration is not saved to frr.conf.
This means that then a FRR process crashes the configuration is not saved and on restart it is not in sync with the configuration inside vyos.
In the current implementation i cant se a good way of fixing this issue.

During this work configuration for each FRR process needs to be moved into their respective protocol sub-config modes (eg. move ospf interface config from interface X ip ospf into protocols ospf interface X

An alternative is to make vyos-1x generate the process config for each frr process and merge each process config into frr.conf.
for this Danos could be used as an inspiration: https://github.com/danos/vyatta-protocols-frr/tree/master/scripts/frr

As for now there are no decision on what path to take on this restructuring.

This ticket is supposed to be used as a top level for all tickets related to FRR rewriting and bugs related to these.

Details

Difficulty level
Unknown (require assessment)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Config syntax change (migratable)