Skip to content
This repository has been archived by the owner on Dec 9, 2022. It is now read-only.

hellt/nokia-yangtree

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Warning.
This repo is now a public archive. No new models will be uploaded.

Nokia YANGtree

Nokia YANGtree repo contains the HTML views for some of the Nokia 7x50 YANG models. The provided output formats are:

  • Tree-based HTML view, aka HTML tree browser
  • HTML path browser
  • flattened YANG paths in text format that enables you to easily navigate and search through the YANG model paths.

1 Releases

The repo structure leverages git tags. Each tag points to a file collection generated for a specific Nokia 7x50 release. To browse the artifacts for a certain SR OS release, select the corresponding tag as demonstrated:

select_tag

2 YANG browser

The following web pages have been generated for you to easily navigate SR OS YANG models:

Note: due to the substantial size of the HTML documents it might take a while to load them.

Read more about the YANG browser capabilities here.

3 Download

There are several ways to download the outputs for a specific release. The below examples will assume the sros_21.5.r2 release is in question.

3.1 Clone with git

If git is installed it is possible to clone the artifacts for a specific tag with the following command:

git clone -b sros_21.5.r2 --depth 1 https://github.com/hellt/nokia-yangtree

3.2 Archives

It is possible to download the whole outputs collection for a specific release in the zip or tgz containers.

The github releases(https://github.com/hellt/nokia-yangtree/releases) page contains the direct links to those archives. If needed, the download link can be programmatically concatenated using the following rule:

for zip https://github.com/hellt/nokia-yangtree/archive/ + tag_name + zip

for tar.gz https://github.com/hellt/nokia-yangtree/archive/ + tag_name + tar.gz

Here are the direct links to download sros_21.5.r2 models outputs in the respective containers: