/
Yang Download Service

Yang Download Service

Requirements

  • get yang files/spec of devices located in the SDN-Controller schema cache ($ODL_HOME/cache/schema) (Files are stored by yang-tols always in format "urn@version")

  • get additional specs, mainly basic yang specs, because normally not available in cache/schema. (Filename format similar to cache/schma)

  • request based on module name and optional version

  • response Content-Type: plain/text

  • if file not found: 404

Request

Description



Request

Description



GET /yang-schema/{modulename}

get latest yang file for module



GET /yang-schema/{modulename}/version

get version or nearest later of yang file for module



References





Related content

2020-10-23 Meeting notes
2020-10-23 Meeting notes
More like this
Service Orchestrator Beijing Release
Service Orchestrator Beijing Release
More like this
SDN-R Release Guilin
SDN-R Release Guilin
More like this
Existing Yang Parser
Existing Yang Parser
More like this
SDN-R DB data-provider
SDN-R DB data-provider
More like this
R13 YANG Model Automation
R13 YANG Model Automation
More like this