The configuration model file for time range management is huawei-time-range.yang.
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.
|
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.
|
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.
|
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.
|
The end time must be later than the start time. If no end time is configured, the device uses the allowed maximum value. |