lpts_lib_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 lpts-lib package configuration.

This module contains definitions for the following management objects:

lpts: lpts configuration commands

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 Lpts

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

	// Pre IFiB Configuration .
	Ipolicer Lpts_Ipolicer

	// Configure penalty timeout value.
	Punt Lpts_Punt
}

Lpts lpts configuration commands

func (*Lpts) GetEntityData

func (lpts *Lpts) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer

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

	// Enabled. The type is interface{}. This attribute is mandatory.
	Enable interface{}

	// Table for ACLs.
	Acls Lpts_Ipolicer_Acls

	// Table for Flows.
	Flows Lpts_Ipolicer_Flows
}

Lpts_Ipolicer Pre IFiB Configuration This type is a presence type.

func (*Lpts_Ipolicer) GetEntityData

func (ipolicer *Lpts_Ipolicer) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer_Acls

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

	// ACL name. The type is slice of Lpts_Ipolicer_Acls_Acl.
	Acl []*Lpts_Ipolicer_Acls_Acl
}

Lpts_Ipolicer_Acls Table for ACLs

func (*Lpts_Ipolicer_Acls) GetEntityData

func (acls *Lpts_Ipolicer_Acls) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer_Acls_Acl

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

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

	// AFI Family.
	AfiTypes Lpts_Ipolicer_Acls_Acl_AfiTypes
}

Lpts_Ipolicer_Acls_Acl ACL name

func (*Lpts_Ipolicer_Acls_Acl) GetEntityData

func (acl *Lpts_Ipolicer_Acls_Acl) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer_Acls_Acl_AfiTypes

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

	// AFI Family type. The type is slice of
	// Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType.
	AfiType []*Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType
}

Lpts_Ipolicer_Acls_Acl_AfiTypes AFI Family

func (*Lpts_Ipolicer_Acls_Acl_AfiTypes) GetEntityData

func (afiTypes *Lpts_Ipolicer_Acls_Acl_AfiTypes) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType

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

	// This attribute is a key. AFI Family Type. The type is Lptsafi.
	AfiFamilyType interface{}

	// VRF list.
	VrfNames Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames
}

Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType AFI Family type

func (*Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType) GetEntityData

type Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames

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

	// VRF name. The type is slice of
	// Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames_VrfName.
	VrfName []*Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames_VrfName
}

Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames VRF list

func (*Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames) GetEntityData

type Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames_VrfName

type Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames_VrfName 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{}

	// pre-ifib policer rate config commands. The type is interface{} with range:
	// 0..100000.
	AclRate interface{}
}

Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames_VrfName VRF name

func (*Lpts_Ipolicer_Acls_Acl_AfiTypes_AfiType_VrfNames_VrfName) GetEntityData

type Lpts_Ipolicer_Flows

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

	// selected flow type. The type is slice of Lpts_Ipolicer_Flows_Flow.
	Flow []*Lpts_Ipolicer_Flows_Flow
}

Lpts_Ipolicer_Flows Table for Flows

func (*Lpts_Ipolicer_Flows) GetEntityData

func (flows *Lpts_Ipolicer_Flows) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer_Flows_Flow

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

	// This attribute is a key. LPTS Flow Type. The type is LptsFlow.
	FlowType interface{}

	// Configured rate value. The type is interface{} with range: 0..4294967295.
	Rate interface{}

	// TOS Precedence value(s).
	Precedences Lpts_Ipolicer_Flows_Flow_Precedences
}

Lpts_Ipolicer_Flows_Flow selected flow type

func (*Lpts_Ipolicer_Flows_Flow) GetEntityData

func (flow *Lpts_Ipolicer_Flows_Flow) GetEntityData() *types.CommonEntityData

type Lpts_Ipolicer_Flows_Flow_Precedences

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

	// Precedence values. The type is one of the following types: slice of
	// :go:struct:`LptsPreIFibPrecedenceNumber
	// <ydk/models/lpts_pre_ifib_cfg/LptsPreIFibPrecedenceNumber>`, or slice of
	// int with range: 0..7.
	Precedence []interface{}
}

Lpts_Ipolicer_Flows_Flow_Precedences TOS Precedence value(s)

func (*Lpts_Ipolicer_Flows_Flow_Precedences) GetEntityData

func (precedences *Lpts_Ipolicer_Flows_Flow_Precedences) GetEntityData() *types.CommonEntityData

type Lpts_Punt

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

	// excessive punt flow trap configuration commands.
	Flowtrap Lpts_Punt_Flowtrap
}

Lpts_Punt Configure penalty timeout value

func (*Lpts_Punt) GetEntityData

func (punt *Lpts_Punt) GetEntityData() *types.CommonEntityData

