Page MenuHomeDevCentral

FRRouting : installation and configuration
Needs ReviewPublic

Authored by yousra on Thu, Apr 23, 21:22.

Details

Summary

FRRouting was initially installed only on routers (D4055), but it is also required
on devservers (ysul, windriver) for OSPF to work correctly and establish
neighbor relationships.

To address this, FRR installation and configuration have been moved to the
core role so they can be reused across both routers and devservers.

roles/core/frrouting

A pillar has also been added to define router IDs per host, allowing them
to be easily retrieved and avoiding hardcoding in State Salt.

pillar/core/frr.sls

Configuration OSPF added:

The IntraNought network 172.27.27.0/27 is shared with Windriver and Ysul.

On routers, two GRE tunnels (gre1 (windriver) and gre2(ysul)) are established over this network
to provide direct point-to-point links between each router and the devservers.

On devservers, a single GRE interface (gre1) is used to connect to the routers.

OSPF is configured on gre1, gre2, and vmx0 on routers, and on gre1 on devservers.
However, OSPF neighbor relationships and route exchange only occur on gre1 and gre2,
as these interfaces are explicitly set as non-passive using
no ip ospf passive. The vmx0 interface remains passive.

Each host (router and devserver) has a unique OSPF router-id (RID) to ensure
proper neighbor relationships. Router IDs are not real IP addresses, but
arbitrary 32-bit values.

The OSPF cost for interface gre1 and gre2 is left to its default value (10)

Ref T2303

Test Plan
  • Apply on routers:

    salt 'router-003' state.apply roles/core/frrouting

    salt 'router-002' state.apply roles/core/frrouting
  • Apply on devservers:

    salt 'ysul' state.apply roles/core/frrouting

    salt 'windriver' state.apply roles/core/frrouting

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Skipped
Unit
No Test Coverage
Branch
win-ysul-frr
Build Status
Buildable 6669
Build 6957: arc lint + arc unit

Event Timeline

yousra requested review of this revision.Thu, Apr 23, 21:22
yousra created this revision.
yousra edited the test plan for this revision. (Show Details)
yousra edited the test plan for this revision. (Show Details)
yousra edited the summary of this revision. (Show Details)
yousra edited the summary of this revision. (Show Details)
yousra edited the summary of this revision. (Show Details)
yousra edited the summary of this revision. (Show Details)
yousra edited the summary of this revision. (Show Details)
yousra edited the summary of this revision. (Show Details)