infra_infra_clock_cfg

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR infra-infra-clock package configuration.

This module contains definitions for the following management objects:

clock: Configure time-of-day clock

Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clock

type Clock struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Configure summer (daylight savings) time.
	SummerTime Clock_SummerTime

	// Configure time zone.
	TimeZone Clock_TimeZone
}

Clock Configure time-of-day clock

func (*Clock) GetEntityData

func (clock *Clock) GetEntityData() *types.CommonEntityData

type ClockMonth

type ClockMonth string

ClockMonth represents Clock month

const (
	// January
	ClockMonth_january ClockMonth = "january"

	// February
	ClockMonth_february ClockMonth = "february"

	// March
	ClockMonth_march ClockMonth = "march"

	// April
	ClockMonth_april ClockMonth = "april"

	// May
	ClockMonth_may ClockMonth = "may"

	// June
	ClockMonth_june ClockMonth = "june"

	// July
	ClockMonth_july ClockMonth = "july"

	// August
	ClockMonth_august ClockMonth = "august"

	// September
	ClockMonth_september ClockMonth = "september"

	// October
	ClockMonth_october ClockMonth = "october"

	// November
	ClockMonth_november ClockMonth = "november"

	// December
	ClockMonth_december ClockMonth = "december"
)

type ClockSummerTimeMode

type ClockSummerTimeMode string

ClockSummerTimeMode represents Clock summer time mode

const (
	// Recurring summer time
	ClockSummerTimeMode_recurring ClockSummerTimeMode = "recurring"

	// Absolute summer time
	ClockSummerTimeMode_date ClockSummerTimeMode = "date"
)

type Clock_SummerTime

type Clock_SummerTime struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Name of time zone in summer. The type is string. This attribute is
	// mandatory.
	TimeZoneName interface{}

	// Summer time mode. The type is ClockSummerTimeMode. This attribute is
	// mandatory.
	Mode interface{}

	// If Mode is set to 'Recurring' specify Week number of the Month to start
	// (first and last strings are not allowed as they are in CLI) , if Mode is
	// set to 'Date' specify Date to start . The type is interface{} with range:
	// 1..31.
	StartWeekNumberOrStartDate interface{}

	// If Mode is set to 'Recurring' specify Weekday to start , if Mode is set to
	// 'Date' specify Year to start . The type is interface{} with range: 0..2035.
	StartWeekdayOrStartYear interface{}

	// Month to start . The type is ClockMonth.
	StartMonth interface{}

	// Hour to start . The type is interface{} with range: 0..23.
	StartHour interface{}

	// Minute to start . The type is interface{} with range: 0..59.
	StartMinute interface{}

	// If Mode is set to 'Recurring' specify Week number of the Month to end
	// (first and last strings are not allowed as they are in CLI), if Mode is set
	// to 'Date' specify Date to End. The type is interface{} with range: 1..31.
	EndWeekNumberOrEndDate interface{}

	// If Mode is set to 'Recurring' specify Weekday to end , if Mode is set to
	// 'Date' specify Year to end. The type is interface{} with range: 0..2035.
	EndWeekdayOrEndYear interface{}

	// Month to end . The type is ClockMonth.
	EndMonth interface{}

	// Hour to end . The type is interface{} with range: 0..23.
	EndHour interface{}

	// Minute to end . The type is interface{} with range: 0..59.
	EndMinute interface{}

	// Offset to add in minutes . The type is interface{} with range: 1..1440.
	// Units are minute.
	Offset interface{}
}

Clock_SummerTime Configure summer (daylight savings) time This type is a presence type.

func (*Clock_SummerTime) GetEntityData

func (summerTime *Clock_SummerTime) GetEntityData() *types.CommonEntityData

type Clock_TimeZone

type Clock_TimeZone struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YPresence  bool

	// Name of time zone. The type is string. This attribute is mandatory.
	TimeZoneName interface{}

	// Hours offset from UTC. The type is interface{} with range: -23..23. This
	// attribute is mandatory. Units are hour.
	HourOffset interface{}

	// Minutes offset from UTC. The type is interface{} with range: 0..59. Units
	// are minute. The default value is 0.
	MinuteOffset interface{}
}

Clock_TimeZone Configure time zone This type is a presence type.

func (*Clock_TimeZone) GetEntityData

func (timeZone *Clock_TimeZone) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL