< Home

Data Model

The data model file matching the switch status information report module is huawei-board.yang.

Table 1 Switch status information report

Object

Description

Value

Remarks

boards-state/board/name

Indicates the switch name.

The value is a string of 0 to 8 characters, which is the slot ID of the switch.

N/A

boards-state/board/role

Indicates the switch role.

The value can be:
  • master: master switch

  • standby: standby switch

  • slave: slave switch

N/A

boards-state/board/esn

Indicates the switch ESN.

The value is a string of 0 to 128 characters.

N/A

boards-state/board/state

Indicates the switch registration status.

The value can be:
  • online: The switch is added.

  • offline: The switch is removed.

  • registered: The switch is registered.

N/A

boards-state/board/uplink-speed

Indicates the rate of an uplink port.

The value is of the enumerated type:

  • 40GE: 40 Gbit/s
  • 100GE: 100 Gbit/s
  • 40GEand100GE: 40 Gbit/s or 100 Gbit/s
  • unknown: Other rates

This object takes effect only for the S6730-H, and S6730S-H.

boards-state/board/port-config-mode

Indicates the port working mode on the subcard.

The value is a string of 1 to 255 characters.

This object takes effect only for the S5731-H and S5731S-H.

board-role-event/board/name

Indicates the switch name in case of a role change.

The value is a string of 0 to 8 characters.

N/A

board-role-event/board/event

Indicates the switch role in case of a role change.

The value can be:
  • master: master switch

  • standby: standby switch

  • slave: slave switch

N/A

board-state-event/board/name

Indicates the switch name in case of a registration status change.

The value is a string of 0 to 8 characters.

N/A

board-state-event/board/event

Indicates the switch registration status in case of a registration status change.

The value can be:
  • online: The switch is added.

  • offline: The switch is removed.

  • registered: The switch is registered.

N/A

board-state-event/board/model

Indicates the switch model in case of a registration status change.

The value is a string of 1 to 255 characters.

N/A

board-state-event/board/mac-address

Indicates the switch MAC address in case of a registration status change.

The value is a character string in the format xx:xx:xx:xx:xx:xx.

N/A

board-state-event/board/esn

Indicates the switch ESN in case of a registration status change.

The value is a string of 1 to 255 characters.

N/A

boards-state-event/board/port-config-mode

Indicates the port working mode on the subcard.

The value is a string of 1 to 255 characters.

This object takes effect only for the S5731-H and S5731S-H.

port-config-mode-change/name

Indicates the name of the subcard on which the port working mode is changed.

The value is a string of 1 to 32 characters.

This object takes effect only for the S5731-H and S5731S-H.

port-config-mode-change/port-config-mode

Indicates the new port working mode.

The value is a string of 1 to 255 characters.

This object takes effect only for the S5731-H and S5731S-H.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >