Page MenuHomeVyOS Platform

Rewrite parts of vyos\frr.py for readability, logging and to fix mulitiline regex "bugs"
Closed, ResolvedPublic

Description

The frr.py implementation as it stands now uses horrible multiline regex'es to filter and modify the configuration
This could easily created large errors in the configuration as it is hard to understand exactly what a particular regex will do.

The library needs to be changed to be more Pythonic and add much more debug logging to be able to catch faults from happening.

Details

Difficulty level
Unknown (require assessment)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Improvement (missing useful functionality)

Event Timeline

runar created this object in space S1 VyOS Public.
dmbaturin added a project: VyOS 1.3 Equuleus.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
erkin set Issue type to Improvement (missing useful functionality).Aug 29 2021, 12:09 PM
erkin removed a subscriber: Active contributors.