Reporting Device Status Information
This section describes the status information packet reported from the switch to the controller.
Operation |
XPATH |
---|---|
The packet is actively sent by the switch, and no operation is required. |
/boards-state |
Data requirement
Item |
Data |
Description |
---|---|---|
Card name |
MPU13 |
- |
Card role |
master |
|
Card ESN |
022CDN10xxxxxxxx |
|
Card registration status |
registered |
Request example: status packet
<boards-state xmlns="urn:huawei:params:xml:ns:yang:huawei-board">
<board>
<name>MPU13</name>
<esn>022CDN10xxxxxxxx</esn>
<role>master</role>
<state>registered</state>
</board>
</boards-state>
Item |
Data |
Description |
---|---|---|
Card name |
MPU13 |
- |
Card role |
master |
Request example: notification packet
<board-role-event xmlns="urn:huawei:params:xml:ns:yang:huawei-board">
<board>
<name>MPU13</name>
<event>master</event>
</board>
</board-role-event>
Item |
Data |
Description |
---|---|---|
Card name |
MPU13 |
- |
Card registration status |
online |
Request example: notification packet
<board-state-event xmlns="urn:huawei:params:xml:ns:yang:huawei-board"> <board> <name>MPU13</name> <event>online</event> </board> </board> </board-state-event>