Skip to content

OSPF area parameters#2363

Merged
ipspace merged 2 commits into
devfrom
ospf.areas
Jun 12, 2025
Merged

OSPF area parameters#2363
ipspace merged 2 commits into
devfrom
ospf.areas

Conversation

@ipspace

@ipspace ipspace commented Jun 12, 2025

Copy link
Copy Markdown
Owner

Supported parameters:

  • Stub/NSSA areas
  • Default route cost for OSPFv2
  • Suppression of inter-area routes (optional)
  • Inter-area and NSSA area ranges and suppressed area ranges

Everything option apart from suppression of inter-area routes is part of the RFCs and must be implemented on all devices.

Already done:

  • Transformation plugin
  • Reference implementation on FRR
  • Integration tests for OSPFv2 and OSPFv3

Missing:

  • NSSA range/filter
  • VRF integration test
  • Documentation

@ipspace ipspace requested review from jbemmel and ssasso June 12, 2025 11:02
@ipspace

ipspace commented Jun 12, 2025

Copy link
Copy Markdown
Owner Author

I resurrected that old commit, changed the data structure, and created the transformation plugin and reference implementation. That should be enough to get you started @jbemmel @ssasso (you can find the data structure in the integration tests)

@ipspace

ipspace commented Jun 12, 2025

Copy link
Copy Markdown
Owner Author

I might add the ability to specify areas as dict later on, the final data structure will remain unchanged. You can use either area (to specify area as IP address) or _area_int (to specify area as integer) in the configuration templates.

@ipspace

ipspace commented Jun 12, 2025

Copy link
Copy Markdown
Owner Author

Oh, and the structure of range/filter/external_range/external_filter lists will change to include ipv4 and ipv6 keys so we'll be able to use the same config template for everything.

Comment thread netsim/extra/ospf.areas/frr.j2
Comment thread netsim/extra/ospf.areas/plugin.py Outdated
Comment thread tests/integration/ospf/ospfv3/40-area-parameters.yml Outdated

@jbemmel jbemmel left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job, couple of minor tweaks likely due to copy & paste

Supported parameters:

* Stub/NSSA areas
* Default route cost for OSPFv2
* Suppression of inter-area routes (optional)
* Inter-area and NSSA area ranges and suppressed area ranges

Everything option apart from suppression of inter-area routes is
part of the RFCs and must be implemented on all devices.

Already done:

* Transformation plugin
* Reference implementation on FRR
* Integration tests for OSPFv2 and OSPFv3
* NSSA range/filter

Missing:

* VRF integration test
* Documentation
@ipspace ipspace merged commit 8e838fd into dev Jun 12, 2025
6 checks passed
@ipspace ipspace deleted the ospf.areas branch June 12, 2025 15:26
@jbemmel jbemmel mentioned this pull request Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants