traffmon_netflow_cfg

package
v0.0.0-...-fac1166 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

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

This module contains definitions for the following management objects:

net-flow: NetFlow Configuration

This YANG module augments the

Cisco-IOS-XR-ifmgr-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 NetFlow

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

	// Configure a flow exporter map.
	FlowExporterMaps NetFlow_FlowExporterMaps

	// Flow sampler map configuration.
	FlowSamplerMaps NetFlow_FlowSamplerMaps

	// Flow monitor map configuration.
	FlowMonitorMapTable NetFlow_FlowMonitorMapTable

	// Configure a performance traffic flow monitor map.
	FlowMonitorMapPerformanceTable NetFlow_FlowMonitorMapPerformanceTable
}

NetFlow NetFlow Configuration

func (*NetFlow) GetEntityData

func (netFlow *NetFlow) GetEntityData() *types.CommonEntityData

type NetFlow_FlowExporterMaps

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

	// Exporter map name. The type is slice of
	// NetFlow_FlowExporterMaps_FlowExporterMap.
	FlowExporterMap []*NetFlow_FlowExporterMaps_FlowExporterMap
}

NetFlow_FlowExporterMaps Configure a flow exporter map

func (*NetFlow_FlowExporterMaps) GetEntityData

func (flowExporterMaps *NetFlow_FlowExporterMaps) GetEntityData() *types.CommonEntityData

type NetFlow_FlowExporterMaps_FlowExporterMap

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

	// This attribute is a key. Exporter map name. The type is string with length:
	// 1..32.
	ExporterMapName interface{}

	// Configure source interface for collector. The type is string with pattern:
	// [a-zA-Z0-9._/-]+.
	SourceInterface interface{}

	// Specify DSCP value for export packets. The type is interface{} with range:
	// 0..63.
	Dscp interface{}

	// Configure Maximum Value for Export Packet size. The type is interface{}
	// with range: 512..1468.
	PacketLength interface{}

	// Use UDP as transport protocol.
	Udp NetFlow_FlowExporterMaps_FlowExporterMap_Udp

	// Configure export destination (collector).
	Destination NetFlow_FlowExporterMaps_FlowExporterMap_Destination

	// Specify export version parameters.
	Version NetFlow_FlowExporterMaps_FlowExporterMap_Version
}

NetFlow_FlowExporterMaps_FlowExporterMap Exporter map name

func (*NetFlow_FlowExporterMaps_FlowExporterMap) GetEntityData

func (flowExporterMap *NetFlow_FlowExporterMaps_FlowExporterMap) GetEntityData() *types.CommonEntityData

type NetFlow_FlowExporterMaps_FlowExporterMap_Destination

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

	// 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}]+)?.
	IpAddress interface{}

	// IPV6 address of the tunnel destination. The type is string.
	Ipv6Address interface{}

	// VRF name. The type is string.
	VrfName interface{}
}

NetFlow_FlowExporterMaps_FlowExporterMap_Destination Configure export destination (collector)

func (*NetFlow_FlowExporterMaps_FlowExporterMap_Destination) GetEntityData

type NetFlow_FlowExporterMaps_FlowExporterMap_Udp

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

	// Configure Destination UDP port. The type is interface{} with range:
	// 1024..65535.
	DestinationPort interface{}
}

NetFlow_FlowExporterMaps_FlowExporterMap_Udp Use UDP as transport protocol

func (*NetFlow_FlowExporterMaps_FlowExporterMap_Udp) GetEntityData

type NetFlow_FlowExporterMaps_FlowExporterMap_Version

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

	// Export version number. The type is interface{} with range: 9..10.
	VersionType interface{}

	// Option template configuration options. The type is interface{} with range:
	// 1..604800. Units are second. The default value is 1800.
	OptionsTemplateTimeout interface{}

	// Specify custom timeout for the template. The type is interface{} with
	// range: 1..604800. Units are second. The default value is 1800.
	CommonTemplateTimeout interface{}

	// Data template configuration options. The type is interface{} with range:
	// 1..604800. Units are second. The default value is 1800.
	DataTemplateTimeout interface{}

	// Specify options for exporting templates.
	Options NetFlow_FlowExporterMaps_FlowExporterMap_Version_Options
}

