telemetry_model_driven_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 telemetry-model-driven package configuration.

This module contains definitions for the following management objects:

telemetry-model-driven: Model Driven Telemetry configuration

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 EncodeType

type EncodeType string

EncodeType represents Encode type

const (
	// GPB
	EncodeType_gpb EncodeType = "gpb"

	// SELF DESCRIBING GPB
	EncodeType_self_describing_gpb EncodeType = "self-describing-gpb"

	// JSON
	EncodeType_json EncodeType = "json"
)

type MdtDscpValue

type MdtDscpValue string

MdtDscpValue represents Mdt dscp value

const (
	// Applicable to DSCP: bits 000000
	MdtDscpValue_default_ MdtDscpValue = "default"

	// Applicable to DSCP: bits 001000
	MdtDscpValue_cs1 MdtDscpValue = "cs1"

	// Applicable to DSCP: bits 001010
	MdtDscpValue_af11 MdtDscpValue = "af11"

	// Applicable to DSCP: bits 001100
	MdtDscpValue_af12 MdtDscpValue = "af12"

	// Applicable to DSCP: bits 001110
	MdtDscpValue_af13 MdtDscpValue = "af13"

	// Applicable to DSCP: bits 010000
	MdtDscpValue_cs2 MdtDscpValue = "cs2"

	// Applicable to DSCP: bits 010010
	MdtDscpValue_af21 MdtDscpValue = "af21"

	// Applicable to DSCP: bits 010100
	MdtDscpValue_af22 MdtDscpValue = "af22"

	// Applicable to DSCP: bits 010110
	MdtDscpValue_af23 MdtDscpValue = "af23"

	// Applicable to DSCP: bits 011000
	MdtDscpValue_cs3 MdtDscpValue = "cs3"

	// Applicable to DSCP: bits 011010
	MdtDscpValue_af31 MdtDscpValue = "af31"

	// Applicable to DSCP: bits 011100
	MdtDscpValue_af32 MdtDscpValue = "af32"

	// Applicable to DSCP: bits 011110
	MdtDscpValue_af33 MdtDscpValue = "af33"

	// Applicable to DSCP: bits 100000
	MdtDscpValue_cs4 MdtDscpValue = "cs4"

	// Applicable to DSCP: bits 100010
	MdtDscpValue_af41 MdtDscpValue = "af41"

	// Applicable to DSCP: bits 100100
	MdtDscpValue_af42 MdtDscpValue = "af42"

	// Applicable to DSCP: bits 100110
	MdtDscpValue_af43 MdtDscpValue = "af43"

	// Applicable to DSCP: bits 101000
	MdtDscpValue_cs5 MdtDscpValue = "cs5"

	// Applicable to DSCP: bits 101110
	MdtDscpValue_ef MdtDscpValue = "ef"

	// Applicable to DSCP: bits 110000
	MdtDscpValue_cs6 MdtDscpValue = "cs6"

	// Applicable to DSCP: bits 111000
	MdtDscpValue_cs7 MdtDscpValue = "cs7"
)

type ProtoType

type ProtoType string

ProtoType represents Proto type

const (
	// GRPC
	ProtoType_grpc ProtoType = "grpc"

	// tcp
	ProtoType_tcp ProtoType = "tcp"

	// udp
	ProtoType_udp ProtoType = "udp"
)

type TelemetryModelDriven

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

	// enable strict-timer for all subscriptions, default is relative timer. The
	// type is interface{}.
	StrictTimer interface{}

	// Enable Model Driven Telemetry. The type is interface{}.
	Enable interface{}

	// Maximum allowed sensor paths, default: 1000. The type is interface{} with
	// range: 0..4000.
	MaxSensorPaths interface{}

	// Maximum containers allowed per path, 0 disables the check. The type is
	// interface{} with range: 0..1024.
	MaxContainersPerPath interface{}

	// TCP send timeout value, default:30 sec,0 will disable the timeout. The type
	// is interface{} with range: 0..30.
	TcpSendTimeout interface{}

	// Sensor group configuration.
	SensorGroups TelemetryModelDriven_SensorGroups

	// Streaming Telemetry Subscription.
	Subscriptions TelemetryModelDriven_Subscriptions

	// Include fields with empty values in output.
	Include TelemetryModelDriven_Include

	// Destination Group configuration.
	DestinationGroups TelemetryModelDriven_DestinationGroups
}

