diffserv_policy

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 configuring diffserv specification implementations.

Copyright (c) 2014 IETF Trust and the persons identified as authors of the code. All rights reserved.

Redistribution and use in source and binary forms, with or without modification, is permitted pursuant to, and subject to the license terms contained in, the Simplified BSD License set forth in Section 4.c of the IETF Trust's Legal Provisions Relating to IETF Documents (http://trustee.ietf.org/license-info).

This version of this YANG module is part of RFC XXXX; see the RFC itself for full legal notices.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActionType

type ActionType struct {
}

func (ActionType) String

func (id ActionType) String() string

type Policies

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

	// policy template. The type is slice of Policies_PolicyEntry.
	PolicyEntry []*Policies_PolicyEntry
}

Policies list of policy templates

func (*Policies) GetEntityData

func (policies *Policies) GetEntityData() *types.CommonEntityData

type Policies_PolicyEntry

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

	// This attribute is a key. Diffserv policy name. The type is string.
	PolicyName interface{}

	// Diffserv policy description. The type is string.
	PolicyDescr interface{}

	// Classifier entry configuration in a policy. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry.
	ClassifierEntry []*Policies_PolicyEntry_ClassifierEntry
}

Policies_PolicyEntry policy template

func (*Policies_PolicyEntry) GetEntityData

func (policyEntry *Policies_PolicyEntry) GetEntityData() *types.CommonEntityData

type Policies_PolicyEntry_ClassifierEntry

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

	// This attribute is a key. Diffserv classifier entry name. The type is
	// string.
	ClassifierEntryName interface{}

	// Indication of inline classifier entry. The type is bool. The default value
	// is false.
	ClassifierEntryInline interface{}

	// Filters are applicable as any or all filters. The type is one of the
	// following: MatchAllFilterMatchAnyFilter. The default value is
	// match-any-filter.
	ClassifierEntryFilterOper interface{}

	// Filters configured inline in a policy. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry.
	FilterEntry []*Policies_PolicyEntry_ClassifierEntry_FilterEntry

	// Configuration of classifier & associated actions. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg.
	ClassifierActionEntryCfg []*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg
}

Policies_PolicyEntry_ClassifierEntry Classifier entry configuration in a policy

func (*Policies_PolicyEntry_ClassifierEntry) GetEntityData

