Skip to main content

YANG Suite core application.

Reason this release was yanked:

README has bad information.

Project description

YANG Suite core Django application.

Capable of dynamic discovery of installed application plugins. Provides common library APIs for logging, filesystem access, GUI appearance and behavior, and client-server communication.

  • Authors: Members of the Cisco YANG Suite development team.

  • Supports: Python 3.6, Python 3.7, Python 3.8

YANG Suite should be installed as a Docker container.

Requires about 3.5GB of memory to load large Cisco native models.

Docker Installation

To ensure you have the latest release of the YANG Suite Docker container files, from a terminal or PowerShell window, git clone https://github.com/CiscoDevNet/yangsuite.git

WARNING: - Change admin username/password default in docker-compose.yml file first! - Official SSL/TLS certificate/key needs to be obtained and copied to yangsuite/docker/nginx directory.

Self-signed Certificate for testing

The SSL/TLS certificates installed with the nginx container should be obtained or generated using a trusted certificate authority. As a convenience you can use the yangsuite/docker/ngins/gen_test_certs.sh script to generate a self-signed certificate/key to get you going quickly.

After obtaining or generating a certificate/key, run this command in the yangsuite/docker/ directory:

COMMAND:

docker-compose up

  • Official SSL/TLS certificate/key needs to be obtained and copied to yangsuite/docker/nginx directory.

The SSL/TLS certificates installed with the nginx container should be obtained or generated using a trusted certificate authority.

As a convenience the yangsuite/docker/start_yang_suite.sh script can generate a self-signed certificate/key to get you going quickly.

The yangsuite/docker/yangsuite/production.py file contains Django settings.

Run start_yang_suite.sh from a bash shell terminal.

Adding/Updating plugins can be done through the Admin–>Manage plugins page or by copying the plugin wheels into the yangsuite/docker/yangsuite/ directory, uncomment the appropriate lines in the yangsuite/docker/yangsuite/dockerfile, and run:

COMMAND:

docker-compose up –build

Access docker with web browser

  • Connect to https://localhost NOTE: You will get a complaint about the certificate if it was generated using “start_yang_suite.sh”

  • If the default https port 443 is not available for use on your server change the port number in the docker-compose.yml file.

  • Login using username set during install.

Python Virtualenv Installation

WARNING: You will not have HTTPS support unless you install a web server like NGINX and frontend it with uwsgi. Instructions for that can be found searching online.

  • Create a python 3.6, 3.7, or 3.8 virtural environment and activate it.

  • pip install –upgrade pip

  • Type pip install yangsuite[core]

  • Use yangsuite to start the yangsuite server

  • You will be prompted to set superuser credentials.

  • Connect to http://localhost:8480.

  • Login using username set at install.

  • Use ctrl-c to stop the yangsuite server

Configuring yangsuite Server

  • Activate the virtual environment

  • Type yangsuite -h

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

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

Built Distribution

yangsuite-2.8.1-py3-none-any.whl (9.5 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page