infra_policymgr_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 ASR9k policy manager configuration.

Copyright (c) 2013, 2015-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 AuthorizeIdentifier

type AuthorizeIdentifier string

AuthorizeIdentifier represents Authorize identifier.

const (
	// Authorize circuit ID.
	AuthorizeIdentifier_circuit_id AuthorizeIdentifier = "circuit-id"

	// Authorize dhcp client ID.
	AuthorizeIdentifier_dhcp_client_id AuthorizeIdentifier = "dhcp-client-id"

	// Authorize remote ID.
	AuthorizeIdentifier_remote_id AuthorizeIdentifier = "remote-id"

	// Authorize source IPv4 address.
	AuthorizeIdentifier_source_address_ipv4 AuthorizeIdentifier = "source-address-ipv4"

	// Authorize source IPv6 address.
	AuthorizeIdentifier_source_address_ipv6 AuthorizeIdentifier = "source-address-ipv6"

	// Authorize source MAC address.
	AuthorizeIdentifier_source_address_mac AuthorizeIdentifier = "source-address-mac"

	// Authorize username.
	AuthorizeIdentifier_username AuthorizeIdentifier = "username"
)

type ClassMapType

type ClassMapType string

ClassMapType represents Policy manager class-map type.

const (
	// QoS Classmap.
	ClassMapType_qos ClassMapType = "qos"

	// TRAFFIC Classmap.
	ClassMapType_traffic ClassMapType = "traffic"

	// Control Subscriber Classmap.
	ClassMapType_control ClassMapType = "control"
)

type EventType

type EventType string

EventType represents Event type.

const (
	// Account logoff event.
	EventType_account_logoff EventType = "account-logoff"

	// Account logon event.
	EventType_account_logon EventType = "account-logon"

	// Authentication failure event.
	EventType_authentication_failure EventType = "authentication-failure"

	// Authentication no response event.
	EventType_authentication_no_response EventType = "authentication-no-response"

	// Authorization failure event.
	EventType_authorization_failure EventType = "authorization-failure"

	// Authorization no response event.
	EventType_authorization_no_response EventType = "authorization-no-response"

	// Credit exhaustion event.
	EventType_credit_exhausted EventType = "credit-exhausted"

	// Exception event.
	EventType_exception EventType = "exception"

	// Idle timeout event.
	EventType_idle_timeout EventType = "idle-timeout"

	// Quota depletion event.
	EventType_quota_depleted EventType = "quota-depleted"

	// Service start event.
	EventType_service_start EventType = "service-start"

	// Service stop event.
	EventType_service_stop EventType = "service-stop"

	// Session activate event.
	EventType_session_activate EventType = "session-activate"

	// Session start event.
	EventType_session_start EventType = "session-start"

	// Session stop event.
	EventType_session_stop EventType = "session-stop"

	// Timer expiry event.
	EventType_timer_expiry EventType = "timer-expiry"
)

type ExecutionStrategy

type ExecutionStrategy string

ExecutionStrategy represents Executuion strategy.

const (
	// Do all actions.
	ExecutionStrategy_do_all ExecutionStrategy = "do-all"

	// Do all actions until failure.
	ExecutionStrategy_do_until_failure ExecutionStrategy = "do-until-failure"

	// Do all actions until success.
	ExecutionStrategy_do_until_success ExecutionStrategy = "do-until-success"
)

type PmapClassMapType

type PmapClassMapType string

PmapClassMapType represents Policy manager class-map type.

const (
	// QoS Classmap.
	PmapClassMapType_qos PmapClassMapType = "qos"

	// TRAFFIC Classmap.
	PmapClassMapType_traffic PmapClassMapType = "traffic"

	// Subscriber Control Classmap.
	PmapClassMapType_subscriber_control PmapClassMapType = "subscriber-control"
)

type PolicyManager

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

	// Class-maps configuration.
	ClassMaps PolicyManager_ClassMaps

	// Policy-maps configuration.
	PolicyMaps PolicyManager_PolicyMaps
}

PolicyManager Global Policy Manager configuration.

func (*PolicyManager) GetEntityData

func (policyManager *PolicyManager) GetEntityData() *types.CommonEntityData

type PolicyManager_ClassMaps

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

	// Class-map configuration. The type is slice of
	// PolicyManager_ClassMaps_ClassMap.
	ClassMap []*PolicyManager_ClassMaps_ClassMap
}

PolicyManager_ClassMaps Class-maps configuration.

func (*PolicyManager_ClassMaps) GetEntityData

func (classMaps *PolicyManager_ClassMaps) GetEntityData() *types.CommonEntityData

type PolicyManager_ClassMaps_ClassMap

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

	// This attribute is a key. Type of class-map. The type is ClassMapType.
	Type interface{}

	// This attribute is a key. Name of class-map. The type is string with
	// pattern: [a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}.
	Name interface{}

	// Match all match criteria. The type is interface{}.
	ClassMapModeMatchAny interface{}

	// Match any match criteria. The type is interface{}.
	ClassMapModeMatchAll interface{}

	// Description for this policy-map. The type is string.
	Description interface{}

	// Match rules.
	Match PolicyManager_ClassMaps_ClassMap_Match

	// Match not rules.
	MatchNot PolicyManager_ClassMaps_ClassMap_MatchNot
}

PolicyManager_ClassMaps_ClassMap Class-map configuration.

func (*PolicyManager_ClassMaps_ClassMap) GetEntityData

func (classMap *PolicyManager_ClassMaps_ClassMap) GetEntityData() *types.CommonEntityData

