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)

Related Objects

StatusSubtypeAssignedTask
OpenNone
Needs testingFEATURE REQUESTNone
OpenFEATURE REQUESTNone
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTViacheslav
Needs testingFEATURE REQUESTCheeze_It
OpenFEATURE REQUESTNone
Needs testingFEATURE REQUESTViacheslav
OpenBUGNone
ResolvedBUGViacheslav
OpenBUGNone
OpenFEATURE REQUESTNone
ResolvedFEATURE REQUESTViacheslav
Needs testingzsdc
OpenFEATURE REQUESTViacheslav
Resolvedjpbede
ResolvedFEATURE REQUESTViacheslav
OpenNone
ResolvedBUGViacheslav
Needs testingBUGrunar
OpenBUGNone
OpenFEATURE REQUESTNone
OpenNone
Needs testingNone
Needs testingrunar
Needs testingc-po
ResolvedViacheslav

Event Timeline

runar created this object in space S1 VyOS Public.
c-po changed the status of subtask T2174: Rewrite protocol BGP to new XML/Python style from Open to Needs testing.
c-po changed the status of subtask T2638: FRR: New framework for configuring FRR from Open to Needs testing.