func (classifierEntry *Policies_PolicyEntry_ClassifierEntry) GetEntityData() *types.CommonEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg

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

	// This attribute is a key. This defines action type . The type is one of the
	// following: MarkingMinRateMeterPriorityMaxRateAlgorithmicDrop.
	ActionType interface{}

	// Marking configuration container.
	MarkingCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MarkingCfg

	// priority attributes container.
	PriorityCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg

	// Meter list configuration container.
	MeterCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg

	// min guaranteed bandwidth.
	MinRateCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg

	// maximum rate attributes.
	MaxRateCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MaxRateCfg

	// Always Drop configuration container.
	DropCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_DropCfg

	// Tail Drop configuration container.
	TailDropCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg

	// Random Detect configuration container.
	RandomDetectCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg Configuration of classifier & associated actions

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_DropCfg

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

	// always drop algorithm. The type is interface{}.
	DropAction interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_DropCfg Always Drop configuration container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_DropCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MarkingCfg

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

	// dscp marking. The type is interface{} with range: 0..63.
	Dscp interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MarkingCfg Marking configuration container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MarkingCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MaxRateCfg

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

	// rate in bits per second. The type is interface{} with range:
	// 0..18446744073709551615. Units are bits-per-second.
	AbsoluteRate interface{}

	// burst size. The type is interface{} with range: 0..18446744073709551615.
	// Units are bytes.
	BurstSize interface{}

	// burst interval. The type is interface{} with range:
	// 0..18446744073709551615. Units are microsecond.
	BurstInterval interface{}

	// Metric. The type is Metric. The default value is none.
	AbsoluteRateMetric interface{}

	// Rate basic units. The type is RateUnit.
	AbsoluteRateUnits interface{}

	// percent. The type is interface{} with range: 1..100.
	RatePercent interface{}

	// The type is interface{} with range: 1..65532.
	RateRatio interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MaxRateCfg maximum rate attributes

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MaxRateCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg

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

	// Meter configuration. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList.
	MeterList []*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg Meter list configuration container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList

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

	// This attribute is a key. meter identifier. The type is interface{} with
	// range: 0..65535.
	MeterId interface{}

	// meter rate. The type is interface{} with range: 0..18446744073709551615.
	// Units are bits-per-second.
	MeterRate interface{}

	// burst size. The type is interface{} with range: 0..18446744073709551615.
	// Units are bytes.
	BurstSize interface{}

	// burst interval. The type is interface{} with range:
	// 0..18446744073709551615. Units are microsecond.
	BurstInterval interface{}

	// color aware & color blind attributes container.
	Color Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_Color

	// confirm action.
	SucceedAction Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_SucceedAction

	// exceed action.
	FailAction Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_FailAction
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList Meter configuration

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_Color

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

	// Diffserv classifier name. The type is string.
	ClassifierEntryName interface{}

	// Description of the class template. The type is string.
	ClassifierEntryDescr interface{}

	// Filters are applicable as any or all filters. The type is one of the
	// following: MatchAllFilterMatchAnyFilter. The default value is
	// match-any-filter.
	ClassifierEntryFilterOperation interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_Color color aware & color blind attributes container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_Color) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_FailAction

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

	// meter action type. The type is one of the following:
	// MeterActionDropMeterActionSet.
	MeterActionType interface{}

	// next meter identifier. The type is interface{} with range: 0..65535.
	NextMeterId interface{}

	// dscp marking. The type is interface{} with range: 0..63.
	Dscp interface{}

	// always drop algorithm. The type is interface{}.
	DropAction interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_FailAction exceed action

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_FailAction) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_SucceedAction

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

	// meter action type. The type is one of the following:
	// MeterActionDropMeterActionSet.
	MeterActionType interface{}

	// next meter identifier. The type is interface{} with range: 0..65535.
	NextMeterId interface{}

	// dscp marking. The type is interface{} with range: 0..63.
	Dscp interface{}

	// always drop algorithm. The type is interface{}.
	DropAction interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_SucceedAction confirm action

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MeterCfg_MeterList_SucceedAction) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg

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

	// minimum rate. The type is interface{} with range: 0..18446744073709551615.
	// Units are bits-per-second.
	MinRate interface{}

	// Metric. The type is Metric. The default value is none.
	AbsoluteRateMetric interface{}

	// Rate basic units. The type is RateUnit.
	AbsoluteRateUnits interface{}

	// percent. The type is interface{} with range: 1..100.
	RatePercent interface{}

	// The type is interface{} with range: 1..65532.
	RateRatio interface{}

	// share the bandwidth remaming.
	BwExcessShareCfg Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg_BwExcessShareCfg
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg min guaranteed bandwidth

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg_BwExcessShareCfg

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

	// percentage or ratio value. The type is interface{} with range:
	// 0..4294967295.
	Value interface{}

	// Metric. The type is Metric. The default value is none.
	AbsoluteRateMetric interface{}

	// Rate basic units. The type is RateUnit.
	AbsoluteRateUnits interface{}

	// percent. The type is interface{} with range: 1..100.
	RatePercent interface{}

	// The type is interface{} with range: 1..65532.
	RateRatio interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg_BwExcessShareCfg share the bandwidth remaming

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_MinRateCfg_BwExcessShareCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg

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

	// priority level. The type is interface{} with range: 0..255.
	PriorityLevel interface{}

	// absolute priority rate with/without burst rateand absolute percent.
	RateBurst Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg_RateBurst
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg priority attributes container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg_RateBurst

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

	// Rate value. The type is interface{} with range: 0..18446744073709551615.
	// Units are bits-per-second.
	Rate interface{}

	// Metric. The type is Metric. The default value is none.
	AbsoluteRateMetric interface{}

	// Rate basic units. The type is RateUnit.
	AbsoluteRateUnits interface{}

	// percent. The type is interface{} with range: 1..100.
	RatePercent interface{}

	// The type is interface{} with range: 1..65532.
	RateRatio interface{}

	// burst size. The type is interface{} with range: 0..18446744073709551615.
	// Units are bytes.
	BurstSize interface{}

	// burst interval. The type is interface{} with range:
	// 0..18446744073709551615. Units are microsecond.
	BurstInterval interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg_RateBurst absolute priority rate with/without burst rateand absolute percent

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_PriorityCfg_RateBurst) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg

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

	// Exponential weighting constant factor for red profile . The type is
	// interface{} with range: 0..4294967295.
	ExpWeightingConst interface{}

	// Mark probability. The type is interface{} with range: 1..1000.
	MarkProbability interface{}

	// Minimum threshold.
	RedMinThresh Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh

	// Maximum threshold.
	RedMaxThresh Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg Random Detect configuration container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh

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

	// threshold.
	Threshold Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh_Threshold
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh Maximum threshold

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh_Threshold

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

	// Threshold size. The type is interface{} with range:
	// 0..18446744073709551615. Units are bytes.
	ThresholdSize interface{}

	// Threshold interval. The type is interface{} with range:
	// 0..18446744073709551615. Units are microsecond.
	ThresholdInterval interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh_Threshold threshold

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMaxThresh_Threshold) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh

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

	// threshold.
	Threshold Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh_Threshold
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh Minimum threshold

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh_Threshold

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

	// Threshold size. The type is interface{} with range:
	// 0..18446744073709551615. Units are bytes.
	ThresholdSize interface{}

	// Threshold interval. The type is interface{} with range:
	// 0..18446744073709551615. Units are microsecond.
	ThresholdInterval interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh_Threshold threshold

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_RandomDetectCfg_RedMinThresh_Threshold) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg

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

	// the queue limit per dscp range. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh.
	QlimitDscpThresh []*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg Tail Drop configuration container

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh

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

	// This attribute is a key. Minimum of dscp range. The type is interface{}
	// with range: 0..63.
	DscpMin interface{}

	// This attribute is a key. Maximum of dscp range. The type is interface{}
	// with range: 0..63.
	DscpMax interface{}

	// threshold.
	Threshold Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh_Threshold
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh the queue limit per dscp range

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh_Threshold

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

	// Threshold size. The type is interface{} with range:
	// 0..18446744073709551615. Units are bytes.
	ThresholdSize interface{}

	// Threshold interval. The type is interface{} with range:
	// 0..18446744073709551615. Units are microsecond.
	ThresholdInterval interface{}
}

Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh_Threshold threshold

