Skip to content

Add configuration support for OSPF auto-cost reference bandwidth #1576

Description

@jovatn

Description

Infix currently do not support configuration of the OSPF auto-cost reference bandwidth.
Instead it used the FRR default, which is 100 Gbit/s (although there is a mismatch in the FRR doc saying 100 Mbit/s)

The auto-cost reference bandwidth has to be consistent throughout the OSPF domain, thus it should be configurable in Infix to ensure interoperability with OSPF routers from other vendors.

Task should include:

  • enable support for the auto-cost node in ietf-ospf@2022-10-19.yang.
    • at least the 'reference-bandwidth' leaf should be supported
    • (please comment) the 'enabled' leaf can be supported if there is a corresponding setting in FRR; otherwise always 'true'.
  • (suggestion) default should match Infix current value to avoid mismatch between new and already deployed Infix units
  • it should be possible to read out the current reference
  • there should be a test, e.g., to see how a 1Gbit/s link gets different link cost depending on the reference bandwidth. Ref 100 Gbit/s (100000 Mbit/s) should give cost 100, Ref 10 Gbit/s should give cost 10, Ref 1Gbit/s or lower should give cost 1.

Should there be a migration script when upgrading? That is, should be explicitly add configuration with value 100000 (Mbit/s) when upgrading?

Additional Information

@troglobit has made relevant comments in Frr issue #2480

FRR setting for OSPF reference bandwidth

General Information

Anyone can help out by sponsoring development of new features or contributing pull requests.
Please use this issue for discussions related to the feature.

Activity

  1. added
    triage
    on Aug 3, 2026
  2. added
    enhancement
    and removed
    triage
    on Aug 12, 2026
  3. added this to the FUTURE milestone on Aug 12, 2026
  4. added
    cn:styx
    on Sep 24, 2026
  5. moved this to In progress in Infix & C:oon Sep 24, 2026
  6. added 3 commits that reference this issue on Oct 8, 2026
    1b813e2
    a79ae88
    17e52f6
  7. moved this from In progress to Done in Infix & C:oon Oct 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

cn:styxenhancement

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions