Skip to main content

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.

https://developer.cisco.com/pyats/

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:

https://github.com/CiscoDevNet/pyats-ios-sample

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unicon_plugins-26.7-py3-none-any.whl (948.3 kB view details)

Uploaded Python 3

File details

Details for the file unicon_plugins-26.7-py3-none-any.whl.

File metadata

  • Download URL: unicon_plugins-26.7-py3-none-any.whl
  • Upload date:
  • Size: 948.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.2

File hashes

Hashes for unicon_plugins-26.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8cb8022be8bddec6f3a9637eb4ff664c82100c414ba194417aa0810437b4fb7e
MD5 8fbb7985d0226436580da9e9461219c6
BLAKE2b-256 32c1c7fd82d3760361ac8b4f6fb67f30ce0eb04740c000bfa3bb6115f0d9fdec

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

26.7 This release

1 file

26.6

1 file

26.5

1 file

26.4

1 file

26.3

1 file

26.2

1 file

26.1

1 file

25.11

1 file

25.10

1 file

25.9

1 file

25.8

1 file

25.7

1 file

25.6

1 file

25.5

1 file

25.4

1 file

25.3

1 file

25.2

1 file

25.1

1 file

24.11

1 file

24.10

1 file

24.9

1 file

24.8

1 file

24.7

1 file

24.6

1 file

24.5

1 file

24.4

1 file

24.3

1 file

24.2

1 file

24.1

1 file

23.11

1 file

23.10

1 file

23.9

1 file

23.8

1 file

23.7

1 file

23.6.1

1 file

23.6

1 file

23.5

1 file

23.4

1 file

23.3

1 file

23.2

1 file

23.1

1 file

22.11

1 file

22.10

1 file

22.9

1 file

22.8

1 file

22.7

1 file

22.6

1 file

22.5

1 file

22.4

1 file

22.3

1 file

22.2

1 file

22.1.1

1 file

22.1

1 file

21.12

1 file

21.10

1 file

21.9

1 file

21.8

1 file

21.7

1 file

21.6

1 file

21.5

1 file

21.4.2

1 file

21.4

1 file

21.3

1 file

21.2

1 file

21.1

1 file

20.12

1 file

20.10

1 file

20.9

1 file

20.8.1

1 file

20.7.3

1 file

20.7.2

1 file

20.7

1 file

20.6

1 file

20.5

1 file

20.4

1 file

20.2

1 file

20.1.1

1 file

20.1

1 file

19.12.1

1 file

19.12

1 file

19.11.1

1 file

19.11

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page