ip_ntp_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 ip-ntp package configuration.

This module contains definitions for the following management objects:

ntp: NTP configuration

This YANG module augments the

Cisco-IOS-XR-snmp-agent-cfg

module with configuration data.

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 Ntp

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

	// Set maximum number of associations. The type is interface{} with range:
	// 0..4294967295.
	MaxAssociations interface{}

	// Act as NTP master clock. The type is interface{} with range: 1..15. The
	// default value is 8.
	Master interface{}

	// Estimated round-trip delay. The type is interface{} with range: 1..999999.
	BroadcastDelay interface{}

	// To enable logging internal sync conflicts. The type is interface{}.
	LogInternalSync interface{}

	// To enable calendar update with NTP time. The type is interface{}.
	UpdateCalendar interface{}

	// Configure NTP server admin-plane.
	AdminTypes Ntp_AdminTypes

	// Configures NTP Peers or Servers.
	PeerVrfs Ntp_PeerVrfs

	// Set IP DSCP value for outgoing NTP IPV4 packets.
	DscpIpv4 Ntp_DscpIpv4

	// Set IP DSCP value for outgoing NTP IPV6 packets.
	DscpIpv6 Ntp_DscpIpv6

	// Configure  NTP source interface.
	Sources Ntp_Sources

	// NTP drift.
	Drift Ntp_Drift

	// Configure NTP Authentication keys.
	Authentication Ntp_Authentication

	// Configure NTP passive associations.
	Passive Ntp_Passive

	// NTP per interface configuration.
	InterfaceTables Ntp_InterfaceTables

	// Control NTP access.
	AccessGroupTables Ntp_AccessGroupTables
}

Ntp NTP configuration

func (*Ntp) GetEntityData

func (ntp *Ntp) GetEntityData() *types.CommonEntityData

type NtpAccess

type NtpAccess string

NtpAccess represents Ntp access

const (
	// Peer
	NtpAccess_peer NtpAccess = "peer"

	// Serve
	NtpAccess_serve NtpAccess = "serve"

	// Serve Only
	NtpAccess_serve_only NtpAccess = "serve-only"

	// Query Only
	NtpAccess_query_only NtpAccess = "query-only"
)

type NtpAccessAf

type NtpAccessAf string

NtpAccessAf represents Ntp access af

const (
	// IPv4
	NtpAccessAf_ipv4 NtpAccessAf = "ipv4"

	// IPv6
	NtpAccessAf_ipv6 NtpAccessAf = "ipv6"
)

type NtpPeer

type NtpPeer string

NtpPeer represents Ntp peer

const (
	// Peer
	NtpPeer_peer NtpPeer = "peer"

	// Server
	NtpPeer_server NtpPeer = "server"
)

type Ntp_AccessGroupTables

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

	// Control NTP access. The type is slice of
	// Ntp_AccessGroupTables_AccessGroupTable.
	AccessGroupTable []*Ntp_AccessGroupTables_AccessGroupTable
}

Ntp_AccessGroupTables Control NTP access

func (*Ntp_AccessGroupTables) GetEntityData

func (accessGroupTables *Ntp_AccessGroupTables) GetEntityData() *types.CommonEntityData

type Ntp_AccessGroupTables_AccessGroupTable

type Ntp_AccessGroupTables_AccessGroupTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. VRF name. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	VrfName interface{}

	// Configure NTP access address family. The type is slice of
	// Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable.
	AccessGroupAfTable []*Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable
}

Ntp_AccessGroupTables_AccessGroupTable Control NTP access

func (*Ntp_AccessGroupTables_AccessGroupTable) GetEntityData

func (accessGroupTable *Ntp_AccessGroupTables_AccessGroupTable) GetEntityData() *types.CommonEntityData

type Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable

type Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Address family. The type is NtpAccessAf.
	Af interface{}

	// Configure NTP access group. The type is slice of
	// Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable_AccessGroup.
	AccessGroup []*Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable_AccessGroup
}

Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable Configure NTP access address family

func (*Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable) GetEntityData

type Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable_AccessGroup

type Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable_AccessGroup struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Access group type. The type is NtpAccess.
	AccessGroupType interface{}

	// Access list name - maximum 32 characters. The type is string. This
	// attribute is mandatory.
	AccessListName interface{}
}

Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable_AccessGroup Configure NTP access group

