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.17

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.17
File Size Uploaded
unifi_ml2_driver_estenrye-1.0.17.tar.gz 31.0 kB Details

Built distribution (wheel)

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

Total release size: 72.0 kB

Release files / unifi_ml2_driver_estenrye-1.0.17.tar.gz

Download URL unifi_ml2_driver_estenrye-1.0.17.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7dd7575be664b07d4388923b81429089afc4f3d06f01c35f2edb93533fe38d32
BLAKE2b-256 checksum
How to use checksums
ef45d1c58d70321a10d44cced0687d9d0b13ff5afdfcc948d7805e34a8269c8d
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.17-py3-none-any.whl

Download URL unifi_ml2_driver_estenrye-1.0.17-py3-none-any.whl
Size 41.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10dd819f91e396209df8aec0fbc6f0ce79149948d62fd18872d649d4f803db1d
BLAKE2b-256 checksum
How to use checksums
2624340a9f7f31fa2f37e86e91b41320519dc34910050e056d1e3dc729a0e9fa
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

1.0.22

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

This release

1.0.17 This release

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