Skip to content

os-frr: Add GUI options for conditional advertisement #5519

Description

@BCurrell

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

Is your feature request related to a problem? Please describe.
No

Describe the solution you'd like
I would like GUI elements adding to the FRR settings to allow conditional advertisement to be configured on a peer. I believe this should also be supported on a peer-group.

https://docs.frrouting.org/en/latest/bgp.html#bgp-conditional-advertisement

The first route-map defined in the config line is what you want to advertise to the peer if the second route-map defined in the config either exists, or does not exist, depending on the option used. The FRR sample should be clear enough.

Describe alternatives you've considered
I've considered using vtysh to manually configure this, but I'm pretty sure this will be overwritten during bootup or config change when the FRR config is built from the OPNsense config. I've also considered using a script that monitors the existence of routes in the FIB and then stopping / starting the BGP peer based on that state, however this defeats the purpose of a dynamic routing daemon.

Additional context
N/A

Metadata

Metadata

Assignees

Labels

featureAdding new functionality

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions