Nokia SR OS YANG models
Nokia SR OS YANG models for configuration and management of SR OS based routers.
YANG models are provided per-platform although many of the devices utilize the same common models. YANG models are provided for the following platforms:
- 7450 Ethernet Service Switch (ESS)
- 7750 Service Router (SR)
- 7950 Extensible Routing System (XRS)
Working with the repository
The repository is created in order to provide a flexible programmatic interface to assist with network automation tasks.
master branch provides the YANG models for all releases per platform. Cloning this branch will
provide the maximum output, however, it may be more extensive then required for your use case.
git clone https://github.com/nokia/7x50_YangModels
Each release is provided as a separate branch. The majority of the platforms utilize a set of common YANG models
and these are represented as SROS_Major_Minor, for example
sros_19.10. Where a platform specific YANG is required
that is different from the common SR OS models, a platform specific branch will be supplied.
Each release is tagged with the full release revision as well, for example
To obtain the YANG modules for a specific release clone the following:
git clone -b sros_19.10.r1 --depth 1 https://github.com/nokia/7x50_YangModels
Obtaining the differences between releases
To compare between two different sets of YANG models using git, clone the
master branch or a release specific branch
sros_19.10 and then execute the following:
git diff sros_19.10.r1 sros_19.10.r2
Obtaining a zipped file of the YANG models for a specific release
To obtain a compressed TAR file of the available YANG models for a specific release, clone the repository and then execute the following:
git archive --format tar.gz sros_19.10.r1 > Nokia_YANG_19.10.R1.tar.gz
For more information on developing automation for Nokia's IP and optical products, visit the Network Developer Portal.