func (*Ntp_AccessGroupTables_AccessGroupTable_AccessGroupAfTable_AccessGroup) GetEntityData

type Ntp_AdminTypes

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

	// Configure NTP server admin plane. The type is slice of
	// Ntp_AdminTypes_AdminType.
	AdminType []*Ntp_AdminTypes_AdminType
}

Ntp_AdminTypes Configure NTP server admin-plane

func (*Ntp_AdminTypes) GetEntityData

func (adminTypes *Ntp_AdminTypes) GetEntityData() *types.CommonEntityData

type Ntp_AdminTypes_AdminType

type Ntp_AdminTypes_AdminType struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Peer or Server. The type is NtpPeer.
	PeerType interface{}

	// NTP version. The type is interface{} with range: 2..4.
	NtpVersion interface{}

	// Authentication Key. The type is interface{} with range: 1..65535.
	AuthenticationKey interface{}

	// Minimum poll interval. The type is interface{} with range: 4..17.
	MinPoll interface{}

	// Maxinum poll interval. The type is interface{} with range: 4..17.
	MaxPoll interface{}

	// Preferred peer. The type is interface{}.
	PreferredPeer interface{}

	// Use burst mode. The type is interface{}.
	Burst interface{}

	// Use iburst mode. The type is interface{}.
	Iburst interface{}
}

Ntp_AdminTypes_AdminType Configure NTP server admin plane

func (*Ntp_AdminTypes_AdminType) GetEntityData

func (adminType *Ntp_AdminTypes_AdminType) GetEntityData() *types.CommonEntityData

type Ntp_Authentication

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

	// Enable NTP authentication keys. The type is interface{}.
	Enable interface{}

	// Authentication Key Table.
	Keys Ntp_Authentication_Keys

	// Key numbers for trusted time sources.
	TrustedKeys Ntp_Authentication_TrustedKeys
}

Ntp_Authentication Configure NTP Authentication keys

func (*Ntp_Authentication) GetEntityData

func (authentication *Ntp_Authentication) GetEntityData() *types.CommonEntityData

type Ntp_Authentication_Keys

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

	// Authentication key for trusted time sources. The type is slice of
	// Ntp_Authentication_Keys_Key.
	Key []*Ntp_Authentication_Keys_Key
}

Ntp_Authentication_Keys Authentication Key Table

func (*Ntp_Authentication_Keys) GetEntityData

func (keys *Ntp_Authentication_Keys) GetEntityData() *types.CommonEntityData

type Ntp_Authentication_Keys_Key

type Ntp_Authentication_Keys_Key struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Authentication Key number. The type is interface{}
	// with range: 1..65535.
	KeyNumber interface{}

	// Authentication key - maximum 32 characters. The type is string. This
	// attribute is mandatory.
	AuthenticationKey interface{}
}

Ntp_Authentication_Keys_Key Authentication key for trusted time sources

func (*Ntp_Authentication_Keys_Key) GetEntityData

func (key *Ntp_Authentication_Keys_Key) GetEntityData() *types.CommonEntityData

type Ntp_Authentication_TrustedKeys

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

	// Configure NTP trusted key. The type is slice of
	// Ntp_Authentication_TrustedKeys_TrustedKey.
	TrustedKey []*Ntp_Authentication_TrustedKeys_TrustedKey
}

Ntp_Authentication_TrustedKeys Key numbers for trusted time sources

func (*Ntp_Authentication_TrustedKeys) GetEntityData

func (trustedKeys *Ntp_Authentication_TrustedKeys) GetEntityData() *types.CommonEntityData

type Ntp_Authentication_TrustedKeys_TrustedKey

type Ntp_Authentication_TrustedKeys_TrustedKey struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Key number. The type is interface{} with range:
	// 1..65535.
	KeyNumber interface{}
}

Ntp_Authentication_TrustedKeys_TrustedKey Configure NTP trusted key

func (*Ntp_Authentication_TrustedKeys_TrustedKey) GetEntityData

type Ntp_Drift

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

	// Drift Aging Time. The type is interface{} with range: 0..65535.
	AgingTime interface{}

	// File containing drift value.
	File Ntp_Drift_File
}

Ntp_Drift NTP drift

func (*Ntp_Drift) GetEntityData

func (drift *Ntp_Drift) GetEntityData() *types.CommonEntityData

