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

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.11
File Size Uploaded
unifi_ml2_driver_estenrye-1.0.11.tar.gz 28.8 kB Details

Built distribution (wheel)

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

Total release size: 67.6 kB

Release files / unifi_ml2_driver_estenrye-1.0.11.tar.gz

Download URL unifi_ml2_driver_estenrye-1.0.11.tar.gz
Size 28.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c47589d3d9d7922a080e0f043bbe13a2c435e8e7bff03d41a11751a2bc48eb5c
BLAKE2b-256 checksum
How to use checksums
2abd8e4e2e8ec9ca08c4a8f38b3dd5f3e2110dcb9c15d53eaa34c5013ac35e1a
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.11-py3-none-any.whl

Download URL unifi_ml2_driver_estenrye-1.0.11-py3-none-any.whl
Size 38.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b6894bcb74ff532f22006ccd30f72b2521f6849fe042dd3877521af86d51c1fb
BLAKE2b-256 checksum
How to use checksums
c35152de121337f7f6e9b78b535afbd7141b44cb8efb5d1d8550045f84aa630a
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

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

This release

1.0.11 This release

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