type PolicyManager_ClassMaps_ClassMap_Match

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

	// Match IPv4 DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Ipv4Dscp []interface{}

	// Match IPv6 DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Ipv6Dscp []interface{}

	// Match DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp []interface{}

	// Match IPv4 precedence. The type is one of the following types: slice of int
	// with range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Ipv4Precedence []interface{}

	// Match IPv6 precedence. The type is one of the following types: slice of int
	// with range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Ipv6Precedence []interface{}

	// Match precedence. The type is one of the following types: slice of int with
	// range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence []interface{}

	// Match QoS group. Should be value 0..512 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	QosGroup []interface{}

	// Match Traffic Class. Should be value 0..63 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	TrafficClass []interface{}

	// Match CoS. The type is slice of interface{} with range: 0..7.
	Cos []interface{}

	// Match inner CoS. The type is slice of interface{} with range: 0..7.
	InnerCos []interface{}

	// Match DEI bit. The type is interface{} with range: 0..1.
	Dei interface{}

	// Match DEI INNER  bit. The type is interface{} with range: 0..1.
	DeiInner interface{}

	// Match protocol. The type is slice of string with pattern:
	// ([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\-([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))|((ahp)|(dhcpv4)|(dhcpv6)|(eigrp)|(esp)|(gre)|(icmp)|(igmp)|(igrp)|(ipinip)|(ipv4)|(ipv6)|(ipv6icmp)|(mpls)|(nos)|(ospf)|(pcp)|(pim)|(ppp)|(sctp)|(tcp)|(udp)).
	Protocol []interface{}

	// Match IPv4 ACL. The type is string with length: 1..64.
	Ipv4Acl interface{}

	// Match IPv6 ACL. The type is string with length: 1..64.
	Ipv6Acl interface{}

	// Match Ethernet Services. The type is string with length: 1..64.
	EthernetServicesAcl interface{}

	// Match MPLS experimental topmost label. The type is slice of interface{}
	// with range: 0..7.
	MplsExperimentalTopmost []interface{}

	// Match MPLS experimental imposition label. The type is slice of interface{}
	// with range: 0..7.
	MplsExperimentalImposition []interface{}

	// Match discard class. The type is slice of interface{} with range: 0..7.
	DiscardClass []interface{}

	// Match IPv4 packet length. Should be value 0..65535 or range. The type is
	// slice of string with pattern: (\d+)|(\d+\-\d+).
	Ipv4PacketLength []interface{}

	// Match IPv6 packet length. Should be value 0..65535 or range. The type is
	// slice of string with pattern: (\d+)|(\d+\-\d+).
	Ipv6PacketLength []interface{}

	// Match packet length. Should be value 0..65535 or range. The type is slice
	// of string with pattern: (\d+)|(\d+\-\d+).
	PacketLength []interface{}

	// Match MPLS Label Disposition IPv4 access list. The type is string with
	// length: 1..32.
	MplsDispositionIpv4AccessList interface{}

	// Match MPLS Label Disposition IPv6 access list. The type is string with
	// length: 1..32.
	MplsDispositionIpv6AccessList interface{}

	// Match VLAN ID. The type is slice of string with pattern: (\d+)|(\d+\-\d+).
	Vlan []interface{}

	// Match inner VLAN ID. The type is slice of string with pattern:
	// (\d+)|(\d+\-\d+).
	InnerVlan []interface{}

	// Match flow-tag. Should be value 1..63 or range. The type is slice of string
	// with pattern: (\d+)|(\d+\-\d+).
	FlowTag []interface{}

	// Match Ethertype. The type is slice of string with pattern:
	// ((153[6-9]|15[4-9][0-9]|1[6-9][0-9][0-9]|[2-9][0-9][0-9][0-9])|([1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9])|(65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]))|((arp)|(ipv4)|(ipv6)).
	Ethertype []interface{}

	// Match destination port. Should be value 0..65535 or range. The type is
	// slice of string with pattern: (\d+)|(\d+\-\d+).
	DestinationPort []interface{}

	// Match fragment type for a packet. The type is slice of string with pattern:
	// (dont-fragment)|(first-fragment)|(is-fragment)|(last-fragment).
	FragmentType []interface{}

	// Match frame-relay DLCI value. Should be value 16..1007 or range. The type
	// is slice of string with pattern: (\d+)|(\d+\-\d+).
	FrameRelayDlci []interface{}

	// Set FrameRelay DE bit. The type is interface{} with range: 0..1.
	FrDe interface{}

	// Match IPv4 ICMP code. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv4Code []interface{}

	// Match IPv4 ICMP type. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv4Type []interface{}

	// Match IPv6 ICMP code. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv6Code []interface{}

	// Match IPv6 ICMP type. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv6Type []interface{}

	// Match source port. Should be value 0..65535 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	SourcePort []interface{}

	// Match TCP flags. The type is interface{} with range: 0..4095.
	TcpFlag interface{}

	// Match authentication status. The type is string with pattern:
	// (authenticated)|(unauthenticated).
	AuthenStatus interface{}

	// Match Circuit ID. The type is slice of string with length: 1..32.
	CircuitId []interface{}

	// Match Circuit id regex. The type is slice of string with length: 1..32.
	CircuitIdRegex []interface{}

	// Match remote ID. The type is slice of string with length: 1..32.
	RemoteId []interface{}

	// Match remote id regex. The type is slice of string with length: 1..32.
	RemoteIdRegex []interface{}

	// Match servicve name. The type is slice of string with length: 1..32.
	ServiceName []interface{}

	// Match servicve name regular expression. The type is slice of string with
	// length: 1..32.
	ServiceNameRegex []interface{}

	// Match timer. The type is slice of string with length: 1..32.
	Timer []interface{}

	// Match timer regular expression. The type is slice of string with length:
	// 1..32.
	TimerRegex []interface{}

	// Match user name. The type is slice of string with length: 1..32.
	UserName []interface{}

	// Match user name regular expression. The type is slice of string with
	// length: 1..32.
	UserNameRegex []interface{}

	// Match source MAC address. The type is slice of string.
	SourceMac []interface{}

	// Match destination MAC address. The type is slice of string.
	DestinationMac []interface{}

	// Match VPLS control. The type is interface{}.
	VplsControl interface{}

	// Match VPLS Broadcast. The type is interface{}.
	VplsBroadcast interface{}

	// Match VPLS Multicast. The type is interface{}.
	VplsMulticast interface{}

	// Match VPLS Known. The type is interface{}.
	VplsKnown interface{}

	// Match VPLS Unknown. The type is interface{}.
	VplsUnknown interface{}

	// Match ATM CLP bit. The type is interface{} with range: 0..1.
	AtmClp interface{}

	// Match ATM OAM. The type is interface{}.
	AtmOam interface{}

	// Match CAC admitted. The type is interface{}.
	CacAdmit interface{}

	// Match CAC unadmitted. The type is interface{}.
	CacUnadmit interface{}

	// Match destination IPv4 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv4.
	DestinationAddressIpv4 []*PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv4

	// Match destination IPv6 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv6.
	DestinationAddressIpv6 []*PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv6

	// Match source IPv4 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv4.
	SourceAddressIpv4 []*PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv4

	// Match source IPv6 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv6.
	SourceAddressIpv6 []*PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv6

	// Match dhcp client ID. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_DhcpClientId.
	DhcpClientId []*PolicyManager_ClassMaps_ClassMap_Match_DhcpClientId

	// Match dhcp client id regex. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_DhcpClientIdRegex.
	DhcpClientIdRegex []*PolicyManager_ClassMaps_ClassMap_Match_DhcpClientIdRegex

	// Match domain name. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_DomainName.
	DomainName []*PolicyManager_ClassMaps_ClassMap_Match_DomainName

	// Match domain name. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_Match_DomainNameRegex.
	DomainNameRegex []*PolicyManager_ClassMaps_ClassMap_Match_DomainNameRegex

	// Match flow.
	Flow PolicyManager_ClassMaps_ClassMap_Match_Flow
}

PolicyManager_ClassMaps_ClassMap_Match Match rules.