func (*Policies_PolicyEntry_ClassifierEntry_ClassifierActionEntryCfg_TailDropCfg_QlimitDscpThresh_Threshold) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry

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

	// This attribute is a key. This leaf defines type of the filter. The type is
	// one of the following:
	// DestinationPortProtocolDestinationIpAddressDscpSourceIpAddressSourcePortInputInterfaceSrcMacApplicationSecurityGroupNameIpv4AclNameFlowDlciDeiPrecPacketLengthIpv4AclFlowDeFlowIpFlowRecordVlanInnerMetadataVlanAtmVciClassMapQosGroupWlanUserPriorityIpRtpIpv6AclAtmClpDstMacCosDeiInnerMplsExpTopCosInnerIpv6AclNameMplsExpImpSecurityGroupTagDiscardClassVpls.
	FilterType interface{}

	// This attribute is a key.  This is logical-not operator for a filter. When
	// true, it  indicates filter looks for absence of a pattern defined  by the
	// filter . The type is bool.
	FilterLogicalNot interface{}

	// list of dscp ranges. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry_DscpCfg.
	DscpCfg []*Policies_PolicyEntry_ClassifierEntry_FilterEntry_DscpCfg

	// list of source ip address. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourceIpAddressCfg.
	SourceIpAddressCfg []*Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourceIpAddressCfg

	// list of destination ip address. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationIpAddressCfg.
	DestinationIpAddressCfg []*Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationIpAddressCfg

	// list of ranges of source port. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourcePortCfg.
	SourcePortCfg []*Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourcePortCfg

	// list of ranges of destination port. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationPortCfg.
	DestinationPortCfg []*Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationPortCfg

	// list of ranges of protocol values. The type is slice of
	// Policies_PolicyEntry_ClassifierEntry_FilterEntry_ProtocolCfg.
	ProtocolCfg []*Policies_PolicyEntry_ClassifierEntry_FilterEntry_ProtocolCfg
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry Filters configured inline in a policy

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationIpAddressCfg

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

	// This attribute is a key. destination ip prefix. 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])/(([0-9])|([1-2][0-9])|(3[0-2])),
	// 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])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8]))).
	DestinationIpAddr interface{}
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationIpAddressCfg list of destination ip address

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationIpAddressCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationPortCfg

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

	// This attribute is a key. minimum value of destination port range. The type
	// is interface{} with range: 0..65535.
	DestinationPortMin interface{}

	// This attribute is a key. maximum value of destination port range. The type
	// is interface{} with range: 0..65535.
	DestinationPortMax interface{}
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationPortCfg list of ranges of destination port

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry_DestinationPortCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry_DscpCfg

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

	// This attribute is a key. Minimum value of dscp range. The type is
	// interface{} with range: 0..63.
	DscpMin interface{}

	// This attribute is a key. maximum value of dscp range. The type is
	// interface{} with range: 0..63.
	DscpMax interface{}
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry_DscpCfg list of dscp ranges

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry_DscpCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry_ProtocolCfg

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

	// This attribute is a key. minimum value of protocol range. The type is
	// interface{} with range: 0..255.
	ProtocolMin interface{}

	// This attribute is a key. maximum value of protocol range. The type is
	// interface{} with range: 0..255.
	ProtocolMax interface{}
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry_ProtocolCfg list of ranges of protocol values

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry_ProtocolCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourceIpAddressCfg

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

	// This attribute is a key. source ip prefix. 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])/(([0-9])|([1-2][0-9])|(3[0-2])),
	// 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])))(/(([0-9])|([0-9]{2})|(1[0-1][0-9])|(12[0-8]))).
	SourceIpAddr interface{}
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourceIpAddressCfg list of source ip address

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourceIpAddressCfg) GetEntityData

type Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourcePortCfg

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

	// This attribute is a key. minimum value of source port range. The type is
	// interface{} with range: 0..65535.
	SourcePortMin interface{}

	// This attribute is a key. maximum value of source port range. The type is
	// interface{} with range: 0..65535.
	SourcePortMax interface{}
}

Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourcePortCfg list of ranges of source port

func (*Policies_PolicyEntry_ClassifierEntry_FilterEntry_SourcePortCfg) GetEntityData

Jump to

Keyboard shortcuts

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