Python brctl wrapper
Project description
Pybrctl
Pybrctl is a pure Python library for managing bridges. It is a lightwight wrapper for the linux brctl command, included in the bridge-utils package. It requires Python, Linux, and the bridge-utils package.
It was written by Ido Nahshon at Jan 2015, and it was released under the GPL license.
This version is compatible with Python 3.
Example Usage
This example shows how to set up a new bridge and remove it:
from pybrctl import pybrctl
brctl = pybrctl.BridgeController()
b = brctl.addbr("br0")
b.addif("eth0")
b.addif("eth1")
b.setmaxageing(0)
brctl.delbr("br0")
Source
Latest version on github: https://github.com/udragon/pybrctl Feel free to contribute. ;)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nbycomp_pybrctl-0.1.4.6-py3-none-any.whl.
File metadata
- Download URL: nbycomp_pybrctl-0.1.4.6-py3-none-any.whl
- Upload date:
- Size: 10.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/2.7.15+
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92043b8239afdd00796d307af7a60a77c672aa4989ac281e7541a95026c09570
|
|
| MD5 |
c7e13b7f200ef88af97c6b69ed4d585a
|
|
| BLAKE2b-256 |
64321e6c83dbbcf3ad64e3115140d8700506046c4d8b5e9bfe2de12d182e06be
|