func (*PolicyManager_ClassMaps_ClassMap_Match) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot

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

	// Match IPv4 DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Ipv4Dscp []interface{}

	// Match IPv6 DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Ipv6Dscp []interface{}

	// Match DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp []interface{}

	// Match IPv4 precedence. The type is one of the following types: slice of int
	// with range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Ipv4Precedence []interface{}

	// Match IPv6 precedence. The type is one of the following types: slice of int
	// with range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Ipv6Precedence []interface{}

	// Match precedence. The type is one of the following types: slice of int with
	// range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence []interface{}

	// Match QoS group. Should be value 0..512 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	QosGroup []interface{}

	// Match Traffic Class. Should be value 0..63 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	TrafficClass []interface{}

	// Match CoS. The type is slice of interface{} with range: 0..7.
	Cos []interface{}

	// Match inner CoS. The type is slice of interface{} with range: 0..7.
	InnerCos []interface{}

	// Match DEI bit. The type is interface{} with range: 0..1.
	Dei interface{}

	// Match DEI INNER  bit. The type is interface{} with range: 0..1.
	DeiInner interface{}

	// Match protocol. The type is slice of string with pattern:
	// ([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|(([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\-([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))|((ahp)|(dhcpv4)|(dhcpv6)|(eigrp)|(esp)|(gre)|(icmp)|(igmp)|(igrp)|(ipinip)|(ipv4)|(ipv6)|(ipv6icmp)|(mpls)|(nos)|(ospf)|(pcp)|(pim)|(ppp)|(sctp)|(tcp)|(udp)).
	Protocol []interface{}

	// Match IPv4 ACL. The type is string with length: 1..64.
	Ipv4Acl interface{}

	// Match IPv6 ACL. The type is string with length: 1..64.
	Ipv6Acl interface{}

	// Match Ethernet Services. The type is string with length: 1..64.
	EthernetServicesAcl interface{}

	// Match MPLS experimental topmost label. The type is slice of interface{}
	// with range: 0..7.
	MplsExperimentalTopmost []interface{}

	// Match MPLS experimental imposition label. The type is slice of interface{}
	// with range: 0..7.
	MplsExperimentalImposition []interface{}

	// Match discard class. The type is slice of interface{} with range: 0..7.
	DiscardClass []interface{}

	// Match IPv4 packet length. Should be value 0..65535 or range. The type is
	// slice of string with pattern: (\d+)|(\d+\-\d+).
	Ipv4PacketLength []interface{}

	// Match IPv6 packet length. Should be value 0..65535 or range. The type is
	// slice of string with pattern: (\d+)|(\d+\-\d+).
	Ipv6PacketLength []interface{}

	// Match packet length. Should be value 0..65535 or range. The type is slice
	// of string with pattern: (\d+)|(\d+\-\d+).
	PacketLength []interface{}

	// Match MPLS Label Disposition IPv4 access list. The type is string with
	// length: 1..32.
	MplsDispositionIpv4AccessList interface{}

	// Match MPLS Label Disposition IPv6 access list. The type is string with
	// length: 1..32.
	MplsDispositionIpv6AccessList interface{}

	// Match VLAN ID. The type is slice of string with pattern: (\d+)|(\d+\-\d+).
	Vlan []interface{}

	// Match inner VLAN ID. The type is slice of string with pattern:
	// (\d+)|(\d+\-\d+).
	InnerVlan []interface{}

	// Match flow-tag. Should be value 1..63 or range. The type is slice of string
	// with pattern: (\d+)|(\d+\-\d+).
	FlowTag []interface{}

	// Match Ethertype. The type is slice of string with pattern:
	// ((153[6-9]|15[4-9][0-9]|1[6-9][0-9][0-9]|[2-9][0-9][0-9][0-9])|([1-5][0-9][0-9][0-9][0-9]|6[0-4][0-9][0-9][0-9])|(65[0-4][0-9][0-9]|655[0-2][0-9]|6553[0-5]))|((arp)|(ipv4)|(ipv6)).
	Ethertype []interface{}

	// Match destination port. Should be value 0..65535 or range. The type is
	// slice of string with pattern: (\d+)|(\d+\-\d+).
	DestinationPort []interface{}

	// Match fragment type for a packet. The type is slice of string with pattern:
	// (dont-fragment)|(first-fragment)|(is-fragment)|(last-fragment).
	FragmentType []interface{}

	// Match frame-relay DLCI value. Should be value 16..1007 or range. The type
	// is slice of string with pattern: (\d+)|(\d+\-\d+).
	FrameRelayDlci []interface{}

	// Set FrameRelay DE bit. The type is interface{} with range: 0..1.
	FrDe interface{}

	// Match IPv4 ICMP code. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv4Code []interface{}

	// Match IPv4 ICMP type. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv4Type []interface{}

	// Match IPv6 ICMP code. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv6Code []interface{}

	// Match IPv6 ICMP type. Should be value 0..255 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	Icmpv6Type []interface{}

	// Match source port. Should be value 0..65535 or range. The type is slice of
	// string with pattern: (\d+)|(\d+\-\d+).
	SourcePort []interface{}

	// Match TCP flags. The type is interface{} with range: 0..4095.
	TcpFlag interface{}

	// Match authentication status. The type is string with pattern:
	// (authenticated)|(unauthenticated).
	AuthenStatus interface{}

	// Match Circuit ID. The type is slice of string with length: 1..32.
	CircuitId []interface{}

	// Match Circuit id regex. The type is slice of string with length: 1..32.
	CircuitIdRegex []interface{}

	// Match remote ID. The type is slice of string with length: 1..32.
	RemoteId []interface{}

	// Match remote id regex. The type is slice of string with length: 1..32.
	RemoteIdRegex []interface{}

	// Match servicve name. The type is slice of string with length: 1..32.
	ServiceName []interface{}

	// Match servicve name regular expression. The type is slice of string with
	// length: 1..32.
	ServiceNameRegex []interface{}

	// Match timer. The type is slice of string with length: 1..32.
	Timer []interface{}

	// Match timer regular expression. The type is slice of string with length:
	// 1..32.
	TimerRegex []interface{}

	// Match user name. The type is slice of string with length: 1..32.
	UserName []interface{}

	// Match user name regular expression. The type is slice of string with
	// length: 1..32.
	UserNameRegex []interface{}

	// Match source MAC address. The type is slice of string.
	SourceMac []interface{}

	// Match destination MAC address. The type is slice of string.
	DestinationMac []interface{}

	// Match VPLS control. The type is interface{}.
	VplsControl interface{}

	// Match VPLS Broadcast. The type is interface{}.
	VplsBroadcast interface{}

	// Match VPLS Multicast. The type is interface{}.
	VplsMulticast interface{}

	// Match VPLS Known. The type is interface{}.
	VplsKnown interface{}

	// Match VPLS Unknown. The type is interface{}.
	VplsUnknown interface{}

	// Match destination IPv4 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv4.
	DestinationAddressIpv4 []*PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv4

	// Match destination IPv6 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv6.
	DestinationAddressIpv6 []*PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv6

	// Match source IPv4 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv4.
	SourceAddressIpv4 []*PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv4

	// Match source IPv6 address. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv6.
	SourceAddressIpv6 []*PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv6

	// Match dhcp client ID. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientId.
	DhcpClientId []*PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientId

	// Match dhcp client id regex. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientIdRegex.
	DhcpClientIdRegex []*PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientIdRegex

	// Match domain name. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_DomainName.
	DomainName []*PolicyManager_ClassMaps_ClassMap_MatchNot_DomainName

	// Match domain name. The type is slice of
	// PolicyManager_ClassMaps_ClassMap_MatchNot_DomainNameRegex.
	DomainNameRegex []*PolicyManager_ClassMaps_ClassMap_MatchNot_DomainNameRegex

	// Match flow.
	Flow PolicyManager_ClassMaps_ClassMap_MatchNot_Flow
}

PolicyManager_ClassMaps_ClassMap_MatchNot Match not rules.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv4

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

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

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

PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv4 Match destination IPv4 address.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv4) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv6

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

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

	// This attribute is a key. IPv6 prefix length. The type is interface{} with
	// range: 0..128.
	PrefixLength interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv6 Match destination IPv6 address.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_DestinationAddressIpv6) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientId

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

	// This attribute is a key. Dhcp client Id. The type is string with length:
	// 1..32.
	Value interface{}

	// This attribute is a key. Dhcp client id Ascii/Hex. The type is string with
	// pattern: (none)|(ascii)|(hex).
	Flag interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientId Match dhcp client ID.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientId) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientIdRegex

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

	// This attribute is a key. Dhcp client id regular expression. The type is
	// string with length: 1..32.
	Value interface{}

	// This attribute is a key. Dhcp client Id regex Ascii/Hex. The type is string
	// with pattern: (none)|(ascii)|(hex).
	Flag interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientIdRegex Match dhcp client id regex.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_DhcpClientIdRegex) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_DomainName

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

	// This attribute is a key. Domain name or regular expression. The type is
	// string with length: 1..32.
	Name interface{}

	// This attribute is a key. Domain-format name. The type is string with
	// length: 1..32.
	Format interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_DomainName Match domain name.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_DomainName) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_DomainNameRegex

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

	// This attribute is a key. Domain name or regular expression. The type is
	// string with length: 1..32.
	Regex interface{}

	// This attribute is a key. Domain-format name. The type is string with
	// length: 1..32.
	Format interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_DomainNameRegex Match domain name.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_DomainNameRegex) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_Flow

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

	// Configure the flow-tag parameters. The type is slice of interface{} with
	// range: 1..63.
	FlowTag []interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_Flow Match flow.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_Flow) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv4

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

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

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

PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv4 Match source IPv4 address.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv4) GetEntityData

type PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv6

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

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

	// This attribute is a key. IPv6 prefix length. The type is interface{} with
	// range: 0..128.
	PrefixLength interface{}
}

PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv6 Match source IPv6 address.

func (*PolicyManager_ClassMaps_ClassMap_MatchNot_SourceAddressIpv6) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv4

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

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

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

PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv4 Match destination IPv4 address.

func (*PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv4) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv6

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

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

	// This attribute is a key. IPv6 prefix length. The type is interface{} with
	// range: 0..128.
	PrefixLength interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv6 Match destination IPv6 address.

func (*PolicyManager_ClassMaps_ClassMap_Match_DestinationAddressIpv6) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_DhcpClientId

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

	// This attribute is a key. Dhcp client Id. The type is string with length:
	// 1..32.
	Value interface{}

	// This attribute is a key. Dhcp client id Ascii/Hex. The type is string with
	// pattern: (none)|(ascii)|(hex).
	Flag interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_DhcpClientId Match dhcp client ID.

func (*PolicyManager_ClassMaps_ClassMap_Match_DhcpClientId) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_DhcpClientIdRegex

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

	// This attribute is a key. Dhcp client id regular expression. The type is
	// string with length: 1..32.
	Value interface{}

	// This attribute is a key. Dhcp client Id regex Ascii/Hex. The type is string
	// with pattern: (none)|(ascii)|(hex).
	Flag interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_DhcpClientIdRegex Match dhcp client id regex.

func (*PolicyManager_ClassMaps_ClassMap_Match_DhcpClientIdRegex) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_DomainName

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

	// This attribute is a key. Domain name or regular expression. The type is
	// string with length: 1..32.
	Name interface{}

	// This attribute is a key. Domain-format name. The type is string with
	// length: 1..32.
	Format interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_DomainName Match domain name.

func (*PolicyManager_ClassMaps_ClassMap_Match_DomainName) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_DomainNameRegex

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

	// This attribute is a key. Domain name or regular expression. The type is
	// string with length: 1..32.
	Regex interface{}

	// This attribute is a key. Domain-format name. The type is string with
	// length: 1..32.
	Format interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_DomainNameRegex Match domain name.

func (*PolicyManager_ClassMaps_ClassMap_Match_DomainNameRegex) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_Flow

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

	// Configure the flow-key parameters. The type is slice of string with
	// pattern: (SourceIP)|(DestinationIP)|(5Tuple).
	FlowKey []interface{}

	// Configure the flow-cache parameters.
	FlowCache PolicyManager_ClassMaps_ClassMap_Match_Flow_FlowCache
}

PolicyManager_ClassMaps_ClassMap_Match_Flow Match flow.

func (*PolicyManager_ClassMaps_ClassMap_Match_Flow) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_Flow_FlowCache

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

	// Maximum time of inactivity for a flow. The type is one of the following
	// types: int with range: 10..2550, or string with pattern: (None)|(none).
	IdleTimeout interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_Flow_FlowCache Configure the flow-cache parameters

func (*PolicyManager_ClassMaps_ClassMap_Match_Flow_FlowCache) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv4

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

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

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

PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv4 Match source IPv4 address.

func (*PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv4) GetEntityData

type PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv6

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

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

	// This attribute is a key. IPv6 prefix length. The type is interface{} with
	// range: 0..128.
	PrefixLength interface{}
}

PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv6 Match source IPv6 address.

func (*PolicyManager_ClassMaps_ClassMap_Match_SourceAddressIpv6) GetEntityData

type PolicyManager_PolicyMaps

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

	// Policy-map configuration. The type is slice of
	// PolicyManager_PolicyMaps_PolicyMap.
	PolicyMap []*PolicyManager_PolicyMaps_PolicyMap
}

PolicyManager_PolicyMaps Policy-maps configuration.

func (*PolicyManager_PolicyMaps) GetEntityData

func (policyMaps *PolicyManager_PolicyMaps) GetEntityData() *types.CommonEntityData

type PolicyManager_PolicyMaps_PolicyMap

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

	// This attribute is a key. Type of policy-map. The type is PolicyMapType.
	Type interface{}

	// This attribute is a key. Name of policy-map. The type is string with
	// pattern: [a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}.
	Name interface{}

	// Description for this policy-map. The type is string.
	Description interface{}

	// Policy event. The type is slice of
	// PolicyManager_PolicyMaps_PolicyMap_Event.
	Event []*PolicyManager_PolicyMaps_PolicyMap_Event

	// Class-map rule. The type is slice of
	// PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule.
	PolicyMapRule []*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule
}

PolicyManager_PolicyMaps_PolicyMap Policy-map configuration.

func (*PolicyManager_PolicyMaps_PolicyMap) GetEntityData

func (policyMap *PolicyManager_PolicyMaps_PolicyMap) GetEntityData() *types.CommonEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event

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

	// This attribute is a key. Event type. The type is EventType.
	EventType interface{}

	// Execute all the matched classes. The type is interface{}.
	EventModeMatchAll interface{}

	// Execute only the first matched class. The type is interface{}.
	EventModeMatchFirst interface{}

	// Class-map rule. The type is slice of
	// PolicyManager_PolicyMaps_PolicyMap_Event_Class.
	Class []*PolicyManager_PolicyMaps_PolicyMap_Event_Class
}

PolicyManager_PolicyMaps_PolicyMap_Event Policy event.

