Page MenuHomeVyOS Platform

Rewriting all FRR processes allow for reloading and to XML/Python style
Closed, ResolvedPublic

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
In progressFEATURE REQUESTNone
Resolvedc-po
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTViacheslav
ResolvedFEATURE REQUESTzsdc
ResolvedFEATURE REQUESTViacheslav
ResolvedFEATURE REQUESTViacheslav
ResolvedBUGdmbaturin
ResolvedBUGViacheslav
ResolvedBUGdmbaturin
ResolvedFEATURE REQUESTc-po
ResolvedFEATURE REQUESTViacheslav
Wontfixzsdc
ResolvedFEATURE REQUESTViacheslav
Resolvedjpbede
ResolvedFEATURE REQUESTViacheslav
Resolved N/ANone
ResolvedBUGViacheslav
ResolvedBUGrunar
ResolvedBUGViacheslav
ResolvedFEATURE REQUESTc-po
ResolvedBUGViacheslav
DuplicateBUGNone
ResolvedBUGViacheslav
ResolvedBUGViacheslav
ResolvedBUGViacheslav
ResolvedBUGc-po
ResolvedBUGc-po
ResolvedBUGViacheslav
ResolvedBUGViacheslav
ResolvedBUGc-po
ResolvedBUGViacheslav
ResolvedFEATURE REQUESTc-po
ResolvedViacheslav
Resolvedc-po
ResolvedViacheslav
Resolvedrunar
Resolvedc-po
ResolvedViacheslav
ResolvedFEATURE REQUESTc-po
Resolvedc-po
ResolvedViacheslav
Resolvedc-po
ResolvedViacheslav
Resolvedrunar
ResolvedBUGc-po
Resolvedc-po
Resolvedc-po
ResolvedFEATURE REQUESTc-po
WontfixBUGc-po
ResolvedBUGc-po
ResolvedFEATURE REQUESTViacheslav
ResolvedNone
ResolvedViacheslav
Resolvedc-po
ResolvedViacheslav
Resolvedc-po
Resolvedc-po
ResolvedFEATURE REQUESTc-po
Resolvedc-po
DuplicateFEATURE REQUESTNone
Resolvedc-po
ResolvedFEATURE REQUESTc-po
Resolved N/ABUGdmbaturin
ResolvedBUGc-po
ConfirmedBUGrunar
ResolvedBUGc-po
ResolvedBUGc-po
Resolvedc-po

Event Timeline

runar created this object in space S1 VyOS Public.
Unknown Object (User) added a subscriber: Unknown Object (User).May 25 2020, 2:32 PM
Unknown Object (User) added a subscriber: Unknown Object (User).Aug 17 2020, 11:33 AM
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.
c-po claimed this task.
c-po triaged this task as Normal priority.