{"id":22220849,"url":"https://github.com/nokia/srlinux-yang-models","last_synced_at":"2025-08-02T21:33:52.131Z","repository":{"id":74018241,"uuid":"419213411","full_name":"nokia/srlinux-yang-models","owner":"nokia","description":null,"archived":false,"fork":false,"pushed_at":"2025-05-14T06:31:21.000Z","size":4080,"stargazers_count":17,"open_issues_count":0,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-05-14T07:43:15.183Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nokia.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-20T06:37:55.000Z","updated_at":"2025-04-23T14:07:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c69169d-8008-48f8-b855-06d5ebd23386","html_url":"https://github.com/nokia/srlinux-yang-models","commit_stats":null,"previous_names":[],"tags_count":39,"template":false,"template_full_name":null,"purl":"pkg:github/nokia/srlinux-yang-models","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fsrlinux-yang-models","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fsrlinux-yang-models/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fsrlinux-yang-models/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fsrlinux-yang-models/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nokia","download_url":"https://codeload.github.com/nokia/srlinux-yang-models/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nokia%2Fsrlinux-yang-models/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267378163,"owners_count":24077692,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-02T23:10:32.162Z","updated_at":"2025-08-02T21:33:52.067Z","avatar_url":"https://github.com/nokia.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=center\u003e\u003ca href=\"https://yang.srlinux.dev\"\u003e\u003cimg src=https://gitlab.com/rdodin/pics/-/wikis/uploads/606d2520872b04ce5691d22630073bc4/srl-yang-models.svg?sanitize=true/\u003e\u003c/a\u003e\u003c/p\u003e\n\n[![Yang Browser](https://img.shields.io/badge/YANG_browser-yang.srlinux.dev-blue?style=flat-square\u0026color=00c9ff\u0026labelColor=bec8d2)](https://yang.srlinux.dev)\n\n---\n\nNokia SR Linux makes extensive use of structured data models. Each application, whether provided by Nokia or written by a user against the [NDK](https://learn.srlinux.dev/ndk), has a YANG model that defines its configuration and state.\n\nWith this design, the YANG data model is defined first, then the CLI, APIs, and show output formats are derived from it.\n\n## Yang browser\n\nThis repository contains only the source YANG files that one can use to build code bindings or explore the way the modules are built. To browse the modules, we recommend using [yang.srlinux.dev](https://yang.srlinux.dev) portal, which provides human-friendly tools to browse and search through the models.\n\n## Repository structure\n\nThe main branch of this repository contains only the documentation. To see the yang files for a given release, select the tag that matches the SR Linux release version.\n\nFor instance, the `v21.6.2` tag corresponds to the SR Linux release 21.6.2.\n\n## Download\n\nThere are several ways to download the yang files for a specific SR Linux release. The below examples are provided for the `v21.6.2` version.\n\n### Clone with git\n\nClone the yang files for a specific release with the following `git` command:\n\n```bash\ngit clone -b v21.6.2 --depth 1 https://github.com/nokia/srlinux-yang-models\n```\n\n### Download archives\n\nTo download the proto files for a specific release in the `zip` or `tgz` archive, navigate to the GitHub [`tag`](https://github.com/nokia/srlinux-yang-models/tags) page, which contains the links to the archives.\n\nIf needed, the download link can be programmatically derived using the following rule:\n\n**for zip**\n`https://github.com/nokia/srlinux-yang-models/archive/tags/` + `$tag` + `.zip`\n\n**for tar.gz**\n`https://github.com/nokia/srlinux-yang-models/archive/tags/` + `$tag` + `.tar.gz`\n\n### Extracting all modules\n\nTo extract YANG modules of each SR Linux release and put them in a single directory, use the provided `get-all-modules.sh` script:\n\n```bash\n# extracts modules in the `$(pwd)/all` directory\n./get-all-modules.sh\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnokia%2Fsrlinux-yang-models","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnokia%2Fsrlinux-yang-models","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnokia%2Fsrlinux-yang-models/lists"}