Skip to content

cisco-nxos-provider: enable NVE#48

Merged
nikatza merged 1 commit intomainfrom
feat/nve
Sep 3, 2025
Merged

cisco-nxos-provider: enable NVE#48
nikatza merged 1 commit intomainfrom
feat/nve

Conversation

@nikatza
Copy link
Contributor

@nikatza nikatza commented Sep 2, 2025

This commit enables configuring the Network Virtualization Edge
(NVE) interface on cisco NXOS.

It supports the following configuration:

interface nve1
  no shutdown
  host-reachability protocol bgp
  advertise virtual-rmac
  source-interface loopback1 anycast loopback2
  global suppress-arp
  global mcast-group 225.0.0.0 L2
  source-interface hold-down-time 300

which can be achieved with:

nveCfg, err := nve.NewNVE(
  nve.WithHostReachabilityProtocol(nve.HostReachBGP),
  nve.WithAdvertiseVirtualRmac(true),
  nve.WithSourceInterface("Loopback1"),
  nve.WithAnycastInterface("Loopback2"),
  nve.WithSuppressARP(true),
  nve.WithMulticastGroupL2("237.0.0.1"),
  nve.WithHoldDownTime(300),
)

@nikatza nikatza force-pushed the feat/nve branch 3 times, most recently from 704523a to ca48b5b Compare September 2, 2025 15:41
@nikatza nikatza marked this pull request as ready for review September 2, 2025 15:53
@nikatza nikatza requested a review from a team as a code owner September 2, 2025 15:53
@hardikdr hardikdr added the area/metal-automation Automation processes within the Metal project. label Sep 3, 2025
@hardikdr hardikdr added this to Roadmap Sep 3, 2025
This commit enables configuring the Network Virtualization Edge
(NVE) interface on cisco NXOS.

It supports the following configuration:
```
interface nve1
  no shutdown
  host-reachability protocol bgp
  advertise virtual-rmac
  source-interface loopback1 anycast loopback2
  global suppress-arp
  global mcast-group 237.0.0.1 L2
  source-interface hold-down-time 300
```

which can be achieved with:
```
nveCfg, err := nve.NewNVE(
  nve.WithHostReachabilityProtocol(nve.HostReachBGP),
  nve.WithAdvertiseVirtualRmac(true),
  nve.WithSourceInterface("Loopback1"),
  nve.WithAnycastInterface("Loopback2"),
  nve.WithSuppressARP(true),
  nve.WithMulticastGroupL2("237.0.0.1"),
  nve.WithHoldDownTime(300),
)
```
@nikatza nikatza merged commit ef10fbb into main Sep 3, 2025
8 checks passed
@nikatza nikatza deleted the feat/nve branch September 3, 2025 21:44
@github-project-automation github-project-automation bot moved this to Done in Roadmap Sep 3, 2025
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: Done

Development

Successfully merging this pull request may close these issues.

3 participants