Skip to main content

UniFi ML2 Driver for Neutron (estenrye fork)

This is estenrye/networking-unifi, a fork of ubiquiti-community/networking-unifi published to PyPI as unifi-ml2-driver-estenrye rather than the upstream unifi-ml2-driver name. Two differences from upstream, both found and verified live against a real Platform9 Private Cloud Director cluster by neutron-ml2-guardian:

  1. Fixes _get_controller() raising oslo_config.cfg.NoSuchOptError on every real network create/update/delete (see upstream PR #17, open as of this writing).
  2. Relaxes requires-python back to >=3.10.12 from upstream's >=3.12.0 -- verified the actual code (this driver's and its aiohttp-unifi>=88 dependency's) runs correctly on real Python 3.10.12 with a small sitecustomize.py back-porting the handful of 3.11+-only typing/enum symbols it uses; the >=3.12.0 constraint upstream declares is not something the code itself actually requires.

Same import name (unifi_ml2_driver) and entry point (unifi) as upstream -- only the PyPI distribution name differs, so this is a drop-in pip install replacement. Distributed under the same Apache License, Version 2.0 as upstream; see LICENSE.

This is a Modular Layer 2 Neutron Mechanism driver specifically designed for Ubiquiti UniFi switches. The mechanism driver is responsible for applying configuration information to UniFi hardware equipment.

The unifi-ml2-driver provides integration between OpenStack Neutron and Ubiquiti UniFi Network controllers to manage switch ports, VLANs, and other features on UniFi switches. It's designed to support use-cases like OpenStack Ironic multi-tenancy mode and abstracts applying changes to all UniFi switches managed by the UniFi controller.

UniFi ML2 Driver is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Project resources

Features

  • VLAN Networks: Creating and managing VLAN networks on UniFi switches

  • Port Binding: Binding ports to specific switch ports

  • Trunk Ports: Managing trunk ports with native and tagged VLANs

  • Port Security: Configuring port security features (BPDU guard, loop guard)

  • QoS: Bandwidth limiting on a per-port basis

  • Storm Control: Limiting broadcast, multicast, and unknown unicast traffic

  • Port Monitoring: Monitoring port state and updating OpenStack port status

Requirements

  • Python 3.12+
  • OpenStack Neutron 13.0.0+
  • aiounifi 83+
  • UniFi Network Controller
  • UniFi switches

Metadata

Release files for unifi-ml2-driver-estenrye 1.0.22

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for unifi-ml2-driver-estenrye 1.0.22
File Size Uploaded
unifi_ml2_driver_estenrye-1.0.22.tar.gz 39.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for unifi-ml2-driver-estenrye 1.0.22
File Interpreter ABI Platform
unifi_ml2_driver_estenrye-1.0.22-py3-none-any.whl Python 3 none any Details

Total release size: 89.3 kB

Release files / unifi_ml2_driver_estenrye-1.0.22.tar.gz

Download URL unifi_ml2_driver_estenrye-1.0.22.tar.gz
Size 39.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ec683f70077136ea112da3aa204fdbb16ab36d87e863786a9fefd3414882a40b
BLAKE2b-256 checksum
How to use checksums
b461877260732a70e3b50ec386bf77140199eef5932e1703dab1f7bc2204315d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release files / unifi_ml2_driver_estenrye-1.0.22-py3-none-any.whl

Download URL unifi_ml2_driver_estenrye-1.0.22-py3-none-any.whl
Size 50.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
466c0c676d2c98408b521a1cc7ee624ea2fed057633ab42c4c968e38fa47f101
BLAKE2b-256 checksum
How to use checksums
8ad64f0a4706d33402558b012650083b6d24c7224990faf38140fb3628a8728d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 14, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.29

2 release files

1.0.28

2 release files

1.0.27

2 release files

1.0.26

2 release files

1.0.25

2 release files

1.0.24

2 release files

1.0.23

2 release files

This release

1.0.22 This release

2 release files

1.0.21

2 release files

1.0.20

2 release files

1.0.19

2 release files

1.0.18

2 release files

1.0.17

2 release files

1.0.16

2 release files

1.0.15

2 release files

1.0.14

2 release files

1.0.13

2 release files

1.0.12

2 release files

1.0.11

2 release files

1.0.10

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page