Install 2024.1/stable of openstack-network-agents
Ubuntu 16.04 or later?
Make sure snap support is enabled in your Desktop store.
Install using the command line
sudo snap install openstack-network-agents
Don't have snapd? Get set up for snaps.
Thank you for your report. Information you provided will help us investigate further.
There was an error while sending your report. Please try again later.
Generate an embeddable card to be shared on external websites.
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
setup-bridge, show-bridge-setup, and list-nics subcommands for manual inspection and one-shot configuration.Prerequisites
ovn-chassis content interface connectedInstall
sudo snap install openstack-network-agents
Configuration
The snap is configured through snap set keys and is typically driven by a
Juju 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 table
setup-bridge
Apply the current snap configuration to create/update OVS bridges and physnet mappings:
openstack-network-agents setup-bridge
show-bridge-setup
Display the current OVS bridge-to-physnet mappings detected on the host:
openstack-network-agents show-bridge-setup
Choose your Linux distribution to get detailed installation instructions. If yours is not shown, get more details on the installing snapd documentation.