func (*PolicyManager_PolicyMaps_PolicyMap_Event) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class

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

	// This attribute is a key. Name of class. The type is string with pattern:
	// [a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}.
	ClassName interface{}

	// This attribute is a key. Type of class. The type is PmapClassMapType.
	ClassType interface{}

	// Class execution strategy. The type is ExecutionStrategy.
	ClassExecutionStrategy interface{}

	// Action rule. The type is slice of
	// PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule.
	ActionRule []*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class Class-map rule.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule

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

	// This attribute is a key. Sequence number for this action. The type is
	// interface{} with range: 1..65535.
	ActionSequenceNumber interface{}

	// Disconnect session. The type is interface{}.
	Disconnect interface{}

	// Monitor session. The type is interface{}.
	Monitor interface{}

	// Activate dynamic templates.
	ActivateDynamicTemplate PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_ActivateDynamicTemplate

	// Authentication related configuration.
	Authenticate PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authenticate

	// Authorize.
	Authorize PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authorize

	// Deactivate dynamic templates.
	DeactivateDynamicTemplate PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_DeactivateDynamicTemplate

	// Set a timer to execute a rule on its expiry.
	SetTimer PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_SetTimer

	// Disable timer before it expires.
	StopTimer PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_StopTimer
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule Action rule.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_ActivateDynamicTemplate

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

	// Dynamic template name. The type is string. This attribute is mandatory.
	Name interface{}

	// Name of the AAA method list. The type is string.
	AaaList interface{}
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_ActivateDynamicTemplate Activate dynamic templates. This type is a presence type.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_ActivateDynamicTemplate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authenticate

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

	// Name of the AAA method list. The type is string.
	AaaList interface{}
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authenticate Authentication related configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authenticate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authorize

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

	// Name of the AAA method list. The type is string. This attribute is
	// mandatory.
	AaaList interface{}

	// Specify an Authorize format name. The type is string.
	Format interface{}

	// Specify an Authorize format name. The type is AuthorizeIdentifier.
	Identifier interface{}

	// Specify a password to be used for AAA request. The type is string. This
	// attribute is mandatory.
	Password interface{}
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authorize Authorize. This type is a presence type.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_Authorize) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_DeactivateDynamicTemplate

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

	// Dynamic template name. The type is string. This attribute is mandatory.
	Name interface{}

	// Name of the AAA method list. The type is string.
	AaaList interface{}
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_DeactivateDynamicTemplate Deactivate dynamic templates. This type is a presence type.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_DeactivateDynamicTemplate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_SetTimer

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

	// Name of the timer. The type is string. This attribute is mandatory.
	TimerName interface{}

	// Timer value in minutes. The type is interface{} with range: 0..4294967295.
	// This attribute is mandatory. Units are minutes.
	TimerValue interface{}
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_SetTimer Set a timer to execute a rule on its expiry This type is a presence type.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_SetTimer) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_StopTimer

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

	// Name of the timer. The type is string.
	TimerName interface{}
}

PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_StopTimer Disable timer before it expires.

