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

NETCONF YANG API Reference

AR100, AR120, AR160, AR1200, AR2200, AR3200, and AR3600 V300R003

NETCONF YANG API Reference
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).
RPC Operations

RPC Operations

The NETCONF protocol uses the RPC-based communication mechanism and provides transport-independent NETCONF request and response mechanism using the elements such as <rpc> and <rpc-reply> to implement device configuration and management.

NOTE:

NETCONF API uses the message formats in compliance with RFC 6241. For details, see RFC 6241.

  • <rpc>

    The <rpc> element is used to enclose a NETCONF request sent from the client to the server.

    The <rpc> element has a mandatory attribute "message-id", which is a string chosen by the sender of the RPC that will commonly encode a monotonically increasing integer. The receiver of the RPC does not decode or interpret this string but simply saves it to be used as a "message-id" attribute in any resulting <rpc-reply> message.

  • <rpc-reply>

    The <rpc-reply> element is used to enclose NETCONF response. The server returns a <rpc-reply> message in response to every <rpc> message.

    The <rpc-reply> element also has a mandatory attribute "message-id", which is the same as that in the RPC request.

  • <rpc-error>

    The <rpc-error> element is sent in <rpc-reply> messages if an error or alarm occurs during the processing of an <rpc> request.

  • <ok>

    The <ok> element is sent in <rpc-reply> messages if no error or alarm occurs during the processing of an <rpc> request.

Translation
Download
Updated: 2019-03-06

Document ID: EDOC1100022096

Views: 8266

Downloads: 69

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