Schema Resources

You can retrieve YANG modules using the URL shown in the schema. The leaf "schema" must be present in the associated "module" list entry. To retrieve a YANG module, you must first get the URL for retrieving the schema, which is stored in the "schema" leaf. The client can get the URL to retrieve the schema. When the client responds, the URL and the corresponding YANG module can be obtained.

<module xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library">
  <name>icx-openconfig-if-poe-aug</name>
  <revision>2020-01-04</revision>
  <schema>http://localhost/restconf/yang/icx-openconfig-if-poe-aug/2020-01-04</schema>
  <namespace>http://commscope.com/ns/yang/icx/icx-openconfig-if-poe-aug</namespace>
  <conformance-type>implement</conformance-type>
</module>

To download a specific YANG model, retrieve and module using the URL provided in the schema.