Skip to content

Conversation

@felix-kaestner
Copy link
Contributor

No description provided.

@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label Dec 9, 2025
@hardikdr hardikdr added this to Roadmap Dec 9, 2025
@felix-kaestner felix-kaestner force-pushed the nx/bgw branch 2 times, most recently from 184f939 to b35c016 Compare December 11, 2025 15:54
@felix-kaestner felix-kaestner force-pushed the bfd branch 3 times, most recently from 9f028d8 to c9fa40e Compare December 12, 2025 15:17
@felix-kaestner felix-kaestner marked this pull request as ready for review December 12, 2025 15:18
@felix-kaestner felix-kaestner requested a review from a team as a code owner December 12, 2025 15:18
felix-kaestner and others added 5 commits December 19, 2025 16:03
Instead the enablement of bfd for the link is implicitly inferred from
the `.spec.bfd.enabled` on the referenced `Interface`.
This patch adds support for automatically disabling icmp redirects on
IPv4 links that are running BFD sessions, equivalent to the
configuration of:

```
interface Ethernet1/1
 no ip redirects
```
This patch automatically infers the configuration for bfd on an ospf
link according to the following config based on the `.spec.bfd.enabled`
field in the `Interface` resource.

```
interface Ethernet1/1
 ip ospf bfd
```
// BFD defines the Bidirectional Forwarding Detection configuration for the interface.
// BFD is only applicable for Layer 3 interfaces (Physical, Loopback, RoutedVLAN).
// +optional
BFD *BFD `json:"bfd,omitempty"`
Copy link
Contributor

Choose a reason for hiding this comment

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

I was checkingOpenConfig's and they do it differently. We could follow their approach, which would have the advantage of reducing the number of gNMI calls (on cisco nxos, as far as we know). However, this definition here seems more natural to me. Do you have any idea why they decided that structure instead? (just curious)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/metal-automation Automation processes within the Metal project.

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

4 participants