Unicon Connection Library Plugins
Project description
Unicon is a package aiming to provide a unified connection experience to network devices through typical command-line management interface. By wrapping the underlying session (eg, telnet, ssh), Unicon provides:
direct and proxied connections through any common CLI interface (telnet, ssh, serial etc)
power of expect-like programming without having to deal with low-level logic
multi-vendor support through an agnostic API interface
seamless handling of CLI modes (eg, enable, configure, admin-configure mode)
rejected commands, command error detections
value-add statful services (specific to the platform)
and is extensible: platform supports and services are implemented via open-source plugins.
Unicon is the standard, go-to CLI connection implementation for Cisco pyATS framework.
This package was initially developed internally in Cisco, and is now release to the general public starting late 2017 through Cisco DevNet.
Requirements
Linux/macOS/WSL
Python 3.4+
Quick Start
bash$ pip install unicon
For more information on setting up your Python development environment, such as creating virtual environment and installing pip on your system, please refer to Virtual Environment and Packages in Python tutorials.
Examples
See example of a Unicon connection usage with Cisco IOS devices at:
In addition, there is a sample plugin package you can follow to develop Unicon plugins for new platforms on top of Unicon:
https://github.com/CiscoDevNet/pyats-plugin-examples/tree/master/unicon_plugin_example
Support & Community
See https://developer.cisco.com/docs/pyats/#!license-support page for details.
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 Distributions
Built Distribution
File details
Details for the file unicon.plugins-24.7-py3-none-any.whl
.
File metadata
- Download URL: unicon.plugins-24.7-py3-none-any.whl
- Upload date:
- Size: 852.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c87a711a956ba27a4179a18f5c4b56cbad313cbdcbd6e4f6aa00a93c1e65a60c |
|
MD5 | 7fa33c3bf05861e1511e8162b9fbc2c1 |
|
BLAKE2b-256 | fcc2703c2186a81f1e486b9a512a29ba31792adcca1f8dc2a5fc3f4d8d0c7553 |