Skip to content

OVN add ipv4.dhcp.gateway + allow none value#2990

Merged
stgraber merged 3 commits intolxc:mainfrom
JulesdeCube:feat/ovn-dhcp-gateway
Mar 3, 2026
Merged

OVN add ipv4.dhcp.gateway + allow none value#2990
stgraber merged 3 commits intolxc:mainfrom
JulesdeCube:feat/ovn-dhcp-gateway

Conversation

@JulesdeCube
Copy link
Copy Markdown
Contributor

Description

Introduce ipv4.dhcp.gateway for the OVN network driver by setting the router key of the dhcp_options table. default like bridge driver to ipv4.address.

This MR also allow to set ipv4.dhcp.gateway to none value to disable gateway announcement.

I it's probably missing some test and documentation but i don't know where to put them 😓.

Issues

Related to #2940

@JulesdeCube JulesdeCube requested a review from stgraber as a code owner March 1, 2026 00:30
@github-actions github-actions bot added the Documentation Documentation needs updating label Mar 1, 2026
@JulesdeCube JulesdeCube force-pushed the feat/ovn-dhcp-gateway branch from cd0bde0 to 52cdc6a Compare March 1, 2026 01:31
Alllowing to set `ipv4.dhcp.gateway` to none to disable anoucement of
default gateway via DHCPv4.

Signed-off-by: Jules Lefebvre <[email protected]>
Alllowing to define OVN DHCPV4 router options (gateway).

Signed-off-by: Jules Lefebvre <[email protected]>
Signed-off-by: Jules Lefebvre <[email protected]>
@stgraber stgraber force-pushed the feat/ovn-dhcp-gateway branch from 52cdc6a to 73899d1 Compare March 2, 2026 23:22
@stgraber stgraber changed the title Feature: OVN add ipv4.dhcp.gateway + allow none value OVN add ipv4.dhcp.gateway + allow none value Mar 3, 2026
@stgraber stgraber merged commit 88371da into lxc:main Mar 3, 2026
54 of 56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Documentation Documentation needs updating

Development

Successfully merging this pull request may close these issues.

2 participants