type Ntp_Drift_File

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

	// disk0 or apphost or config or ftp or harddisk or rootfs or tftp. Defaults
	// to PWD if none specified. The type is string. The default value is PWD.
	Location interface{}

	// File containing drift value. The type is string.
	Filename interface{}
}

Ntp_Drift_File File containing drift value

func (*Ntp_Drift_File) GetEntityData

func (file *Ntp_Drift_File) GetEntityData() *types.CommonEntityData

type Ntp_DscpIpv4

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

	// NTPPRECEDENCE (0) to specify Precedence value NTPDSCP (1) to specify DSCP
	// value. The type is Ntpdscp. This attribute is mandatory.
	Mode interface{}

	// If Mode is set to 'NTPPRECEDENCE(0)' specify Precedence value , if Mode is
	// set to 'NTPDSCP(1)' specify DSCP. The type is interface{} with range:
	// 0..63. This attribute is mandatory.
	DscpOrPrecedenceValue interface{}
}

Ntp_DscpIpv4

Set IP DSCP value for outgoing NTP IPV4 packets

This type is a presence type.

func (*Ntp_DscpIpv4) GetEntityData

func (dscpIpv4 *Ntp_DscpIpv4) GetEntityData() *types.CommonEntityData

type Ntp_DscpIpv6

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

	// NTPPRECEDENCE(0) to specify Precedence value NTPDSCP(1) to specify DSCP
	// value. The type is Ntpdscp. This attribute is mandatory.
	Mode interface{}

	// If Mode is set to 'NTPPRECEDENCE(0)' specify Precedence value , if Mode is
	// set to 'NTPDSCP(1)' specify DSCP. The type is interface{} with range:
	// 0..63. This attribute is mandatory.
	DscpOrPrecedenceValue interface{}
}

Ntp_DscpIpv6

Set IP DSCP value for outgoing NTP IPV6 packets

This type is a presence type.

func (*Ntp_DscpIpv6) GetEntityData

func (dscpIpv6 *Ntp_DscpIpv6) GetEntityData() *types.CommonEntityData

type Ntp_InterfaceTables

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

	// NTP per interface configuration. The type is slice of
	// Ntp_InterfaceTables_InterfaceTable.
	InterfaceTable []*Ntp_InterfaceTables_InterfaceTable
}

Ntp_InterfaceTables NTP per interface configuration

func (*Ntp_InterfaceTables) GetEntityData

func (interfaceTables *Ntp_InterfaceTables) GetEntityData() *types.CommonEntityData

type Ntp_InterfaceTables_InterfaceTable

type Ntp_InterfaceTables_InterfaceTable struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. VRF name. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	VrfName interface{}

	// Name of the interface. The type is slice of
	// Ntp_InterfaceTables_InterfaceTable_Interface.
	Interface []*Ntp_InterfaceTables_InterfaceTable_Interface
}

Ntp_InterfaceTables_InterfaceTable NTP per interface configuration

func (*Ntp_InterfaceTables_InterfaceTable) GetEntityData

func (interfaceTable *Ntp_InterfaceTables_InterfaceTable) GetEntityData() *types.CommonEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface

type Ntp_InterfaceTables_InterfaceTable_Interface struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. interface. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	Interface interface{}

	// Disable NTP. The type is interface{}.
	Disable interface{}

	// Configure NTP multicast service.
	InterfaceMulticast Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast

	// Configure NTP broadcast service.
	InterfaceBroadcast Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast
}

Ntp_InterfaceTables_InterfaceTable_Interface Name of the interface