NetFlow_FlowExporterMaps_FlowExporterMap_Version Specify export version parameters

func (*NetFlow_FlowExporterMaps_FlowExporterMap_Version) GetEntityData

type NetFlow_FlowExporterMaps_FlowExporterMap_Version_Options

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

	// Specify timeout for exporting interface table. The type is interface{} with
	// range: 0..604800. Units are second.
	InterfaceTableExportTimeout interface{}

	// Specify timeout for exporting sampler table. The type is interface{} with
	// range: 0..604800. Units are second.
	SamplerTableExportTimeout interface{}

	// Specify timeout for exporting vrf table. The type is interface{} with
	// range: 0..604800. Units are second.
	VrfTableExportTimeout interface{}
}

NetFlow_FlowExporterMaps_FlowExporterMap_Version_Options Specify options for exporting templates

func (*NetFlow_FlowExporterMaps_FlowExporterMap_Version_Options) GetEntityData

type NetFlow_FlowMonitorMapPerformanceTable

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

	// Monitor map name. The type is slice of
	// NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap.
	FlowMonitorMap []*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap
}

NetFlow_FlowMonitorMapPerformanceTable Configure a performance traffic flow monitor map

func (*NetFlow_FlowMonitorMapPerformanceTable) GetEntityData

func (flowMonitorMapPerformanceTable *NetFlow_FlowMonitorMapPerformanceTable) GetEntityData() *types.CommonEntityData

type NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap

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

	// This attribute is a key. Monitor map name. The type is string with length:
	// 1..32.
	MonitorMapName interface{}

	// Specify the update flow cache aging timeout. The type is interface{} with
	// range: 1..604800. Units are second. The default value is 1800.
	CacheUpdateAgingTimeout interface{}

	// Specify the number of entries in the flow cache. The type is interface{}
	// with range: 4096..1000000. The default value is 65535.
	CacheEntries interface{}

	// Specify the inactive flow cache aging timeout. The type is interface{} with
	// range: 0..604800. Units are second. The default value is 15.
	CacheInactiveAgingTimeout interface{}

	// Specify the active flow cache aging timeout. The type is interface{} with
	// range: 1..604800. Units are second. The default value is 1800.
	CacheActiveAgingTimeout interface{}

	// Specify the maximum number of entries to age each second. The type is
	// interface{} with range: 1..1000000. The default value is 2000.
	CacheTimeoutRateLimit interface{}

	// Specify the flow cache aging mode. The type is NfCacheAgingMode. The
	// default value is normal.
	CacheAgingMode interface{}

	// Specify an option for the flow cache.
	Option NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Option

	// Configure exporters to be used by the monitor-map.
	Exporters NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters

	// Specify a flow record format.
	Record NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Record
}

NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap Monitor map name

func (*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap) GetEntityData

type NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters

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

	// Configure exporter to be used by the monitor-map. The type is slice of
	// NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters_Exporter.
	Exporter []*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters_Exporter
}

NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters Configure exporters to be used by the monitor-map

func (*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters) GetEntityData

type NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters_Exporter

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

	// This attribute is a key. Exporter name. The type is string with length:
	// 1..32.
	ExporterName interface{}
}

NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters_Exporter Configure exporter to be used by the monitor-map

func (*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Exporters_Exporter) GetEntityData

type NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Option

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

	// Specify whether data should be filtered. The type is interface{}.
	Filtered interface{}

	// Specify whether to export physical ifh for bundle interface. The type is
	// interface{}.
	OutBundleMember interface{}

	// Specify whether it exports the physical output interface. The type is
	// interface{}.
	OutPhysInt interface{}

	// Specify if BGP Attributes AS_PATH STD_COMM should be exported. The type is
	// interface{}.
	BgpAttr interface{}
}

NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Option Specify an option for the flow cache

func (*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Option) GetEntityData

type NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Record

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

	// Flow record format (Either 'ipv4-raw' ,'ipv4-peer-as', 'ipv6', 'mpls',
	// 'mpls-ipv4', 'mpls-ipv6', 'mpls-ipv4-ipv6', 'ipv6-peer-as'). The type is
	// string with length: 1..32. This attribute is mandatory.
	RecordName interface{}

	// Enter label value for MPLS record type. The type is interface{} with range:
	// 1..6.
	Label interface{}
}

NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Record Specify a flow record format This type is a presence type.

func (*NetFlow_FlowMonitorMapPerformanceTable_FlowMonitorMap_Record) GetEntityData

type NetFlow_FlowMonitorMapTable

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

	// Monitor map name. The type is slice of
	// NetFlow_FlowMonitorMapTable_FlowMonitorMap.
	FlowMonitorMap []*NetFlow_FlowMonitorMapTable_FlowMonitorMap
}

NetFlow_FlowMonitorMapTable Flow monitor map configuration

func (*NetFlow_FlowMonitorMapTable) GetEntityData

func (flowMonitorMapTable *NetFlow_FlowMonitorMapTable) GetEntityData() *types.CommonEntityData

type NetFlow_FlowMonitorMapTable_FlowMonitorMap

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

	// This attribute is a key. Monitor map name. The type is string with length:
	// 1..32.
	MonitorMapName interface{}

	// Specify the update flow cache aging timeout. The type is interface{} with
	// range: 1..604800. Units are second. The default value is 1800.
	CacheUpdateAgingTimeout interface{}

	// Specify the number of entries in the flow cache. The type is interface{}
	// with range: 4096..1000000. The default value is 65535.
	CacheEntries interface{}

	// Specify the inactive flow cache aging timeout. The type is interface{} with
	// range: 0..604800. Units are second. The default value is 15.
	CacheInactiveAgingTimeout interface{}

	// Specify the active flow cache aging timeout. The type is interface{} with
	// range: 1..604800. Units are second. The default value is 1800.
	CacheActiveAgingTimeout interface{}

	// Specify the maximum number of entries to age each second. The type is
	// interface{} with range: 1..1000000. The default value is 2000.
	CacheTimeoutRateLimit interface{}

	// Specify the flow cache aging mode. The type is NfCacheAgingMode. The
	// default value is normal.
	CacheAgingMode interface{}

	// Specify an option for the flow cache.
	Option NetFlow_FlowMonitorMapTable_FlowMonitorMap_Option

	// Configure exporters to be used by the monitor-map.
	Exporters NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters

	// Specify a flow record format.
	Record NetFlow_FlowMonitorMapTable_FlowMonitorMap_Record
}

NetFlow_FlowMonitorMapTable_FlowMonitorMap Monitor map name

func (*NetFlow_FlowMonitorMapTable_FlowMonitorMap) GetEntityData

func (flowMonitorMap *NetFlow_FlowMonitorMapTable_FlowMonitorMap) GetEntityData() *types.CommonEntityData

type NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters

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

	// Configure exporter to be used by the monitor-map. The type is slice of
	// NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters_Exporter.
	Exporter []*NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters_Exporter
}

NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters Configure exporters to be used by the monitor-map

func (*NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters) GetEntityData

type NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters_Exporter

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

	// This attribute is a key. Exporter name. The type is string with length:
	// 1..32.
	ExporterName interface{}
}

NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters_Exporter Configure exporter to be used by the monitor-map

func (*NetFlow_FlowMonitorMapTable_FlowMonitorMap_Exporters_Exporter) GetEntityData

