From b013ec993bc7ea340e4f112af2b399670ef26a61 Mon Sep 17 00:00:00 2001 From: SRBuilds Date: Tue, 26 Nov 2019 16:01:37 -0500 Subject: [PATCH] Initial commit. Nokia YANG Data model to configure authentication, authorization and accounting on SR OS based routers. --- .gitignore | 11 +++++++++ LICENSE.md | 20 +++++++++++++++++ README.md | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 96 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE.md create mode 100644 README.md diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..f0c4df71 --- /dev/null +++ b/.gitignore @@ -0,0 +1,11 @@ +*.bak +*.orig +*.patch +*.pyc +*.rej +*.swo +*.swp +*.tmp +*~ +tags +TAGS diff --git a/LICENSE.md b/LICENSE.md new file mode 100644 index 00000000..6e7d4b34 --- /dev/null +++ b/LICENSE.md @@ -0,0 +1,20 @@ +# LICENSE + +Nokia YANG Data model to configure authentication, authorization and +accounting on SR OS based routers. + +Copyright 2016 Nokia. All rights reserved. Reproduction of this document is +authorized on the condition that the foregoing copyright notice is included. + +The YANG modules embody Nokia's proprietary intellectual property. Nokia +retains all title and ownership in the specification, including any +revisions. + +Nokia grants all interested parties a non-exclusive license to use and +distribute an unmodified copy of this specification in connection with +management of Nokia products, and without fee, provided this copyright +notice and license appear on all copies. + +This specification is supplied 'as is', and Nokia makes no warranty, either +express or implied, as to the use, operation, condition, or performance +of the specification. diff --git a/README.md b/README.md new file mode 100644 index 00000000..845ae39e --- /dev/null +++ b/README.md @@ -0,0 +1,65 @@ +# Nokia SR OS YANG models + +## Overview + +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: + +- 7950/7750/7450/7710 SR +- 7750 MG/VMG +- 7705 SAR-Hm +- 7250 IXR + +## Working with the repository + +The repository is created in order to provide a flexible programmatic interface to assist with +network automation tasks. + +### `master` branch + +The `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 +``` + +### Per-release branches + +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, for example `SAR-Hm_SROS_19.10` +(example only). + +Each release is tagged with the full release revision as well, for example `SROS_19.10.R1` + +To obtain the YANG modules for a specific release clone the following: + +``` +git clone -b SROS_19.10.R1 --single-branch 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 +such as `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 +``` + +## Documentation + +Further documentation regarding Nokia SR OS YANG models can be found on the Nokia Online Support Portal or in the SR OS user +and reference guides.