oxidecomputer / oxidecomputer/maghemite

mgd/ddm should advertise a lower tunnel exit metric when all BFD links are down

Open
#389 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

mgd
Dominant language
Rust
Stars
94
Forks
6
Avg merge
1d 8h
Merged PRs (30d)
12

Description

In #174 we implemented mechanisms for a graceful transition to and from BFD networks. This could be potentially problematic when we have one switch that has active BFD and another switch that has no active BFD sessions but active RIB entries associated with down BFD sessions. Both switches will advertise as equals to the underlay as tunnel exit points. In this situation, the switch with no active BFD sessions should advertise with a different tunnel origin metric (but obviously only if it's been configured with BFD). This way OPTE endpoints sending traffic to tunnel exit points can prefer the switch with active BFD sessions.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading issue #174 and tracing how configured BFD state affects tunnel exit advertisements and the tunnel origin metric. Done means a switch with configured BFD and all BFD links down advertises a lower metric than a switch with active BFD sessions, while switches without BFD configuration retain their existing behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.