os-vif
A library for plugging and unplugging virtual interfaces in OpenStack.
What it is and what it does
os-vif is an OpenStack library that abstracts the mechanics of attaching and detaching virtual network interfaces to compute instances. It provides a plugin-based architecture (via stevedore) for different network backends and vNIC types, allowing Nova and other OpenStack services to manage instance networking without directly coupling to specific network implementations.
The library depends on the Oslo family of libraries (concurrency, config, logging, serialization, versioned objects) and ovsdbapp for database operations, making it a core component of OpenStack's networking infrastructure. It is maintained as part of the OpenStack project and targets modern Python versions (3.11–3.13).
Use it for:
- Attaching and detaching vNICs when provisioning or terminating OpenStack compute instances
- Supporting multiple network backend implementations (OVS, Linux bridge, etc.) through a unified plugin interface
- Managing virtual interface state and metadata in OpenStack Nova compute service
- Enabling network configuration changes on running instances without service restart
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
os-vif provides a library for managing the lifecycle of virtual network interfaces in OpenStack environments, handling attachment and detachment of vNICs to compute instances.
Yes, if you are operating or developing within OpenStack infrastructure. This is a foundational library for instance networking in OpenStack and is required by Nova. For non-OpenStack use cases, it has no relevance. No known security vulnerabilities as of the query date.
Install
os-vif on PyPI
pip
pip install os-vifuv
uv add os-vifpoetry
poetry add os-vifInstalling os-vif
Before you install
Low install friction with a pure-Python wheel distribution. Active maintenance status with a release 44 days ago. Depends on 12 Oslo and OpenStack ecosystem libraries, all standard components in OpenStack deployments.
License in practice
Licensed under Apache License 2.0 (permissive), allowing commercial and private use with minimal restrictions beyond attribution and liability disclaimers.
Quickstart
pip install os-vif
from os_vif import objects
from os_vif import plugin
# Typically used by OpenStack Nova to manage vNIC lifecycle
plugin.register()
Requires Python 3.11 or later; intended for use within OpenStack infrastructure, not standalone applications.
Verify before relying
- Whether this library is required only for OpenStack operator/administrator use or also for application developers building on OpenStack
- Specific version compatibility guarantees with different OpenStack release series
Package facts
| License | Apache-2.0 (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 12 — pbr, oslo.concurrency, oslo.config, oslo.log, oslo.i18n, oslo.privsep, oslo.serialization, oslo.utils, oslo.versionedobjects, ovsdbapp, stevedore, debtcollector |
| Maintenance | actively maintained — 44 days since the last release |
| First released | |
| Downloads | 111,476/month — #12,414 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: os_vif-5.1.0-py3-none-any.whl
Tags
More Networking packages
h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
psutilpsutil retrieves real-time information about…
permissive · top 1,000 on PyPI
pyOpenSSLpyOpenSSL wraps OpenSSL's SSL/TLS functionality…
permissive · top 1,000 on PyPI
uvloopuvloop is a drop-in replacement for Python's…
permissive · top 1,000 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
pyzmqPyZMQ provides Python bindings for ZeroMQ…
permissive · top 1,000 on PyPI
os-brickManages discovery and removal of storage…
permissive · top 15,000 on PyPI
os-kenos-ken is a component-based software defined…
permissive · top 15,000 on PyPI
pycadfPyCADF implements the Cloud Auditing Data…
permissive · top 15,000 on PyPI
oslo.vmwareoslo.vmware provides a library for common…
permissive · top 15,000 on PyPI
osprofilerOSProfiler generates distributed request traces…
permissive · top 15,000 on PyPI
os-resource-classesProvides a standardized collection of resource…
permissive · top 15,000 on PyPI
python-swiftclientPython client library for OpenStack Object…
permissive · top 15,000 on PyPI
neutron-libNeutron-lib provides shared routines,…
permissive · top 15,000 on PyPI
os-service-typesProvides access to OpenStack service-type…
permissive · top 5,000 on PyPI
os-traitsos-traits provides a standardized catalog of…
permissive · top 15,000 on PyPI