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
Built Distribution
Hashes for yangsuite-2.8.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f8a235db0ae5fce09a5484a826deb20ce65c23a425900adf4a0a27fd8d905e7a |
|
MD5 | 31742aa7c3f2be9be26f4fa278e71e22 |
|
BLAKE2b-256 | 394b5447d5366a07ae082c0659eba088d5bc5e962d640ad7e90e04b33b8654bc |