func (*Ntp_InterfaceTables_InterfaceTable_Interface) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast

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

	// Listen to NTP broadcasts. The type is interface{}.
	BroadcastClient interface{}

	// Configure NTP broadcast.
	BroadcastServers Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast Configure NTP broadcast service

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers

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

	// Configure NTP broadcast server. The type is slice of
	// Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers_BroadcastServer.
	BroadcastServer []*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers_BroadcastServer
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers Configure NTP broadcast

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers_BroadcastServer

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers_BroadcastServer struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Broadcast Type. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	BroadcastType interface{}

	// Destination broadcast IPv4 address. The type is string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	Address interface{}

	// Authentication key. The type is interface{} with range: 1..65535.
	AuthenticationKey interface{}

	// NTP version. The type is interface{} with range: 2..4.
	NtpVersion interface{}
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers_BroadcastServer Configure NTP broadcast server

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceBroadcast_BroadcastServers_BroadcastServer) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast

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

	// Configures multicast client peers.
	MulticastClients Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients

	// Configures multicast server peers.
	MulticastServers Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast Configure NTP multicast service

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients

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

	// Listen to NTP multicasts. The type is slice of
	// Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients_MulticastClient.
	MulticastClient []*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients_MulticastClient
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients Configures multicast client peers

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients_MulticastClient

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients_MulticastClient struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. IP address of a multicast group. The type is one
	// of the following types: string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?,
	// or string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	IpAddress interface{}
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients_MulticastClient Listen to NTP multicasts

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastClients_MulticastClient) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers

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

	// Configure NTP multicast group server peer. The type is slice of
	// Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers_MulticastServer.
	MulticastServer []*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers_MulticastServer
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers Configures multicast server peers

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers) GetEntityData

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers_MulticastServer

type Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers_MulticastServer struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. IP address of a multicast group. The type is one
	// of the following types: string with pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?,
	// or string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	IpAddress interface{}

	// Authentication key. The type is interface{} with range: 1..65535.
	AuthenticationKey interface{}

	// NTP version. The type is interface{} with range: 2..4.
	Version interface{}

	// TTL. The type is interface{} with range: 1..255.
	Ttl interface{}
}

Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers_MulticastServer Configure NTP multicast group server peer

func (*Ntp_InterfaceTables_InterfaceTable_Interface_InterfaceMulticast_MulticastServers_MulticastServer) GetEntityData

type Ntp_Passive

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

	// Enable NTP Passive associations. The type is interface{}.
	Enable interface{}
}

Ntp_Passive Configure NTP passive associations

func (*Ntp_Passive) GetEntityData

func (passive *Ntp_Passive) GetEntityData() *types.CommonEntityData

type Ntp_PeerVrfs

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

	// Configures NTP Peers or Servers for a single VRF. The 'default' must also
	// be specified for default VRF. The type is slice of Ntp_PeerVrfs_PeerVrf.
	PeerVrf []*Ntp_PeerVrfs_PeerVrf
}

Ntp_PeerVrfs Configures NTP Peers or Servers

func (*Ntp_PeerVrfs) GetEntityData

func (peerVrfs *Ntp_PeerVrfs) GetEntityData() *types.CommonEntityData

type Ntp_PeerVrfs_PeerVrf

type Ntp_PeerVrfs_PeerVrf struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. VRF name. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	VrfName interface{}

	// Configures IPv4 NTP Peers or Servers.
	PeerIpv4s Ntp_PeerVrfs_PeerVrf_PeerIpv4s

	// Configuration NTP Peers or Servers of IPV6.
	PeerIpv6s Ntp_PeerVrfs_PeerVrf_PeerIpv6s
}

Ntp_PeerVrfs_PeerVrf Configures NTP Peers or Servers for a single VRF. The 'default' must also be specified for default VRF

func (*Ntp_PeerVrfs_PeerVrf) GetEntityData

func (peerVrf *Ntp_PeerVrfs_PeerVrf) GetEntityData() *types.CommonEntityData

type Ntp_PeerVrfs_PeerVrf_PeerIpv4s

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

	// Configure an IPv4 NTP server or peer. The type is slice of
	// Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4.
	PeerIpv4 []*Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4
}

Ntp_PeerVrfs_PeerVrf_PeerIpv4s Configures IPv4 NTP Peers or Servers

func (*Ntp_PeerVrfs_PeerVrf_PeerIpv4s) GetEntityData

func (peerIpv4s *Ntp_PeerVrfs_PeerVrf_PeerIpv4s) GetEntityData() *types.CommonEntityData

type Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4

type Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. IPv4 Address of a peer. The type is string with
	// pattern:
	// (([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(%[\p{N}\p{L}]+)?.
	AddressIpv4 interface{}

	// Configure an IPv4 NTP server or peer. The type is slice of
	// Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4_PeerTypeIpv4.
	PeerTypeIpv4 []*Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4_PeerTypeIpv4
}

Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4 Configure an IPv4 NTP server or peer

func (*Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4) GetEntityData

type Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4_PeerTypeIpv4

type Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4_PeerTypeIpv4 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Peer or Server. The type is NtpPeer.
	PeerType interface{}

	// NTP version. The type is interface{} with range: 2..4.
	NtpVersion interface{}

	// Authentication Key. The type is interface{} with range: 1..65535.
	AuthenticationKey interface{}

	// Minimum poll interval. The type is interface{} with range: 4..17.
	MinPoll interface{}

	// Maxinum poll interval. The type is interface{} with range: 4..17.
	MaxPoll interface{}

	// Preferred peer. The type is interface{}.
	PreferredPeer interface{}

	// Source interface of this peer. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Use burst mode. The type is interface{}.
	Burst interface{}

	// Use iburst mode. The type is interface{}.
	Iburst interface{}
}

Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4_PeerTypeIpv4 Configure an IPv4 NTP server or peer

func (*Ntp_PeerVrfs_PeerVrf_PeerIpv4s_PeerIpv4_PeerTypeIpv4) GetEntityData

type Ntp_PeerVrfs_PeerVrf_PeerIpv6s

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

	// Configure a NTP server or peer. The type is slice of
	// Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6.
	PeerIpv6 []*Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6
}

Ntp_PeerVrfs_PeerVrf_PeerIpv6s Configuration NTP Peers or Servers of IPV6

func (*Ntp_PeerVrfs_PeerVrf_PeerIpv6s) GetEntityData

func (peerIpv6s *Ntp_PeerVrfs_PeerVrf_PeerIpv6s) GetEntityData() *types.CommonEntityData

type Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6

type Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Address of a peer. The type is string with
	// pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	AddressIpv6 interface{}

	// Configure a NTP server or peer. The type is slice of
	// Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6_PeerTypeIpv6.
	PeerTypeIpv6 []*Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6_PeerTypeIpv6
}

Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6 Configure a NTP server or peer

func (*Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6) GetEntityData

type Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6_PeerTypeIpv6

type Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6_PeerTypeIpv6 struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Peer or Server. The type is NtpPeer.
	PeerType interface{}

	// NTP version. The type is interface{} with range: 2..4.
	NtpVersion interface{}

	// Authentication Key. The type is interface{} with range: 1..65535.
	AuthenticationKey interface{}

	// Minimum poll interval. The type is interface{} with range: 4..17.
	MinPoll interface{}

	// Maxinum poll interval. The type is interface{} with range: 4..17.
	MaxPoll interface{}

	// Preferred peer. The type is interface{}.
	PreferredPeer interface{}

	// Source interface of this peer. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Use burst mode. The type is interface{}.
	Burst interface{}

	// Use iburst mode. The type is interface{}.
	Iburst interface{}

	// IPv6 address. The type is string with pattern:
	// ((:|[0-9a-fA-F]{0,4}):)([0-9a-fA-F]{0,4}:){0,5}((([0-9a-fA-F]{0,4}:)?(:|[0-9a-fA-F]{0,4}))|(((25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9]?[0-9])))(%[\p{N}\p{L}]+)?.
	AddressIpv6 interface{}
}

Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6_PeerTypeIpv6 Configure a NTP server or peer

func (*Ntp_PeerVrfs_PeerVrf_PeerIpv6s_PeerIpv6_PeerTypeIpv6) GetEntityData

type Ntp_Sources

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

	// Configure  NTP source interface. The type is slice of Ntp_Sources_Source.
	Source []*Ntp_Sources_Source
}

Ntp_Sources Configure NTP source interface

func (*Ntp_Sources) GetEntityData

func (sources *Ntp_Sources) GetEntityData() *types.CommonEntityData

type Ntp_Sources_Source

type Ntp_Sources_Source struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. VRF name. The type is string with pattern:
	// [\w\-\.:,_@#%$\+=\|;]+.
	VrfName interface{}

	// Source Interface for NTP. The type is string with pattern:
	// [a-zA-Z0-9._/-]+. This attribute is mandatory.
	SourceInterface interface{}
}

Ntp_Sources_Source Configure NTP source interface

func (*Ntp_Sources_Source) GetEntityData

func (source *Ntp_Sources_Source) GetEntityData() *types.CommonEntityData

type Ntpdscp

type Ntpdscp string

Ntpdscp represents Ntpdscp

const (
	// Precedence Value
	Ntpdscp_ntp_precedence Ntpdscp = "ntp-precedence"

	// DSCP Value
	Ntpdscp_ntpdscp Ntpdscp = "ntpdscp"
)

Jump to

Keyboard shortcuts

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