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

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.20
File Size Uploaded
unifi_ml2_driver_estenrye-1.0.20.tar.gz 38.9 kB Details

Built distribution (wheel)

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

Total release size: 88.6 kB

Release files / unifi_ml2_driver_estenrye-1.0.20.tar.gz

Download URL unifi_ml2_driver_estenrye-1.0.20.tar.gz
Size 38.9 kB
Tags Source
SHA-256 checksum
How to use checksums
fddb2b843fb4340685ba50b46effc0b71ecb73a6b7e39fe493895e43cc01fc4a
BLAKE2b-256 checksum
How to use checksums
996ef02b71c9e0addcc41ad398d473c81a66bef40da2cf2a347c43e75c5ba967
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.20-py3-none-any.whl

Download URL unifi_ml2_driver_estenrye-1.0.20-py3-none-any.whl
Size 49.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
88e34ebecb09d5907e516149e45d704cfb9c6c0ef8dd2dcacd098ce6e6b011d1
BLAKE2b-256 checksum
How to use checksums
fbe764c71ed6bb4120d633ab8ce9fd1866e57d03e3d25df63d4b43241ce08b5f
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

This release

1.0.20 This release

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