TelemetryModelDriven Model Driven Telemetry configuration

func (*TelemetryModelDriven) GetEntityData

func (telemetryModelDriven *TelemetryModelDriven) GetEntityData() *types.CommonEntityData

type TelemetryModelDriven_DestinationGroups

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

	// Destination Group. The type is slice of
	// TelemetryModelDriven_DestinationGroups_DestinationGroup.
	DestinationGroup []*TelemetryModelDriven_DestinationGroups_DestinationGroup
}

TelemetryModelDriven_DestinationGroups Destination Group configuration

func (*TelemetryModelDriven_DestinationGroups) GetEntityData

func (destinationGroups *TelemetryModelDriven_DestinationGroups) GetEntityData() *types.CommonEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup

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

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

	// Vrf for the destination group. The type is string with length: 1..32.
	Vrf interface{}

	// Destination address configuration.
	Ipv6Destinations TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations

	// Destination address configuration.
	Ipv4Destinations TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations
}

TelemetryModelDriven_DestinationGroups_DestinationGroup Destination Group

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup) GetEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations

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

	// destination IP address. The type is slice of
	// TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination.
	Ipv4Destination []*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination
}

TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations Destination address configuration

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations) GetEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination

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

	// This attribute is a key. Destination 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}]+)?.
	Ipv4Address interface{}

	// This attribute is a key. destination port. The type is interface{} with
	// range: 1..65535.
	DestinationPort interface{}

	// Encoding used to transmit telemetry data to the collector. The type is
	// EncodeType.
	Encoding interface{}

	// Transport Protocol used to transmit telemetry data to the collector.
	Protocol TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination_Protocol
}

TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination destination IP address

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination) GetEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination_Protocol

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

	// protocol. The type is ProtoType. This attribute is mandatory.
	Protocol interface{}

	// tls hostname. The type is string.
	TlsHostname interface{}

	// no tls. The type is interface{} with range: 0..4294967295. The default
	// value is 0.
	NoTls interface{}

	// udp packetsize. The type is interface{} with range: 484..65507. The default
	// value is 1472.
	Packetsize interface{}
}

TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination_Protocol Transport Protocol used to transmit telemetry data to the collector This type is a presence type.

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv4Destinations_Ipv4Destination_Protocol) GetEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations

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

	// destination IP address. The type is slice of
	// TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination.
	Ipv6Destination []*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination
}

TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations Destination address configuration

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations) GetEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination

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

	// This attribute is a key. Destination 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}]+)?.
	Ipv6Address interface{}

	// This attribute is a key. destination port. The type is interface{} with
	// range: 1..65535.
	DestinationPort interface{}

	// Encoding used to transmit telemetry data to the collector. The type is
	// EncodeType.
	Encoding interface{}

	// Transport Protocol used to transmit telemetry data to the collector.
	Protocol TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination_Protocol
}

TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination destination IP address

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination) GetEntityData

type TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination_Protocol

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

	// protocol. The type is ProtoType. This attribute is mandatory.
	Protocol interface{}

	// tls hostname. The type is string.
	TlsHostname interface{}

	// no tls. The type is interface{} with range: 0..4294967295. The default
	// value is 0.
	NoTls interface{}

	// udp packetsize. The type is interface{} with range: 484..65507. The default
	// value is 1472.
	Packetsize interface{}
}

TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination_Protocol Transport Protocol used to transmit telemetry data to the collector This type is a presence type.

func (*TelemetryModelDriven_DestinationGroups_DestinationGroup_Ipv6Destinations_Ipv6Destination_Protocol) GetEntityData

type TelemetryModelDriven_Include

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

	// Include fields with empty values in output.
	Empty TelemetryModelDriven_Include_Empty
}

TelemetryModelDriven_Include Include fields with empty values in output.

func (*TelemetryModelDriven_Include) GetEntityData

func (include *TelemetryModelDriven_Include) GetEntityData() *types.CommonEntityData

type TelemetryModelDriven_Include_Empty

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

	// String type fields with empty string value, for example, are omitted by
	// default. This provides an option to override this behavior and include them
	// in the output. The type is interface{}.
	Values interface{}
}

TelemetryModelDriven_Include_Empty Include fields with empty values in output.

