Files
sunbeam-charms/charms/neutron-k8s
Lucian Petrut 43bfbcb69d Add SR-IOV support
This patch makes the necessary charm changes in order to expose
and attach SR-IOV VFs to Openstack instances.

VFs that support hardware offloading will be handled by ovn,
the others will be processed by the Neutron SR-IOV nic agent.

neutron-k8s charm
-----------------

* enable sriovnicswitch ml2 mechanism driver

nova-k8s charm
--------------

* add pci-aliases setting
  * defines aliases for PCI devices, which can be requested through
    flavor extra specs
  * passed to openstack-hypervisor through the relation data
* enable PciPassthroughFilter and NUMATopologyFilter n-sch filters
* enable "filter_scheduler.pci_in_placement"

openstack-hypervisor charm
--------------------------

* add pci-device-specs setting
  * allows whitelisting PCI devices (including SR-IOV PF/VFs)

Change-Id: Ie118ac84b975275df84af5a378a95bbe49bfeea2
Signed-off-by: Lucian Petrut <lpetrut@cloudbasesolutions.com>
2025-07-07 06:52:01 +00:00
..
2025-07-07 06:52:01 +00:00
2024-07-31 11:57:32 +02:00
2025-05-19 20:32:08 +02:00
2025-04-30 08:44:20 +02:00
2022-01-13 13:38:03 +00:00
2025-05-05 15:49:14 +05:30
2025-04-30 08:44:20 +02:00
2025-06-10 13:52:25 +00:00

neutron-k8s

Description

neutron-k8s is an operator to manage the Neutron networking service on a Kubernetes based environment.

Usage

Deployment

neutron-k8s is deployed using below command:

juju deploy neutron-k8s neutron --trust

Now connect the neutron operator to existing database, messaging, identity, OVN and Vault operators:

juju relate mysql:database neutron:database
juju relate rabbitmq:amqp neutron:amqp
juju relate keystone:identity-service neutron:identity-service
juju relate ovn-central:ovsdb-cms neutron:ovsdb-cms
juju relate vault:certificates neutron:certificates

Configuration

This section covers common and/or important configuration options. See file config.yaml for the full list of options, along with their descriptions and default values. See the Juju documentation for details on configuring applications.

Actions

This section covers Juju actions supported by the charm. Actions allow specific operations to be performed on a per-unit basis. To display action descriptions run juju actions neutron. If the charm is not deployed then see file actions.yaml.

Relations

neutron-k8s requires the following relations:

database: To connect to MySQL amqp: To connect to RabbitMQ identity-service: To register endpoints in Keystone ovsdb-cms: To connect to OVN certificates: To retrieve generated certificates from Vault ingress-internal: To expose service on underlying internal network ingress-public: To expose service on public network

OCI Images

The charm by default uses ghcr.io/canonical/neutron-server:2025.1 image.

Contributing

Please see the Juju SDK docs for guidelines on enhancements to this charm following best practice guidelines, and CONTRIBUTING.md for developer guidance.

Bugs

Please report bugs on Launchpad.