feat: add OVN layer2 topology support to network_mgmt role#46
Open
albertoflorez wants to merge 4 commits into
Open
feat: add OVN layer2 topology support to network_mgmt role#46albertoflorez wants to merge 4 commits into
albertoflorez wants to merge 4 commits into
Conversation
7aca476 to
60efb8a
Compare
added 2 commits
June 9, 2026 09:57
…ion_migration into feature/add-ovn-layer2-topology-support
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds support for
ovn-k8s-cni-overlaywithlayer2topology to thenetwork_mgmtrole, enabling the creation of isolated layer2 overlay networks without requiring physical node network configuration (NNCP).Motivation
Previously, the
network_mgmtrole only supported:linux-bridge: CNV bridge requiring NNCP for node-level bridge configurationovs-bridge: OVN withlocalnettopology requiring NNCP for OVS bridge and localnet mappingThis limited the ability to create isolated overlay networks using OVN's
layer2topology, which is useful for:Changes
New Features
ovn-layer2option fornetwork_mgmt_openshift_network_bridge_modenetwork_mgmt_ovn_topologyto control OVN topology type (defaults tolayer2)roles/network_mgmt/templates/ovn-layer2/nad.yaml.j2for layer2 NAD generationModified Components
Usage
Automatic Mode
Manual Mode
Example Generated NAD
Testing
Tested with manual mode configuration:
Breaking Changes
None. This is a backward-compatible addition. Existing configurations using
linux-bridgeorovs-bridgecontinue to work unchanged.Documentation