type Lpts_Punt_Flowtrap

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

	// Maximum flow gap in milliseconds. The type is interface{} with range:
	// 1..60000.
	MaxFlowGap interface{}

	// Should be power of 2. Any one of 1,2,4,8,16,32 ,64,128. The type is
	// interface{} with range: 1..128.
	EtSize interface{}

	// Eviction threshold, should be less than report-threshold. The type is
	// interface{} with range: 1..65535.
	EvictionThreshold interface{}

	// Threshold to cross for a flow to be considered as bad actor flow. The type
	// is interface{} with range: 1..65535.
	ReportThreshold interface{}

	// Enable trap based on source mac on non-subscriber interface. The type is
	// interface{} with range: 0..4294967295.
	NonSubscriberInterfaces interface{}

	// Probability of packets to be sampled. The type is string with length:
	// 1..32.
	SampleProb interface{}

	// Eviction search limit, should be less than trap-size. The type is
	// interface{} with range: 1..128.
	EvictionSearchLimit interface{}

	// Allow routing protocols to pass through copp sampler. The type is bool.
	RoutingProtocolsEnable interface{}

	// Enable the trap on subscriber interfaces. The type is bool.
	SubscriberInterfaces interface{}

	// Identify flow based on interface and flowtype. The type is bool.
	InterfaceBasedFlow interface{}

	// Dampening period for a bad actor flow in milliseconds. The type is
	// interface{} with range: 5000..60000.
	Dampening interface{}

	// Configure penalty policing rate.
	PenaltyRates Lpts_Punt_Flowtrap_PenaltyRates

	// Configure penalty timeout value.
	PenaltyTimeouts Lpts_Punt_Flowtrap_PenaltyTimeouts

	// Exclude an item from all traps.
	Exclude Lpts_Punt_Flowtrap_Exclude
}

Lpts_Punt_Flowtrap excessive punt flow trap configuration commands

func (*Lpts_Punt_Flowtrap) GetEntityData

func (flowtrap *Lpts_Punt_Flowtrap) GetEntityData() *types.CommonEntityData

type Lpts_Punt_Flowtrap_Exclude

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

	// none.
	InterfaceNames Lpts_Punt_Flowtrap_Exclude_InterfaceNames
}

Lpts_Punt_Flowtrap_Exclude Exclude an item from all traps

func (*Lpts_Punt_Flowtrap_Exclude) GetEntityData

func (exclude *Lpts_Punt_Flowtrap_Exclude) GetEntityData() *types.CommonEntityData

type Lpts_Punt_Flowtrap_Exclude_InterfaceNames

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

	// Name of interface to exclude from all traps. The type is slice of
	// Lpts_Punt_Flowtrap_Exclude_InterfaceNames_InterfaceName.
	InterfaceName []*Lpts_Punt_Flowtrap_Exclude_InterfaceNames_InterfaceName
}

Lpts_Punt_Flowtrap_Exclude_InterfaceNames none

func (*Lpts_Punt_Flowtrap_Exclude_InterfaceNames) GetEntityData

func (interfaceNames *Lpts_Punt_Flowtrap_Exclude_InterfaceNames) GetEntityData() *types.CommonEntityData

type Lpts_Punt_Flowtrap_Exclude_InterfaceNames_InterfaceName

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

	// This attribute is a key. Name of interface to exclude from all traps. The
	// type is string with pattern: [a-zA-Z0-9._/-]+.
	Ifname interface{}

	// Enabled or disabled. The type is bool. This attribute is mandatory.
	Id1 interface{}
}

Lpts_Punt_Flowtrap_Exclude_InterfaceNames_InterfaceName Name of interface to exclude from all traps

func (*Lpts_Punt_Flowtrap_Exclude_InterfaceNames_InterfaceName) GetEntityData

type Lpts_Punt_Flowtrap_PenaltyRates

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

	// none. The type is slice of Lpts_Punt_Flowtrap_PenaltyRates_PenaltyRate.
	PenaltyRate []*Lpts_Punt_Flowtrap_PenaltyRates_PenaltyRate
}

Lpts_Punt_Flowtrap_PenaltyRates Configure penalty policing rate

func (*Lpts_Punt_Flowtrap_PenaltyRates) GetEntityData

func (penaltyRates *Lpts_Punt_Flowtrap_PenaltyRates) GetEntityData() *types.CommonEntityData

type Lpts_Punt_Flowtrap_PenaltyRates_PenaltyRate

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

	// This attribute is a key. none. The type is LptsPuntFlowtrapProtoId.
	ProtocolName interface{}

	// Penalty policer rate in packets-per-second. The type is interface{} with
	// range: 2..100. This attribute is mandatory.
	Rate interface{}
}

Lpts_Punt_Flowtrap_PenaltyRates_PenaltyRate none

func (*Lpts_Punt_Flowtrap_PenaltyRates_PenaltyRate) GetEntityData

type Lpts_Punt_Flowtrap_PenaltyTimeouts

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

	// none. The type is slice of
	// Lpts_Punt_Flowtrap_PenaltyTimeouts_PenaltyTimeout.
	PenaltyTimeout []*Lpts_Punt_Flowtrap_PenaltyTimeouts_PenaltyTimeout
}

Lpts_Punt_Flowtrap_PenaltyTimeouts Configure penalty timeout value

func (*Lpts_Punt_Flowtrap_PenaltyTimeouts) GetEntityData

func (penaltyTimeouts *Lpts_Punt_Flowtrap_PenaltyTimeouts) GetEntityData() *types.CommonEntityData

type Lpts_Punt_Flowtrap_PenaltyTimeouts_PenaltyTimeout

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

	// This attribute is a key. none. The type is LptsPuntFlowtrapProtoId.
	ProtocolName interface{}

	// Timeout value in minutes. The type is interface{} with range: 1..1000. This
	// attribute is mandatory.
	Timeout interface{}
}

Lpts_Punt_Flowtrap_PenaltyTimeouts_PenaltyTimeout none

func (*Lpts_Punt_Flowtrap_PenaltyTimeouts_PenaltyTimeout) GetEntityData

Jump to

Keyboard shortcuts

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