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

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.27
File Size Uploaded
unifi_ml2_driver_estenrye-1.0.27.tar.gz 43.3 kB Details

Built distribution (wheel)

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

Total release size: 97.4 kB

Release files / unifi_ml2_driver_estenrye-1.0.27.tar.gz

Download URL unifi_ml2_driver_estenrye-1.0.27.tar.gz
Size 43.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4359013e7aec1b07d9a84a821cf08a128007775a3e63c5a1fc1e7daa92a89a3b
BLAKE2b-256 checksum
How to use checksums
2b442221ea66b17ac6bb6f6cce1e0732b033d66beceaf400ee1a01a1e2c8d1ad
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 17, 2026.

Transparency log

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

Download URL unifi_ml2_driver_estenrye-1.0.27-py3-none-any.whl
Size 54.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
543a6383a747e40602a0e3cda07265d58a39142884b65831999ae97a014b0da8
BLAKE2b-256 checksum
How to use checksums
dab27c9d0596b50401f2a8476eb844c1d3adacfae1fa88df3c37f90325557f92
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 17, 2026.

Transparency log

Release history Release notifications | RSS feed

1.0.29

2 release files

1.0.28

2 release files

This release

1.0.27 This release

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

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