func (*PolicyManager_PolicyMaps_PolicyMap_Event_Class_ActionRule_StopTimer) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule

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

	// This attribute is a key. Name of class-map. The type is string with
	// pattern: [a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}.
	ClassName interface{}

	// This attribute is a key. Type of class-map. The type is PmapClassMapType.
	ClassType interface{}

	// Priority level. The type is interface{} with range: 1..7.
	PriorityLevel interface{}

	// Default random early detection. The type is interface{}.
	DefaultRed interface{}

	// ECN based random early detection. The type is interface{}.
	EcnRed interface{}

	// Policy action http redirect. Redirect to this url. The type is string.
	HttpRedirect interface{}

	// Policy action PBR transmit. The type is interface{}.
	PbrTransmit interface{}

	// Policy action PBR drop. The type is interface{}.
	PbrDrop interface{}

	// Policy action DECAP GRE. The type is interface{}.
	DecapGre interface{}

	// Policy action service fragment. Service fragment name. The type is string.
	ServiceFragment interface{}

	// Policy action fragment. Fragment name. The type is string.
	Fragment interface{}

	// Policy action shape.
	Shape PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape

	// Policy action minimum bandwidth queue.
	MinBandwidth PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MinBandwidth

	// Policy action bandwidth remaining queue.
	BandwidthRemaining PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_BandwidthRemaining

	// Policy action queue limit.
	QueueLimit PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_QueueLimit

	// Policy action pfc.
	Pfc PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc

	// Random early detection. All RED profiles in a class must be based on the
	// same field. The type is slice of
	// PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_RandomDetect.
	RandomDetect []*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_RandomDetect

	// Policy action packet marking.
	Set PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Set

	// Configures traffic policing action.
	Police PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police

	// Configure a child service policy.
	ServicePolicy PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServicePolicy

	// Policy action CAC.
	CacLocal PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal

	// Policy flow monitoring action.
	FlowParams PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_FlowParams

	// Policy IP-CBR metric action.
	MetricsIpcbr PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr

	// Policy action react.
	React PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React

	// Policy action redirect.
	PbrRedirect PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect

	// Policy action PBR forward.
	PbrForward PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward

	// Policy action service function path.
	ServiceFunctionPath PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServiceFunctionPath

	// HTTP Enrichment action.
	HttpEnrichment PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_HttpEnrichment
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule Class-map rule.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_BandwidthRemaining

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

	// Remaining bandwidth value. The type is interface{} with range:
	// 0..4294967295.
	Value interface{}

	// Remaining bandwidth units. The type is string with pattern:
	// (percent)|(ratio).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_BandwidthRemaining Policy action bandwidth remaining queue.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_BandwidthRemaining) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal

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

	// The interval after which a flow is removed, if there is no activity. If
	// timeout is 0 this flow does not expire. The type is one of the following
	// types: int with range: 10..2550, or string with pattern: (None)|(none).
	FlowIdleTimeout interface{}

	// The rate allocated for all flows.
	Rate PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_Rate

	// The rate allocated per flow.
	FlowRate PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_FlowRate
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal Policy action CAC.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_FlowRate

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

	// Rate value. The type is interface{} with range: 1..4294967295.
	Value interface{}

	// Rate units. The type is string with pattern:
	// (bps)|(kbps)|(mbps)|(gbps)|(cellsps).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_FlowRate The rate allocated per flow.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_FlowRate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_Rate

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

	// Rate value. The type is interface{} with range: 1..4294967295.
	Value interface{}

	// Rate units. The type is string with pattern:
	// (bps)|(kbps)|(mbps)|(gbps)|(cellsps).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_Rate The rate allocated for all flows.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_CacLocal_Rate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_FlowParams

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

	// Max simultaneous flows monitored per policy class. The type is interface{}
	// with range: 0..4096.
	MaxFlow interface{}

	// Monitored interval duration. The type is interface{} with range:
	// 0..4294967295. Units are seconds.
	IntervalDuration interface{}

	// Keep stats/metrics on box for so many intervals. The type is interface{}
	// with range: 0..4294967295.
	History interface{}

	// Declare a flow dead if no packets received in so much time. The type is
	// interface{} with range: 0..4294967295. Units are seconds.
	Timeout interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_FlowParams Policy flow monitoring action.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_FlowParams) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_HttpEnrichment

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

	// Subscriber Mac. The type is interface{}.
	Subscribermac interface{}

	// Subscriber IP. The type is interface{}.
	Subscriberip interface{}

	// Hostname. The type is interface{}.
	Hostname interface{}

	// Bng Identifier Interface. The type is interface{}.
	Bngidentifierinterface interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_HttpEnrichment HTTP Enrichment action

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_HttpEnrichment) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr

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

	// Nominal per-flow data rate.
	Rate PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_Rate

	// Media-packet structure.
	MediaPacket PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_MediaPacket
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr Policy IP-CBR metric action.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_MediaPacket

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

	// Nominal size of the media-packet. The type is interface{} with range:
	// 0..65535. Units are bytes.
	Size interface{}

	// Nominal number of media packets in an IP payload. The type is interface{}
	// with range: 1..64. Units are packets.
	CountInLayer3 interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_MediaPacket Media-packet structure.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_MediaPacket) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_Rate

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

	// Nominal rate specified at the L3 (IP). The type is interface{} with range:
	// 0..4294967295. Units are bps.
	Layer3 interface{}

	// Nominal IP layer packet rate (in pps). The type is interface{} with range:
	// 0..4294967295. Units are pps.
	Packet interface{}

	// Nominal data rate of the media flow (ip payload). The type is interface{}
	// with range: 1..3000000000. Units are bps.
	Media interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_Rate Nominal per-flow data rate.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MetricsIpcbr_Rate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MinBandwidth

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

	// Minimum bandwidth value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Minimum bandwidth units. The type is string with pattern:
	// (bps)|(kbps)|(mbps)|(gbps)|(percent)|(per-million)|(per-thousand).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MinBandwidth Policy action minimum bandwidth queue.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_MinBandwidth) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward

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

	// Use system default routing table. The type is interface{}.
	Default interface{}

	// Use specific next-hop. Here we present 5 different combination for the pbf
	// next-hop.  1. vrf with v6 address  2. vrf with v4 address  3. vrf  4. v4
	// address  5. v6 address.
	NextHop PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward_NextHop
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward Policy action PBR forward.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward_NextHop

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

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

	// 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{}

	// 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{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward_NextHop Use specific next-hop. Here we present 5 different combination for the pbf next-hop.

  1. vrf with v6 address
  2. vrf with v4 address
  3. vrf
  4. v4 address
  5. v6 address

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrForward_NextHop) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect

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

	// Policy action redirect IPv4.
	Ipv4 PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv4

	// Policy action redirect IPv6.
	Ipv6 PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv6

	// Next hop address.
	NextHop PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect Policy action redirect

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv4

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

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

	// IPv4 VRF. The type is string.
	Vrf interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv4 Policy action redirect IPv4

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv4) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv6

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

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

	// IPv6 VRF. The type is string.
	Vrf interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv6 Policy action redirect IPv6

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_Ipv6) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop

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

	// Route Target.
	RouteTarget PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop Next hop address.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget

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

	// 2-byte/4-byte AS number. The type is interface{} with range: 1..4294967295.
	AsNumber interface{}

	// ASN2:index 2/4 byte (hex or decimal format). The type is interface{} with
	// range: 0..4294967295.
	Index interface{}

	// IPv4 address.
	Ipv4Address PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget_Ipv4Address
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget Route Target

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget_Ipv4Address

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

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

	// IPv4 netmask. The type is string.
	Netmask interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget_Ipv4Address IPv4 address.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_PbrRedirect_NextHop_RouteTarget_Ipv4Address) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc

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

	// Pfc Pause set value. The type is interface{}.
	PfcPauseSet interface{}

	PfcBufferSize PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcBufferSize

	PfcPauseThreshold PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcPauseThreshold

	PfcResumeThreshold PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcResumeThreshold
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc Policy action pfc.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcBufferSize

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

	// Pfc buffer size value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Pfc buffer size units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcBufferSize

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcBufferSize) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcPauseThreshold

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

	// Pfc pause threshold value. The type is interface{} with range:
	// 0..4294967295.
	Value interface{}

	// Pfc pause threshold units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcPauseThreshold

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcPauseThreshold) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcResumeThreshold

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

	// Pfc resume threshold value. The type is interface{} with range:
	// 0..4294967295.
	Value interface{}

	// Pfc resume threshold units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcResumeThreshold

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Pfc_PfcResumeThreshold) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police

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

	// Rate configuration.
	Rate PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Rate

	// Peak rate configuration.
	PeakRate PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakRate

	// Burst configuration.
	Burst PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Burst

	// Peak burst configuration.
	PeakBurst PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakBurst

	// Configures the action to take on packets that conform to the rate limit.
	ConformAction PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction

	// Configures the action to take on packets that exceed the rate limit.
	ExceedAction PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction

	// Configures the action to take on packets that violate the rate limit.
	ViolateAction PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police Configures traffic policing action.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Burst

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

	// Burst value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Burst units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Burst Burst configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Burst) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction

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

	// Police action transmit. The type is interface{}.
	Transmit interface{}

	// Police action drop. The type is interface{}.
	Drop interface{}

	// Police action packet marking.
	Set PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction_Set
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction Configures the action to take on packets that conform to the rate limit.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction_Set

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

	// Marks a packet by setting the DSCP in the ToS byte. The type is string with
	// pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp interface{}

	// Sets the QoS group identifiers on IPv4 or MPLS packets. The set qos-group
	// is supported only on an ingress policy. The type is interface{} with range:
	// 0..512.
	QosGroup interface{}

	// Sets the Traffic class identifiers on IPv4 or MPLS packets. The type is
	// interface{} with range: 0..63.
	TrafficClass interface{}

	// Sets the discard class on IPv4 or MPLS packets. The discard-class can be
	// used only in service policies that are attached in the ingress policy. The
	// type is interface{} with range: 0..7.
	DiscardClass interface{}

	// Sets the forward class. The type is interface{} with range: 0..7.
	ForwardClass interface{}

	// Set DF bit. The type is interface{} with range: 0..1.
	Df interface{}

	// Sets the specific IEEE 802.1Q Layer 2 CoS value of an outgoing packet. This
	// command should be used by a router if a user wants to mark a packet that is
	// being sent to a switch. Switches can leverage Layer 2 header information,
	// including a CoS value marking. Packets entering an interface cannot be set
	// with a CoS value. The type is interface{} with range: 0..7.
	Cos interface{}

	// Set inner cos. The type is interface{} with range: 0..7.
	InnerCos interface{}

	// Sets the precedence value in the IP header. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence interface{}

	// Sets the precedence tunnel value for ipsec. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	PrecedenceTunnel interface{}

	// Sets the experimental value of the MPLS packet top-most labels. The type is
	// interface{} with range: 0..7.
	MplsExperimentalTopMost interface{}

	// Sets the experimental value of the MPLS packet imposition labels.
	// Imposition can be used only in service policies that are attached in the
	// ingress policy. The type is interface{} with range: 0..7.
	MplsExperimentalImposition interface{}

	// Sets the spatial reuse protocol priority value of an outgoing packet. The
	// type is interface{} with range: 0..7.
	SrpPriority interface{}

	// Set FrameRelay DE bit. The type is interface{} with range: 0..1.
	FrDe interface{}

	// Set DEI bit. The type is interface{} with range: 0..1.
	Dei interface{}

	// Set DEI imposition bit. The type is interface{} with range: 0..1.
	DeiImposition interface{}

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

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

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction_Set Police action packet marking.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ConformAction_Set) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction

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

	// Police action transmit. The type is interface{}.
	Transmit interface{}

	// Police action drop. The type is interface{}.
	Drop interface{}

	// Police action packet marking.
	Set PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction_Set
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction Configures the action to take on packets that exceed the rate limit.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction_Set

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

	// Marks a packet by setting the DSCP in the ToS byte. The type is string with
	// pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp interface{}

	// Sets the QoS group identifiers on IPv4 or MPLS packets. The set qos-group
	// is supported only on an ingress policy. The type is interface{} with range:
	// 0..512.
	QosGroup interface{}

	// Sets the Traffic class identifiers on IPv4 or MPLS packets. The type is
	// interface{} with range: 0..63.
	TrafficClass interface{}

	// Sets the discard class on IPv4 or MPLS packets. The discard-class can be
	// used only in service policies that are attached in the ingress policy. The
	// type is interface{} with range: 0..7.
	DiscardClass interface{}

	// Sets the forward class. The type is interface{} with range: 0..7.
	ForwardClass interface{}

	// Set DF bit. The type is interface{} with range: 0..1.
	Df interface{}

	// Sets the specific IEEE 802.1Q Layer 2 CoS value of an outgoing packet. This
	// command should be used by a router if a user wants to mark a packet that is
	// being sent to a switch. Switches can leverage Layer 2 header information,
	// including a CoS value marking. Packets entering an interface cannot be set
	// with a CoS value. The type is interface{} with range: 0..7.
	Cos interface{}

	// Set inner cos. The type is interface{} with range: 0..7.
	InnerCos interface{}

	// Sets the precedence value in the IP header. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence interface{}

	// Sets the precedence tunnel value for ipsec. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	PrecedenceTunnel interface{}

	// Sets the experimental value of the MPLS packet top-most labels. The type is
	// interface{} with range: 0..7.
	MplsExperimentalTopMost interface{}

	// Sets the experimental value of the MPLS packet imposition labels.
	// Imposition can be used only in service policies that are attached in the
	// ingress policy. The type is interface{} with range: 0..7.
	MplsExperimentalImposition interface{}

	// Sets the spatial reuse protocol priority value of an outgoing packet. The
	// type is interface{} with range: 0..7.
	SrpPriority interface{}

	// Set FrameRelay DE bit. The type is interface{} with range: 0..1.
	FrDe interface{}

	// Set DEI bit. The type is interface{} with range: 0..1.
	Dei interface{}

	// Set DEI imposition bit. The type is interface{} with range: 0..1.
	DeiImposition interface{}

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

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

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction_Set Police action packet marking.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ExceedAction_Set) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakBurst

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

	// Peak burst value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Peak burst units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakBurst Peak burst configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakBurst) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakRate

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

	// Peak rate value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Peak rate units. The type is string with pattern:
	// (bps)|(kbps)|(mbps)|(gbps)|(pps)|(percent)|(cellsps).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakRate Peak rate configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_PeakRate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Rate

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

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

	// Rate units. The type is string with pattern:
	// (bps)|(kbps)|(mbps)|(gbps)|(pps)|(percent)|(cellsps).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Rate Rate configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_Rate) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction

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

	// Police action transmit. The type is interface{}.
	Transmit interface{}

	// Police action drop. The type is interface{}.
	Drop interface{}

	// Police action packet marking.
	Set PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction_Set
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction Configures the action to take on packets that violate the rate limit.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction_Set

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

	// Marks a packet by setting the DSCP in the ToS byte. The type is string with
	// pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp interface{}

	// Sets the QoS group identifiers on IPv4 or MPLS packets. The set qos-group
	// is supported only on an ingress policy. The type is interface{} with range:
	// 0..512.
	QosGroup interface{}

	// Sets the Traffic class identifiers on IPv4 or MPLS packets. The type is
	// interface{} with range: 0..63.
	TrafficClass interface{}

	// Sets the discard class on IPv4 or MPLS packets. The discard-class can be
	// used only in service policies that are attached in the ingress policy. The
	// type is interface{} with range: 0..7.
	DiscardClass interface{}

	// Sets the forward class. The type is interface{} with range: 0..7.
	ForwardClass interface{}

	// Set DF bit. The type is interface{} with range: 0..1.
	Df interface{}

	// Sets the specific IEEE 802.1Q Layer 2 CoS value of an outgoing packet. This
	// command should be used by a router if a user wants to mark a packet that is
	// being sent to a switch. Switches can leverage Layer 2 header information,
	// including a CoS value marking. Packets entering an interface cannot be set
	// with a CoS value. The type is interface{} with range: 0..7.
	Cos interface{}

	// Set inner cos. The type is interface{} with range: 0..7.
	InnerCos interface{}

	// Sets the precedence value in the IP header. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence interface{}

	// Sets the precedence tunnel value for ipsec. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	PrecedenceTunnel interface{}

	// Sets the experimental value of the MPLS packet top-most labels. The type is
	// interface{} with range: 0..7.
	MplsExperimentalTopMost interface{}

	// Sets the experimental value of the MPLS packet imposition labels.
	// Imposition can be used only in service policies that are attached in the
	// ingress policy. The type is interface{} with range: 0..7.
	MplsExperimentalImposition interface{}

	// Sets the spatial reuse protocol priority value of an outgoing packet. The
	// type is interface{} with range: 0..7.
	SrpPriority interface{}

	// Set FrameRelay DE bit. The type is interface{} with range: 0..1.
	FrDe interface{}

	// Set DEI bit. The type is interface{} with range: 0..1.
	Dei interface{}

	// Set DEI imposition bit. The type is interface{} with range: 0..1.
	DeiImposition interface{}

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

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

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction_Set Police action packet marking.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Police_ViolateAction_Set) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_QueueLimit

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

	// Remaining bandwidth value. The type is interface{} with range:
	// 0..4294967295.
	Value interface{}

	// Remaining bandwidth units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells)|(percent).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_QueueLimit Policy action queue limit.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_QueueLimit) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_RandomDetect

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

	// This attribute is a key. Minimum RED threshold value. The type is
	// interface{} with range: 0..4294967295.
	ThresholdMinValue interface{}

	// This attribute is a key. Minimum RED threshold units. The type is string
	// with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	ThresholdMinUnits interface{}

	// This attribute is a key. Maximum RED threshold value. The type is
	// interface{} with range: 0..4294967295.
	ThresholdMaxValue interface{}

	// This attribute is a key. Maximum RED threshold units. The type is string
	// with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	ThresholdMaxUnits interface{}

	// WRED based on CoS. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Cos []interface{}

	// WRED based on discard class. The type is slice of interface{} with range:
	// 0..7.
	DiscardClass []interface{}

	// WRED based on DSCP. The type is slice of string with pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(([0-9]|[1-5][0-9]|6[0-3])-([0-9]|[1-5][0-9]|6[0-3]))|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp []interface{}

	// MPLS Experimental value based WRED. The type is slice of interface{} with
	// range: 0..7.
	MplsExp []interface{}

	// WRED based on precedence. The type is one of the following types: slice of
	// int with range: 0..7, or slice of string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence []interface{}

	// DEI based WRED. The type is interface{} with range: 0..1.
	Dei interface{}

	// ECN based WRED. The type is interface{}.
	Ecn interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_RandomDetect Random early detection. All RED profiles in a class must be based on the same field.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_RandomDetect) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React

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

	// String describing the react statement. The type is string.
	Descrition interface{}

	// React criterion delay factor. The type is interface{}.
	CriterionDelayFactor interface{}

	// React criterion media stop. The type is interface{}.
	CriterionMediaStop interface{}

	// React criterion mrv. The type is interface{}.
	CriterionMrv interface{}

	// React criterion flow count. The type is interface{}.
	CriterionFlowCount interface{}

	// React criterion packet rate. The type is interface{}.
	CriterionPacketRate interface{}

	// Action on alert.
	Action PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Action

	// Alaram settings.
	Alarm PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm

	// Alarm threshold settings.
	Threshold PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React Policy action react.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Action

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

	// Syslog. The type is interface{}.
	Syslog interface{}

	// SNMP. The type is interface{}.
	Snmp interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Action Action on alert.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Action) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm

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

	// Severity of the alarm. The type is string with pattern:
	// (informational)|(notification)|(warning)|(error)|(critical)|(alert)|(emergency).
	Severity interface{}

	// Alarm type.
	Type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm_Type
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm Alaram settings.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm_Type

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

	// Discrete alarm type. The type is interface{}.
	Discrete interface{}

	// Number of flows to reach before triggering alarm. The type is interface{}
	// with range: 0..65535. Units are number of flows.
	GroupCount interface{}

	// Percent to reach before triggering alarm. The type is interface{} with
	// range: 0..65535. Units are percentage.
	GroupPercent interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm_Type Alarm type.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Alarm_Type) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold

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

	// Alarm trigger value settings.
	TriggerValue PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerValue

	// Alarm trigger type settings.
	TriggerType PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerType
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold Alarm threshold settings.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerType

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

	// Immediate trigger. The type is interface{}.
	Immediate interface{}

	// Trigger averaged over N intervals. The type is interface{} with range:
	// 0..4294967295.
	Average interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerType Alarm trigger type settings.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerType) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerValue

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

	// Greater than. The type is string.
	GreaterThan interface{}

	// Greater than equal. The type is string.
	GreaterThanEqual interface{}

	// Less than. The type is string.
	LessThan interface{}

	// Less than equal. The type is string.
	LessThanEqual interface{}

	// Range. The type is string.
	Range interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerValue Alarm trigger value settings.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_React_Threshold_TriggerValue) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServiceFunctionPath

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

	// Service function path id. The type is interface{} with range: 1..16777215.
	// This attribute is mandatory.
	PathId interface{}

	// Service function path index. The type is interface{} with range: 1..255.
	// This attribute is mandatory.
	Index interface{}

	// Service function path metadata name. The type is string.
	Metadata interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServiceFunctionPath Policy action service function path. This type is a presence type.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServiceFunctionPath) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServicePolicy

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

	// Name of service-policy. The type is string with pattern:
	// [a-zA-Z0-9][a-zA-Z0-9\._@$%+#:=<>\-]{0,62}.
	PolicyName interface{}

	// Type of service-policy. The type is string with pattern:
	// (PBR)|(QOS)|(REDIRECT)|(TRAFFIC)|(pbr)|(qos)|(redirect)|(traffic).
	Type interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServicePolicy Configure a child service policy.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_ServicePolicy) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Set

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

	// Marks a packet by setting the DSCP in the ToS byte. The type is string with
	// pattern:
	// ([0-9]|[1-5][0-9]|6[0-3])|(af11)|(af12)|(af13)|(af21)|(af22)|(af23)|(af31)|(af32)|(af33)|(af41)|(af42)|(af43)|(ef)|(default)|(cs1)|(cs2)|(cs3)|(cs4)|(cs5)|(cs6)|(cs7).
	Dscp interface{}

	// Sets the QoS group identifiers on IPv4 or MPLS packets. The set qos-group
	// is supported only on an ingress policy. The type is interface{} with range:
	// 0..512.
	QosGroup interface{}

	// Sets the Traffic class identifiers on IPv4 or MPLS packets. The type is
	// interface{} with range: 0..63.
	TrafficClass interface{}

	// Sets the discard class on IPv4 or MPLS packets. The discard-class can be
	// used only in service policies that are attached in the ingress policy. The
	// type is interface{} with range: 0..7.
	DiscardClass interface{}

	// Sets the forward class. The type is interface{} with range: 0..7.
	ForwardClass interface{}

	// Set DF bit. The type is interface{} with range: 0..1.
	Df interface{}

	// Sets the specific IEEE 802.1Q Layer 2 CoS value of an outgoing packet. This
	// command should be used by a router if a user wants to mark a packet that is
	// being sent to a switch. Switches can leverage Layer 2 header information,
	// including a CoS value marking. Packets entering an interface cannot be set
	// with a CoS value. The type is interface{} with range: 0..7.
	Cos interface{}

	// Set inner cos. The type is interface{} with range: 0..7.
	InnerCos interface{}

	// Sets the precedence value in the IP header. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	Precedence interface{}

	// Sets the precedence tunnel value for ipsec. The type is one of the
	// following types: int with range: 0..7, or string with pattern:
	// (critical)|(flash)|(flash-override)|(immediate)|(internet)|(network)|(priority)|(routine).
	PrecedenceTunnel interface{}

	// Sets the experimental value of the MPLS packet top-most labels. The type is
	// interface{} with range: 0..7.
	MplsExperimentalTopMost interface{}

	// Sets the experimental value of the MPLS packet imposition labels.
	// Imposition can be used only in service policies that are attached in the
	// ingress policy. The type is interface{} with range: 0..7.
	MplsExperimentalImposition interface{}

	// Sets the spatial reuse protocol priority value of an outgoing packet. The
	// type is interface{} with range: 0..7.
	SrpPriority interface{}

	// Set FrameRelay DE bit. The type is interface{} with range: 0..1.
	FrDe interface{}

	// Set DEI bit. The type is interface{} with range: 0..1.
	Dei interface{}

	// Set DEI imposition bit. The type is interface{} with range: 0..1.
	DeiImposition interface{}

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

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

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Set Policy action packet marking.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Set) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape

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

	// Rate configuration.
	Rate PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Rate

	// Burst size configuration.
	Burst PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Burst
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape Policy action shape.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Burst

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

	// Burst size value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Burst size units. The type is string with pattern:
	// (bytes)|(kbytes)|(mbytes)|(gbytes)|(us)|(ms)|(packets)|(cells).
	Units interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Burst Burst size configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Burst) GetEntityData

type PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Rate

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

	// Shape bandwidth value. The type is interface{} with range: 0..4294967295.
	Value interface{}

	// Shape bandwidth units. The type is string with pattern:
	// (bps)|(kbps)|(mbps)|(gbps)|(percent)|(per-million)|(per-thousand).
	Unit interface{}
}

PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Rate Rate configuration.

func (*PolicyManager_PolicyMaps_PolicyMap_PolicyMapRule_Shape_Rate) GetEntityData

type PolicyMapType

type PolicyMapType string

PolicyMapType represents Policy manager policy-map type.

const (
	// QoS Policymap
	PolicyMapType_qos PolicyMapType = "qos"

	// PBR Policymap
	PolicyMapType_pbr PolicyMapType = "pbr"

	// TRAFFIC Policymap
	PolicyMapType_traffic PolicyMapType = "traffic"

	// SUBSCRIBER-CONTROL Policymap
	PolicyMapType_subscriber_control PolicyMapType = "subscriber-control"

	// REDIRECT Policy map
	PolicyMapType_redirect PolicyMapType = "redirect"

	// FLOWMONITOR Policy map
	PolicyMapType_flow_monitor PolicyMapType = "flow-monitor"
)

Jump to

Keyboard shortcuts

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