type NetFlow_FlowMonitorMapTable_FlowMonitorMap_Option

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

	// Specify whether data should be filtered. The type is interface{}.
	Filtered interface{}

	// Specify whether to export physical ifh for bundle interface. The type is
	// interface{}.
	OutBundleMember interface{}

	// Specify whether it exports the physical output interface. The type is
	// interface{}.
	OutPhysInt interface{}

	// Specify if BGP Attributes AS_PATH STD_COMM should be exported. The type is
	// interface{}.
	BgpAttr interface{}
}

NetFlow_FlowMonitorMapTable_FlowMonitorMap_Option Specify an option for the flow cache

func (*NetFlow_FlowMonitorMapTable_FlowMonitorMap_Option) GetEntityData

type NetFlow_FlowMonitorMapTable_FlowMonitorMap_Record

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

	// Flow record format (Either 'ipv4-raw' ,'ipv4-peer-as', 'ipv6', 'mpls',
	// 'mpls-ipv4', 'mpls-ipv6', 'mpls-ipv4-ipv6', 'ipv6-peer-as'). The type is
	// string with length: 1..32. This attribute is mandatory.
	RecordName interface{}

	// Enter label value for MPLS record type. The type is interface{} with range:
	// 1..6.
	Label interface{}
}

NetFlow_FlowMonitorMapTable_FlowMonitorMap_Record Specify a flow record format This type is a presence type.

func (*NetFlow_FlowMonitorMapTable_FlowMonitorMap_Record) GetEntityData

type NetFlow_FlowSamplerMaps

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

	// Sampler map name. The type is slice of
	// NetFlow_FlowSamplerMaps_FlowSamplerMap.
	FlowSamplerMap []*NetFlow_FlowSamplerMaps_FlowSamplerMap
}

NetFlow_FlowSamplerMaps Flow sampler map configuration

func (*NetFlow_FlowSamplerMaps) GetEntityData

func (flowSamplerMaps *NetFlow_FlowSamplerMaps) GetEntityData() *types.CommonEntityData

type NetFlow_FlowSamplerMaps_FlowSamplerMap

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

	// This attribute is a key. Sampler map name. The type is string with length:
	// 1..32.
	SamplerMapName interface{}

	// Configure packet sampling mode.
	SamplingModes NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes
}

NetFlow_FlowSamplerMaps_FlowSamplerMap Sampler map name

func (*NetFlow_FlowSamplerMaps_FlowSamplerMap) GetEntityData

func (flowSamplerMap *NetFlow_FlowSamplerMaps_FlowSamplerMap) GetEntityData() *types.CommonEntityData

type NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes

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

	// Configure sampling mode. The type is slice of
	// NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes_SamplingMode.
	SamplingMode []*NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes_SamplingMode
}

NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes Configure packet sampling mode

func (*NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes) GetEntityData

type NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes_SamplingMode

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

	// This attribute is a key. Sampling mode. The type is NfSamplingMode.
	Mode interface{}

	// Number of packets to be sampled in the sampling interval. The type is
	// interface{} with range: 0..4294967295. This attribute is mandatory.
	SampleNumber interface{}

	// Sampling interval in units of packets. The type is interface{} with range:
	// 1..65535. This attribute is mandatory.
	Interval interface{}
}

NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes_SamplingMode Configure sampling mode

func (*NetFlow_FlowSamplerMaps_FlowSamplerMap_SamplingModes_SamplingMode) GetEntityData

type NfCacheAgingMode

type NfCacheAgingMode string

NfCacheAgingMode represents Nf cache aging mode

const (
	// Normal, caches age
	NfCacheAgingMode_normal NfCacheAgingMode = "normal"

	// Permanent, caches never age
	NfCacheAgingMode_permanent NfCacheAgingMode = "permanent"

	// Immediate, caches age immediately
	NfCacheAgingMode_immediate NfCacheAgingMode = "immediate"
)

type NfSamplingMode

type NfSamplingMode string

NfSamplingMode represents Nf sampling mode

const (
	// Random sampling
	NfSamplingMode_random NfSamplingMode = "random"
)

Jump to

Keyboard shortcuts

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