diffserv_classifier

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 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 ClassifierEntryFilterOperationType

type ClassifierEntryFilterOperationType struct {
}

func (ClassifierEntryFilterOperationType) String

type Classifiers

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

	// classifier entry template. The type is slice of
	// Classifiers_ClassifierEntry.
	ClassifierEntry []*Classifiers_ClassifierEntry
}

Classifiers list of classifier entry

func (*Classifiers) GetEntityData

func (classifiers *Classifiers) GetEntityData() *types.CommonEntityData

type Classifiers_ClassifierEntry

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

	// This attribute is a key. 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{}

	// Filter configuration. The type is slice of
	// Classifiers_ClassifierEntry_FilterEntry.
	FilterEntry []*Classifiers_ClassifierEntry_FilterEntry
}

Classifiers_ClassifierEntry classifier entry template

func (*Classifiers_ClassifierEntry) GetEntityData

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

type Classifiers_ClassifierEntry_FilterEntry

type Classifiers_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
	// Classifiers_ClassifierEntry_FilterEntry_DscpCfg.
	DscpCfg []*Classifiers_ClassifierEntry_FilterEntry_DscpCfg

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

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

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

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

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

Classifiers_ClassifierEntry_FilterEntry Filter configuration

func (*Classifiers_ClassifierEntry_FilterEntry) GetEntityData

func (filterEntry *Classifiers_ClassifierEntry_FilterEntry) GetEntityData() *types.CommonEntityData

type Classifiers_ClassifierEntry_FilterEntry_DestinationIpAddressCfg

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

Classifiers_ClassifierEntry_FilterEntry_DestinationIpAddressCfg list of destination ip address

func (*Classifiers_ClassifierEntry_FilterEntry_DestinationIpAddressCfg) GetEntityData

type Classifiers_ClassifierEntry_FilterEntry_DestinationPortCfg

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

Classifiers_ClassifierEntry_FilterEntry_DestinationPortCfg list of ranges of destination port

func (*Classifiers_ClassifierEntry_FilterEntry_DestinationPortCfg) GetEntityData

type Classifiers_ClassifierEntry_FilterEntry_DscpCfg

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

Classifiers_ClassifierEntry_FilterEntry_DscpCfg list of dscp ranges

func (*Classifiers_ClassifierEntry_FilterEntry_DscpCfg) GetEntityData

type Classifiers_ClassifierEntry_FilterEntry_ProtocolCfg

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

Classifiers_ClassifierEntry_FilterEntry_ProtocolCfg list of ranges of protocol values

func (*Classifiers_ClassifierEntry_FilterEntry_ProtocolCfg) GetEntityData

type Classifiers_ClassifierEntry_FilterEntry_SourceIpAddressCfg

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

Classifiers_ClassifierEntry_FilterEntry_SourceIpAddressCfg list of source ip address

func (*Classifiers_ClassifierEntry_FilterEntry_SourceIpAddressCfg) GetEntityData

type Classifiers_ClassifierEntry_FilterEntry_SourcePortCfg

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

Classifiers_ClassifierEntry_FilterEntry_SourcePortCfg list of ranges of source port

func (*Classifiers_ClassifierEntry_FilterEntry_SourcePortCfg) GetEntityData

type DestinationIpAddress

type DestinationIpAddress struct {
}

func (DestinationIpAddress) String

func (id DestinationIpAddress) String() string

type DestinationPort

type DestinationPort struct {
}

func (DestinationPort) String

func (id DestinationPort) String() string

type Dscp

type Dscp struct {
}

func (Dscp) String

func (id Dscp) String() string

type FilterType

type FilterType struct {
}

func (FilterType) String

func (id FilterType) String() string

type MatchAllFilter

type MatchAllFilter struct {
}

func (MatchAllFilter) String

func (id MatchAllFilter) String() string

type MatchAnyFilter

type MatchAnyFilter struct {
}

func (MatchAnyFilter) String

func (id MatchAnyFilter) String() string

type Protocol

type Protocol struct {
}

func (Protocol) String

func (id Protocol) String() string

type SourceIpAddress

type SourceIpAddress struct {
}

func (SourceIpAddress) String

func (id SourceIpAddress) String() string

type SourcePort

type SourcePort struct {
}

func (SourcePort) String

func (id SourcePort) String() string

Jump to

Keyboard shortcuts

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