< Home

Data Model

The configuration model file matching license management is huawei-device.yang.

Table 1 N1 license management

Object

Description

Value

Remarks

/huawei-device:config-virtual-license/item-list

Indicates the control item list of a virtual license.

NA

Currently, a maximum of 32 control items can be delivered to a device.

/huawei-device:config-virtual-license/item-list/item-type

Indicates the name of a control item in the virtual license.

The value is of the enumerated type. Currently, only VXLAN is supported.

NA

/huawei-device:config-virtual-license/item-list/item-resource-value

Indicates the resource value of a control item.

The value is an integer that ranges from 0 to 65535.

For resources that can only be enabled or disabled, the value can be 1 or 0. For other resource requirements, the values are the detailed resource values.

/huawei-device:config-virtual-license/item-list/expired-date

Indicates the expiration date of the control item.

The value is permanent or a character string in the format of YYYY-MM-DD.

for example, 2018-01-01.

For a permanent commercial license, the value is set to permanent; otherwise, the value is set to a valid date in the format of YYYY-MM-DD.

/huawei-device:config-virtual-license/magic-word

Indicates the magic number of the delivered packet.

The value is a string of 1 to 2048 case-sensitive characters without spaces, hyphens (-), or question marks (?).

The device and the controller define the public and private keys. The controller delivers a virtual license to the device based on the keys. The keys are not provided externally.

/huawei-device:active-license/filename

Indicates the name of the license file to be activated.

The value is a string that ranges from 1 to 255.

NA

/huawei-device:device-state/license-status

The device license state.

NA

NA

/huawei-device:device-state/license-status/state

Current license state.

The value is of the enumerated type. The options are as follows:
  • default
  • normal
  • emergency
  • demo
  • trial
  • retrieving

NA

/huawei-device:device-state/license-status/active-date-time

The date and time of activating license.

The value is a string, for example: 2019-04-16T21:32:41+00:00.

NA

/huawei-device:device-state/license-status/expired-date

Expired date of license.

The value is a string, for example: 2019-01-01.

NA

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