2024.168Apache-2.0
strict
core24
OpenStack networking agents and helpers for OVS/OVN environments
A snap that packages the networking agents and
utilities needed to run OpenStack on hosts with Open vSwitch (OVS) and OVN.
It is designed to be co-located with MicroOVN (https://github.com/canonical/microovn)
and is part of the Sunbeam (https://canonical-openstack.readthedocs-hosted.com/en/) project.
What it does
- Provider-bridge management: Creates OVS bridges, attaches physical NICs, and configures OVN physnet mappings for external network connectivity.
- NIC discovery: Identifies candidate uplink interfaces, filtering out virtual devices and bond members.
- CLI: Provides
Prerequisites
Install
Configuration
The snap is configured through
Juju subordinate charm. All keys live under the
-
-
-
-
Example:
CLI usage
The snap ships the
list-nics
List candidate uplink NICs (physical, bond, and VLAN interfaces that are not
already claimed):
setup-bridge
Apply the current snap configuration to create/update OVS bridges and physnet
mappings:
show-bridge-setup
Display the current OVS bridge-to-physnet mappings detected on the host:
utilities needed to run OpenStack on hosts with Open vSwitch (OVS) and OVN.
It is designed to be co-located with MicroOVN (https://github.com/canonical/microovn)
and is part of the Sunbeam (https://canonical-openstack.readthedocs-hosted.com/en/) project.
What it does
- Provider-bridge management: Creates OVS bridges, attaches physical NICs, and configures OVN physnet mappings for external network connectivity.
- NIC discovery: Identifies candidate uplink interfaces, filtering out virtual devices and bond members.
- CLI: Provides
setup-bridge, show-bridge-setup, and list-nics subcommands for manual inspection and one-shot configuration.Prerequisites
- Ubuntu 24.04 (Noble) or later
- MicroOVN installed and the
ovn-chassis content interface connectedInstall
sudo snap install openstack-network-agentsConfiguration
The snap is configured through
snap set keys and is typically driven by aJuju subordinate charm. All keys live under the
network.* namespace:-
network.bridge-mapping *(unset)*: Comma-separated bridge:physnet:interface triples. This is the preferred way to configure mappings.-
network.enable-chassis-as-gw (true): Register this chassis as an OVN gateway router.-
network.external-bridge-address (0.0.0.0/0): Static CIDR to assign to the bridge in localnet (single-node) mode. -
logging.debug (false): Enable debug logging for hooks and CLI.Example:
sudo snap set openstack-network-agents network.bridge-mapping="br-ex:physnet1:enp6s0"CLI usage
The snap ships the
openstack-network-agents command with several subcommands.list-nics
List candidate uplink NICs (physical, bond, and VLAN interfaces that are not
already claimed):
openstack-network-agents list-nics # JSON (default)
openstack-network-agents list-nics -f table # human-readable tablesetup-bridge
Apply the current snap configuration to create/update OVS bridges and physnet
mappings:
openstack-network-agents setup-bridgeshow-bridge-setup
Display the current OVS bridge-to-physnet mappings detected on the host:
openstack-network-agents show-bridge-setupUpdate History
2024.1 (68)1 Apr 2026, 21:28 UTC
11 Sept 2025, 08:06 UTC
18 Mar 2026, 04:56 UTC
1 Apr 2026, 21:28 UTC