< Home

Data Model

The configuration model file for time range management is huawei-time-range.yang.

Table 1 Time Range management

Object

Description

Value

Remarks

/huawei-time-range:time-ranges/time-range/name

Indicates the name of a time range.

The value is a string of 1 to 32 case-sensitive characters without spaces and must begin with a letter. In addition, the word all cannot be specified as a time range name.

N/A

/huawei-time-range:time-ranges/time-range/vsys

Indicates the vsys name.

The value is a string of 1 to 31 characters.

N/A

/huawei-time-range:time-ranges/time-range/period-time/start

Indicates the start time of the time range.

The value is in the format of hh:mm:ss.
  • hh indicates the hour. The value is an integer that ranges from 0 to 23.
  • mm indicates the minute. The value is an integer that ranges from 0 to 59.
  • ss indicates the second. The value is an integer that ranges from 0 to 59.

N/A

/huawei-time-range:time-ranges/time-range/period-time/end

Indicates the end time of the time range.

The value is in the format of hh:mm:ss.
  • hh indicates the hour. The value is an integer that ranges from 0 to 23.
  • mm indicates the minute. The value is an integer that ranges from 0 to 59.
  • ss indicates the second. The value is an integer that ranges from 0 to 59.

The end time must be later than the start time.

/huawei-time-range:time-ranges/time-range/period-time/weekday

Indicates the validity period of the time range.

The value is the enumerated type and case-sensitive. The options include sunday, monday, tuesday, wednesday, thursday, friday, and saturday.

N/A

/huawei-time-range:time-ranges/time-range/absolute-time/start

Indicates the start time in a day.

It is a UTC time in the format of YYYY-MM-DD hh:mm:ss.
  • YYYY indicates the year. The value is an integer that ranges from 1970 to 2099.
  • MM indicates the month. The value is an integer that ranges from 1 to 12.
  • DD indicates the day. The value is an integer that ranges from 1 to 31.
  • hh indicates the hour. The value is an integer that ranges from 0 to 23.
  • mm indicates the minute. The value is an integer that ranges from 0 to 59.
  • ss indicates the second. The value is an integer that ranges from 0 to 59.

N/A

/huawei-time-range:time-ranges/time-range/absolute-time/end

Indicates the end time in a day.

It is a UTC time in the format of YYYY-MM-DD hh:mm:ss.
  • YYYY indicates the year. The value is an integer that ranges from 1970 to 2099.
  • MM indicates the month. The value is an integer that ranges from 1 to 12.
  • DD indicates the day. The value is an integer that ranges from 1 to 31.
  • hh indicates the hour. The value is an integer that ranges from 0 to 23.
  • mm indicates the minute. The value is an integer that ranges from 0 to 59.
  • ss indicates the second. The value is an integer that ranges from 0 to 59.

The end time must be later than the start time. If no end time is configured, the device uses the allowed maximum value.

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