Abstracton and Python API for Ansible Networking
Project description
Overview
Network-Runner is a python library that abstracts management and interaction with switching hardware to Ansible Networking. This library is not tested with all the modules included with Ansible Networking. In theory it should work with any switch that has compatible modules included with Ansible Networking if the provider tasks are added to this library’s Ansible role. See the contributor documentation for more information about adding support for an Ansible Networking module to this library.
Free software: Apache license
Documentation: https://network-runner.readthedocs.io/en/latest/
Components
The Network-Runner library consists of the following components:
- Python API
Imported directly by python.
- Ansible Role
Used by Ansible during Ansible invocation.
Use Cases
Python API
Any python application could need the ability to communicate with a switch to perform a task that network-runner is able to complete. The interaction with ansible is designed in a library style that will allow direct import and invocation in python independent of a running OpenStack deployment.
API Features
The following matrix indicates which features have been implmented.
openvswitch |
junos |
nxos |
eos |
enos |
cumulus |
dellos10 |
|
Create VLAN |
N/A |
Y |
Y |
Y |
Y |
Y |
Y |
Delete VLAN |
N/A |
Y |
Y |
Y |
Y |
Y |
Y |
Delete Port |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Config Access Port |
Y |
Y |
Y |
Y |
Y |
Y |
Y |
Config Trunk Port |
N |
Y |
N |
Y |
Y |
Y |
N |
List VLANs |
N |
N |
N |
N |
N |
N |
N |
Add Trunk VLAN |
N |
N |
N |
N |
N |
N |
N |
Delete Trunk VLAN |
N |
N |
N |
N |
N |
N |
N |
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file network-runner-0.3.6.tar.gz
.
File metadata
- Download URL: network-runner-0.3.6.tar.gz
- Upload date:
- Size: 37.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2d35dd6239a9eb277dd2040c28216a44af7cbb53d5b5263360287b080b194ba |
|
MD5 | 94c184b0e8092f0834116d3c6927b279 |
|
BLAKE2b-256 | 68aeca4076916147326a4011953ee41a7f06c4b2fdb5948a9d4749b377e0e54f |
File details
Details for the file network_runner-0.3.6-py3-none-any.whl
.
File metadata
- Download URL: network_runner-0.3.6-py3-none-any.whl
- Upload date:
- Size: 72.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0759ddb4c50f0278c2c3743ffc2a3d20ac284c59fc5ccdf4c77ad492e9767774 |
|
MD5 | 4386fbf8dc68e286f4ac3a2a7dff1917 |
|
BLAKE2b-256 | 5c08c9143e6db1183534753398682dd70fd8ee1166c69439d4fe4ca424f1841a |