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:
- Fixes
_get_controller()raisingoslo_config.cfg.NoSuchOptErroron every real network create/update/delete (see upstream PR #17, open as of this writing). - Relaxes
requires-pythonback to>=3.10.12from upstream's>=3.12.0-- verified the actual code (this driver's and itsaiohttp-unifi>=88dependency's) runs correctly on real Python 3.10.12 with a smallsitecustomize.pyback-porting the handful of 3.11+-onlytyping/enumsymbols it uses; the>=3.12.0constraint 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
- Source: https://github.com/ubiquity-community/unifi-ml2-driver
- Python Package: https://pypi.org/project/unifi-ml2-driver/
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.24
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| unifi_ml2_driver_estenrye-1.0.24.tar.gz | 40.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| unifi_ml2_driver_estenrye-1.0.24-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 92.1 kB
Release files / unifi_ml2_driver_estenrye-1.0.24.tar.gz
| Download URL | unifi_ml2_driver_estenrye-1.0.24.tar.gz |
|---|---|
| Size | 40.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
343a51c4efc69be48efc7328386e98040bf31e3b8dadfb1d4ea7884b925d5f4c
|
|
BLAKE2b-256 checksum How to use checksums |
39435ae27bd8431f75c1d5d2725c0d8bccc67f055814709158e4a08610264297
|
| 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 15, 2026.
Transparency logRelease files / unifi_ml2_driver_estenrye-1.0.24-py3-none-any.whl
| Download URL | unifi_ml2_driver_estenrye-1.0.24-py3-none-any.whl |
|---|---|
| Size | 51.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e95459f3c285d7117ed5cdfd4fc65e56bf505a98bee324885790efdcfddfc68
|
|
BLAKE2b-256 checksum How to use checksums |
d5a5fcaf234b4e70c00f58842784dd4afc02e51e300920f05fac6260e813318b
|
| 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 15, 2026.
Transparency log