func (*TelemetryModelDriven_Include_Empty) GetEntityData

type TelemetryModelDriven_SensorGroups

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

	// Sensor group configuration. The type is slice of
	// TelemetryModelDriven_SensorGroups_SensorGroup.
	SensorGroup []*TelemetryModelDriven_SensorGroups_SensorGroup
}

TelemetryModelDriven_SensorGroups Sensor group configuration

func (*TelemetryModelDriven_SensorGroups) GetEntityData

func (sensorGroups *TelemetryModelDriven_SensorGroups) GetEntityData() *types.CommonEntityData

type TelemetryModelDriven_SensorGroups_SensorGroup

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

	// This attribute is a key. The identifier for this group. The type is string
	// with pattern: [\w\-\.:,_@#%$\+=\|;]+.
	SensorGroupIdentifier interface{}

	// Sensor path configuration.
	SensorPaths TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths
}

TelemetryModelDriven_SensorGroups_SensorGroup Sensor group configuration

func (*TelemetryModelDriven_SensorGroups_SensorGroup) GetEntityData

type TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths

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

	// Sensor path configuration. The type is slice of
	// TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths_SensorPath.
	SensorPath []*TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths_SensorPath
}

TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths Sensor path configuration

func (*TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths) GetEntityData

type TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths_SensorPath

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

	// This attribute is a key. Sensor Path. The type is string.
	TelemetrySensorPath interface{}
}

TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths_SensorPath Sensor path configuration

func (*TelemetryModelDriven_SensorGroups_SensorGroup_SensorPaths_SensorPath) GetEntityData

type TelemetryModelDriven_Subscriptions

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

	// Streaming Telemetry Subscription. The type is slice of
	// TelemetryModelDriven_Subscriptions_Subscription.
	Subscription []*TelemetryModelDriven_Subscriptions_Subscription
}

TelemetryModelDriven_Subscriptions Streaming Telemetry Subscription

func (*TelemetryModelDriven_Subscriptions) GetEntityData

func (subscriptions *TelemetryModelDriven_Subscriptions) GetEntityData() *types.CommonEntityData

type TelemetryModelDriven_Subscriptions_Subscription

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

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

	// Outgoing DSCP value. The type is MdtDscpValue.
	SourceQosMarking interface{}

	// Source address to use for streaming telemetry information. The type is
	// string with pattern: [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Associate Sensor Groups with Subscription.
	SensorProfiles TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles

	// Associate Destination Groups with Subscription.
	DestinationProfiles TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles
}

TelemetryModelDriven_Subscriptions_Subscription Streaming Telemetry Subscription

func (*TelemetryModelDriven_Subscriptions_Subscription) GetEntityData

type TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles

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

	// Associate Destination Group with Subscription. The type is slice of
	// TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles_DestinationProfile.
	DestinationProfile []*TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles_DestinationProfile
}

TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles Associate Destination Groups with Subscription

func (*TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles) GetEntityData

type TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles_DestinationProfile

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

	// This attribute is a key. Destination Id to associate with Subscription. The
	// type is string with pattern: [\w\-\.:,_@#%$\+=\|;]+.
	DestinationId interface{}
}

TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles_DestinationProfile Associate Destination Group with Subscription

func (*TelemetryModelDriven_Subscriptions_Subscription_DestinationProfiles_DestinationProfile) GetEntityData

type TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles

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

	// Associate Sensor Group with Subscription. The type is slice of
	// TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles_SensorProfile.
	SensorProfile []*TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles_SensorProfile
}

TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles Associate Sensor Groups with Subscription

func (*TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles) GetEntityData

type TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles_SensorProfile

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

	// This attribute is a key. Reference to the telemetry sensor group name. The
	// type is string with pattern: [\w\-\.:,_@#%$\+=\|;]+.
	Sensorgroupid interface{}

	// use strict timer. The type is interface{}.
	StrictTimer interface{}

	// Sample interval in milliseconds. The type is interface{} with range:
	// 0..4294967295. This attribute is mandatory. Units are millisecond.
	SampleInterval interface{}
}

TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles_SensorProfile Associate Sensor Group with Subscription

func (*TelemetryModelDriven_Subscriptions_Subscription_SensorProfiles_SensorProfile) GetEntityData

Jump to

Keyboard shortcuts

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