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

S600-E V200R011C10 NETCONF YANG API Reference

This document describes the NETCONF API functions supported by the switch, including the data model and samples.
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).
Reporting Device Status Information

Reporting Device Status Information

This section describes the status information packet reported from the switch to the controller.

Table 2-6  Status information report

Operation

XPATH

The packet is actively sent by the switch, and no operation is required.

/boards-state

Data requirement

Table 2-7  Data reported after the switch is connected to the controller

Item

Data

Description

switch name

1

-

switch role

master

switch ESN

022CDN10DB000004

switch registration status

registered

Request example: status packet

<boards-state xmlns="urn:huawei:params:xml:ns:yang:huawei-board"> 
 <board> 
  <name>1</name> 
  <esn>022CDN10DB000004</esn>
  <role>master</role> 
  <state>registered</state> 
 </board> 
</boards-state> 
Table 2-8  Data reported after the role changes

Item

Data

Description

switch name

1

-

switch role

master

Request example: notification packet

<board-role-event xmlns="urn:huawei:params:xml:ns:yang:huawei-board">
 <board>
  <name>1</name>
  <event>master</event>
 </board>
</board-role-event>
Table 2-9  Data reported after the registration status changes

Item

Data

Description

switch name

1

-

switch registration status

online

Request example: notification packet

<board-state-event xmlns="urn:huawei:params:xml:ns:yang:huawei-board">
 <board>
  <name>1</name>
  <event>online</event>
 </board>
</board-state-event>
Translation
Download
Updated: 2019-10-18

Document ID: EDOC1000178028

Views: 5107

Downloads: 0

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