No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

ME60 V800R010C10SPC500 Feature Description - System Management 01

This is ME60 V800R010C10SPC500 Feature Description - System Management
Rate and give feedback :
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
YANG-library

YANG-library

YANG-library 1.0 indicates that a device can provide the YANG capabilities that the device supports. Basic information about YANG modules that a server supports can be viewed on a NETCONF client. The information includes the module name, YANG model version, namespace, and list of submodules and is saved in the local buffer.

Capability ID

<capability>urn:ietf:params:netconf:capability:yang-library:1.0?revision=<date>&module-set-id=<id></capability>
Field description:
  • revision: revision date. It is the same as the module revision date.
  • module-set-id: module set ID. It indicates a set of YANG modules that the server supports. If a YANG module changes, the ID changes.

XML example: Query the module-set-id value of the YANG module whose name is ietf-yang-library and conformance-type is implement and query basic YANG module information of the YANG module huawei-aaa.

RPC request

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="23">
 <get>
  <filter type="subtree">
   <modules-state xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library">
     <module-set-id></module-set-id> 
      <module>
       <name>ietf-yang-library</name>
       <conformance-type>implement</conformance-type>
      </module>
      <module>
       <name>huawei-aaa</name>
      </module>
    </modules-state>
  </filter>
 </get>
</rpc>

Information contained in the reply includes the module-set-id value, YANG module version used, namespace, list of submodules, and revision date. If the reply does not contain the YANG module version information, YANG1.0 is used by default.

RPC reply

<?xml version="1.0" encoding="utf-8"?>
<data xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
  <modules-state xmlns="urn:ietf:params:xml:ns:yang:ietf-yang-library">
    <module-set-id>2148066159</module-set-id>
    <module>
      <name>ietf-yang-library</name>
      <revision>2016-06-21</revision>
      <namespace>urn:ietf:params:xml:ns:yang:ietf-yang-library</namespace>
      <conformance-type>implement</conformance-type>
    </module>
    <module>
      <name>huawei-aaa</name>
      <revision>2017-03-23</revision>
      <namespace>http://www.huawei.com/netconf/vrp/huawei-aaa</namespace>
      <conformance-type>implement</conformance-type>
      <deviation>
        <name>huawei-aaa-deviations-cx</name>
        <revision>2017-03-23</revision>
      </deviation>
      <submodule>
        <name>huawei-aaa-action</name>
        <revision>2017-03-23</revision>
      </submodule>
      <submodule>
        <name>huawei-aaa-lam</name>
        <revision>2017-03-23</revision>
      </submodule>
      <submodule>
        <name>huawei-aaa-lam-action</name>
        <revision>2017-03-23</revision>
      </submodule>
      <submodule>
        <name>huawei-aaa-lam-type</name>
        <revision>2017-03-23</revision>
      </submodule>
      <submodule>
        <name>huawei-aaa-type</name>
        <revision>2017-03-23</revision>
      </submodule>
    </module>
  </modules-state>
</data>
Translation
Download
Updated: 2019-01-04

Document ID: EDOC1100059466

Views: 10347

Downloads: 6

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next