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 V200R012C00 NETCONF YANG API Reference

This document describes the NETCONF YANG 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).
Data Model

Data Model

The data model file matching the device status information module is huawei-device.yang.

Table 2-3  Device status information

Object

Description

Value Remarks

device-state

Indicates the root object of device status information. It is only used to contain sub-objects, but does not have any data meaning.

-

NA

device-state/model

Indicates the device model.

The value is a string of 1 to 35 characters.

NA

device-state/esn

Indicates the chassis ESN.

The value is a string of 1 to 32 characters.

NA

device-state/mac-address

Indicates the device MAC address.

The value is a string of 1 to 23 characters.

NA

device-state/vendor

Indicates the device vendor.

The value is a character string Huawei.

NA

device-state/version

Indicates the system software version.

The value is a string of 1 to 127 characters.

NA

device-state/patch-version

Indicates the patch version.

The value is a string of 1 to 127 characters.

NA

device-state/clock/current-datetime

Indicates the current system time.

The value is a string of 1 to 100 characters.

NA

device-state/clock/boot-datetime

Indicates the system startup time.

The value is a string of 1 to 100 characters.

NA

device-state/clock/up-times

Indicates the system running duration.

The value is a string of 1 to 100 characters.

NA

device-state/upstream-interfaces/interface

Indicates the upstream interfaces.

The value is a string of 1 to 100 characters.

NA

system-restart

Indicates an rpc method used to restart the device.

-

NA

register-status-notify

Indicates an rpc method that is used by the controller to send registration result.

-

NA

register-status-notify/register-success

Indicates the device registration status.

The value is of the Boolean type:
  • true: The device succeeds in registration.
  • false: The device fails registration.

NA

register-status-notify/register-fail-reason

Indicates that the device fails registration. It also returns an error code.

The value is an integer.

NA

get-board-reboot-type/slot-index

Displays the reset reason of a specified slot.

If this object is not specified, the reset reasons of all slots are displayed.

The value is a character string, which corresponds to a slot ID, for example, 1.

NA

get-board-reboot-type/reboot-type-list/slot-index

Indicates the slot ID of the board that resets.

The value is a character string.

NA

get-board-reboot-type/reboot-type-list/time

Indicates the time a reset occurs.

The value is a character string.

NA

get-board-reboot-type/reboot-type-list/reboot-type

Indicates the reset reason, including MANUAL, POWER, SCHEDU, FSP, EXCEPTION, VRP, SOFTWARE, and OTHER.

The value is a character string.

NA

get-board-history-reset-reason/slot-index

Displays the historical reset reason of a specified slot. This object must be specified.

The value is a character string, which corresponds to a slot ID, for example, 1.

NA

get-board-history-reset-reason/reason-list/slot-index

Indicates the slot ID for historical reset information.

The value is a character string.

NA

get-board-history-reset-reason/reason-list/reset-time

Indicates the time a historical reset occurs.

The value is a character string.

NA

get-board-history-reset-reason/reason-list/reason

Indicates a historical reset reason.

The value is a character string.

NA

get-system-reset-reason/name

Indicates the offline reason number of a cloud switch.

The value is a character string.

NA

get-system-reset-reason/time

Indicates the cloud switch offline time.

The value is a character string.

get-system-reset-reason/reason

Indicates the cloud switch offline reason.

The value is a character string.

get-system-connect-fail-reason/time

Indicates the time the cloud switch fails to go online.

The value is a character string.

get-system-connect-fail-reason/reason

Indicates the cloud switch online failure reason.

The value is a character string.

Translation
Download
Updated: 2018-09-01

Document ID: EDOC1100037962

Views: 6974

Downloads: 8

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