acl

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 defines configuration and operational state data for network access control lists (i.e., filters, rules, etc.). ACLs are organized into ACL sets, with each set containing one or more ACL entries. ACL sets are identified by a unique name, while each entry within a set is assigned a sequence-id that determines the order in which the ACL rules are applied to a packet.

Individual ACL rules specify match criteria based on fields in the packet, along with an action that defines how matching packets should be handled. Entries have a type that indicates the type of match criteria, e.g., MAC layer, IPv4, IPv6, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACCEPT

type ACCEPT struct {
}

func (ACCEPT) String

func (id ACCEPT) String() string

type ACLCOUNTERCAPABILITY

type ACLCOUNTERCAPABILITY struct {
}

func (ACLCOUNTERCAPABILITY) String

func (id ACLCOUNTERCAPABILITY) String() string

type ACLIPV4

type ACLIPV4 struct {
}

func (ACLIPV4) String

func (id ACLIPV4) String() string

type ACLIPV6

type ACLIPV6 struct {
}

func (ACLIPV6) String

func (id ACLIPV6) String() string

type ACLL2

type ACLL2 struct {
}

func (ACLL2) String

func (id ACLL2) String() string

type ACLMIXED

type ACLMIXED struct {
}

func (ACLMIXED) String

func (id ACLMIXED) String() string

type ACLTYPE

type ACLTYPE struct {
}

func (ACLTYPE) String

func (id ACLTYPE) String() string

type AGGREGATEONLY

type AGGREGATEONLY struct {
}

func (AGGREGATEONLY) String

func (id AGGREGATEONLY) String() string

type Acl

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

	// Global config data for ACLs.
	Config Acl_Config

	// Global operational state data for ACLs.
	State Acl_State

	// Access list entries variables enclosing container.
	AclSets Acl_AclSets

	// Enclosing container for the list of interfaces on which ACLs are set.
	Interfaces Acl_Interfaces
}

Acl Top level enclosing container for ACL model config and operational state data

func (*Acl) GetEntityData

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

type Acl_AclSets

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

	// List of ACL sets, each comprising of a list of ACL entries. The type is
	// slice of Acl_AclSets_AclSet.
	AclSet []*Acl_AclSets_AclSet
}

Acl_AclSets Access list entries variables enclosing container

func (*Acl_AclSets) GetEntityData

func (aclSets *Acl_AclSets) GetEntityData() *types.CommonEntityData

type Acl_AclSets_AclSet

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

	// This attribute is a key. Reference to the name list key. The type is
	// string. Refers to acl.Acl_AclSets_AclSet_Config_Name
	Name interface{}

	// This attribute is a key. Reference to the type list key. The type is one of
	// the following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}

	// Access list config.
	Config Acl_AclSets_AclSet_Config

	// Access list state information.
	State Acl_AclSets_AclSet_State

	// Access list entries container.
	AclEntries Acl_AclSets_AclSet_AclEntries
}

Acl_AclSets_AclSet List of ACL sets, each comprising of a list of ACL entries

func (*Acl_AclSets_AclSet) GetEntityData

func (aclSet *Acl_AclSets_AclSet) GetEntityData() *types.CommonEntityData

type Acl_AclSets_AclSet_AclEntries

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

	// List of ACL entries comprising an ACL set. The type is slice of
	// Acl_AclSets_AclSet_AclEntries_AclEntry.
	AclEntry []*Acl_AclSets_AclSet_AclEntries_AclEntry
}

Acl_AclSets_AclSet_AclEntries Access list entries container

func (*Acl_AclSets_AclSet_AclEntries) GetEntityData

func (aclEntries *Acl_AclSets_AclSet_AclEntries) GetEntityData() *types.CommonEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry

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

	// This attribute is a key. references the list key. The type is string with
	// range: 0..4294967295. Refers to
	// acl.Acl_AclSets_AclSet_AclEntries_AclEntry_Config_SequenceId
	SequenceId interface{}

	// Access list entries config.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_Config

	// State information for ACL entries.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_State

	// Ethernet header fields.
	L2 Acl_AclSets_AclSet_AclEntries_AclEntry_L2

	// Top level container for IPv4 match field data.
	Ipv4 Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4

	// Top-level container for IPv6 match field data.
	Ipv6 Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6

	// Transport fields container.
	Transport Acl_AclSets_AclSet_AclEntries_AclEntry_Transport

	// Input interface container.
	InputInterface Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface

	// Enclosing container for list of ACL actions associated with an entry.
	Actions Acl_AclSets_AclSet_AclEntries_AclEntry_Actions
}

Acl_AclSets_AclSet_AclEntries_AclEntry List of ACL entries comprising an ACL set

func (*Acl_AclSets_AclSet_AclEntries_AclEntry) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Actions

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

	// Config data for ACL actions.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_Config

	// State information for ACL actions.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_State
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Actions Enclosing container for list of ACL actions associated with an entry

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Actions) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_Config

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

	// Specifies the forwarding action.  One forwarding action must be specified
	// for each ACL entry. The type is one of the following: DROPACCEPTREJECT.
	// This attribute is mandatory.
	ForwardingAction interface{}

	// Specifies the log action and destination for matched packets.  The default
	// is not to log the packet. The type is one of the following:
	// LOGNONELOGSYSLOG. The default value is LOG_NONE.
	LogAction interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_Config Config data for ACL actions

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_State

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

	// Specifies the forwarding action.  One forwarding action must be specified
	// for each ACL entry. The type is one of the following: DROPACCEPTREJECT.
	// This attribute is mandatory.
	ForwardingAction interface{}

	// Specifies the log action and destination for matched packets.  The default
	// is not to log the packet. The type is one of the following:
	// LOGNONELOGSYSLOG. The default value is LOG_NONE.
	LogAction interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_State State information for ACL actions

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Actions_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Config

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

	// The sequence id determines the order in which ACL entries are applied.  The
	// sequence id must be unique for each entry in an ACL set.  Target devices
	// should apply the ACL entry rules in the order determined by sequence id,
	// rather than the relying only on order in the list. The type is interface{}
	// with range: 0..4294967295.
	SequenceId interface{}

	// A user-defined description, or comment, for this Access List Entry. The
	// type is string.
	Description interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Config Access list entries config

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface

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

	// Config data.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_Config

	// State information.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_State

	// Reference to an interface or subinterface.
	InterfaceRef Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef
}

Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface Input interface container

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_Config

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
}

Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_Config Config data

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef

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

	// Configured reference to interface / subinterface.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_Config

	// Operational state for interface-ref.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_State
}

Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef Reference to an interface or subinterface

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_Config

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

	// Reference to a base interface.  If a reference to a subinterface is
	// required, this leaf must be specified to indicate the base interface. The
	// type is string. Refers to interfaces.Interfaces_Interface_Name
	Interface interface{}

	// Reference to a subinterface -- this requires the base interface to be
	// specified using the interface leaf in this container.  If only a reference
	// to a base interface is requuired, this leaf should not be set. The type is
	// string with range: 0..4294967295. Refers to
	// interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index
	Subinterface interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_Config Configured reference to interface / subinterface

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_State

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

	// Reference to a base interface.  If a reference to a subinterface is
	// required, this leaf must be specified to indicate the base interface. The
	// type is string. Refers to interfaces.Interfaces_Interface_Name
	Interface interface{}

	// Reference to a subinterface -- this requires the base interface to be
	// specified using the interface leaf in this container.  If only a reference
	// to a base interface is requuired, this leaf should not be set. The type is
	// string with range: 0..4294967295. Refers to
	// interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index
	Subinterface interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_State Operational state for interface-ref

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_InterfaceRef_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_State

type Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_State struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
}

Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_State State information

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_InputInterface_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4

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

	// Configuration data for IPv4 match fields.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_Config

	// State information for IPv4 match fields.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_State
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4 Top level container for IPv4 match field data

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_Config

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

	// Source IPv4 address prefix. 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])/(([0-9])|([1-2][0-9])|(3[0-2]))$.
	SourceAddress interface{}

	// Destination IPv4 address prefix. 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])/(([0-9])|([1-2][0-9])|(3[0-2]))$.
	DestinationAddress interface{}

	// Value of diffserv codepoint. The type is interface{} with range: 0..63.
	Dscp interface{}

	// The protocol carried in the IP packet, expressed either as its IP protocol
	// number, or by a defined identity. The type is one of the following types:
	// int with range: 0..254, or :go:struct:`IPPROTOCOL
	// <ydk/models/packet_match_types/IPPROTOCOL>`.
	Protocol interface{}

	// The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and
	// hop limit in IPv6. The type is interface{} with range: 0..255.
	HopLimit interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_Config Configuration data for IPv4 match fields

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_State

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

	// Source IPv4 address prefix. 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])/(([0-9])|([1-2][0-9])|(3[0-2]))$.
	SourceAddress interface{}

	// Destination IPv4 address prefix. 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])/(([0-9])|([1-2][0-9])|(3[0-2]))$.
	DestinationAddress interface{}

	// Value of diffserv codepoint. The type is interface{} with range: 0..63.
	Dscp interface{}

	// The protocol carried in the IP packet, expressed either as its IP protocol
	// number, or by a defined identity. The type is one of the following types:
	// int with range: 0..254, or :go:struct:`IPPROTOCOL
	// <ydk/models/packet_match_types/IPPROTOCOL>`.
	Protocol interface{}

	// The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and
	// hop limit in IPv6. The type is interface{} with range: 0..255.
	HopLimit interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_State State information for IPv4 match fields

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv4_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6

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

	// Configuration data for IPv6 match fields.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_Config

	// Operational state data for IPv6 match fields.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_State
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6 Top-level container for IPv6 match field data

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_Config

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

	// Source IPv6 address prefix. The type is string with pattern:
	// ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/(12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9])$.
	SourceAddress interface{}

	// Source IPv6 Flow label. The type is interface{} with range: 0..1048575.
	SourceFlowLabel interface{}

	// Destination IPv6 address prefix. The type is string with pattern:
	// ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/(12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9])$.
	DestinationAddress interface{}

	// Destination IPv6 Flow label. The type is interface{} with range:
	// 0..1048575.
	DestinationFlowLabel interface{}

	// Value of diffserv codepoint. The type is interface{} with range: 0..63.
	Dscp interface{}

	// The protocol carried in the IP packet, expressed either as its IP protocol
	// number, or by a defined identity. The type is one of the following types:
	// int with range: 0..254, or :go:struct:`IPPROTOCOL
	// <ydk/models/packet_match_types/IPPROTOCOL>`.
	Protocol interface{}

	// The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and
	// hop limit in IPv6. The type is interface{} with range: 0..255.
	HopLimit interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_Config Configuration data for IPv6 match fields

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_State

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

	// Source IPv6 address prefix. The type is string with pattern:
	// ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/(12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9])$.
	SourceAddress interface{}

	// Source IPv6 Flow label. The type is interface{} with range: 0..1048575.
	SourceFlowLabel interface{}

	// Destination IPv6 address prefix. The type is string with pattern:
	// ^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))/(12[0-8]|1[0-1][0-9]|[1-9][0-9]|[0-9])$.
	DestinationAddress interface{}

	// Destination IPv6 Flow label. The type is interface{} with range:
	// 0..1048575.
	DestinationFlowLabel interface{}

	// Value of diffserv codepoint. The type is interface{} with range: 0..63.
	Dscp interface{}

	// The protocol carried in the IP packet, expressed either as its IP protocol
	// number, or by a defined identity. The type is one of the following types:
	// int with range: 0..254, or :go:struct:`IPPROTOCOL
	// <ydk/models/packet_match_types/IPPROTOCOL>`.
	Protocol interface{}

	// The IP packet's hop limit -- known as TTL (in hops) in IPv4 packets, and
	// hop limit in IPv6. The type is interface{} with range: 0..255.
	HopLimit interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_State Operational state data for IPv6 match fields

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Ipv6_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_L2

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

	// Configuration data.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_L2_Config

	// State Information.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_L2_State
}

Acl_AclSets_AclSet_AclEntries_AclEntry_L2 Ethernet header fields

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_L2) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_L2_Config

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

	// Source IEEE 802 MAC address. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	SourceMac interface{}

	// Source IEEE 802 MAC address mask. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	SourceMacMask interface{}

	// Destination IEEE 802 MAC address. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	DestinationMac interface{}

	// Destination IEEE 802 MAC address mask. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	DestinationMacMask interface{}

	// Ethertype field to match in Ethernet packets. The type is one of the
	// following types: int with range: 1..65535, or :go:struct:`ETHERTYPE
	// <ydk/models/packet_match_types/ETHERTYPE>`.
	Ethertype interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_L2_Config Configuration data

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_L2_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_L2_State

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

	// Source IEEE 802 MAC address. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	SourceMac interface{}

	// Source IEEE 802 MAC address mask. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	SourceMacMask interface{}

	// Destination IEEE 802 MAC address. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	DestinationMac interface{}

	// Destination IEEE 802 MAC address mask. The type is string with pattern:
	// ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$.
	DestinationMacMask interface{}

	// Ethertype field to match in Ethernet packets. The type is one of the
	// following types: int with range: 1..65535, or :go:struct:`ETHERTYPE
	// <ydk/models/packet_match_types/ETHERTYPE>`.
	Ethertype interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_L2_State State Information.

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_L2_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_State

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

	// The sequence id determines the order in which ACL entries are applied.  The
	// sequence id must be unique for each entry in an ACL set.  Target devices
	// should apply the ACL entry rules in the order determined by sequence id,
	// rather than the relying only on order in the list. The type is interface{}
	// with range: 0..4294967295.
	SequenceId interface{}

	// A user-defined description, or comment, for this Access List Entry. The
	// type is string.
	Description interface{}

	// Count of the number of packets matching the current ACL entry.  An
	// implementation should provide this counter on a per-interface per-ACL-entry
	// if possible.  If an implementation only supports ACL counters per entry
	// (i.e., not broken out per interface), then the value should be equal to the
	// aggregate count across all interfaces.  An implementation that provides
	// counters per entry per interface is not required to also provide an
	// aggregate count, e.g., per entry -- the user is expected to be able
	// implement the required aggregation if such a count is needed. The type is
	// interface{} with range: 0..18446744073709551615.
	MatchedPackets interface{}

	// Count of the number of octets (bytes) matching the current ACL entry.  An
	// implementation should provide this counter on a per-interface per-ACL-entry
	// if possible.  If an implementation only supports ACL counters per entry
	// (i.e., not broken out per interface), then the value should be equal to the
	// aggregate count across all interfaces.  An implementation that provides
	// counters per entry per interface is not required to also provide an
	// aggregate count, e.g., per entry -- the user is expected to be able
	// implement the required aggregation if such a count is needed. The type is
	// interface{} with range: 0..18446744073709551615.
	MatchedOctets interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_State State information for ACL entries

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_State) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Transport

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

	// Configuration data.
	Config Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_Config

	// State data.
	State Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_State
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Transport Transport fields container

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Transport) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_Config

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

	// Source port or range. The type is one of the following types: string with
	// pattern:
	// ^(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)\.\.(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)$,
	// or int with range: 0..65535, or enumeration PortNumRange.
	SourcePort interface{}

	// Destination port or range. The type is one of the following types: string
	// with pattern:
	// ^(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)\.\.(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)$,
	// or int with range: 0..65535, or enumeration PortNumRange.
	DestinationPort interface{}

	// List of TCP flags to match. The type is slice of [u'TCPACK', u'TCPSYN',
	// u'TCPECE', u'TCPFIN', u'TCPRST', u'TCPURG', u'TCPPSH', u'TCPCWR'].
	TcpFlags []interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_Config Configuration data

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_Config) GetEntityData

type Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_State

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

	// Source port or range. The type is one of the following types: string with
	// pattern:
	// ^(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)\.\.(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)$,
	// or int with range: 0..65535, or enumeration PortNumRange.
	SourcePort interface{}

	// Destination port or range. The type is one of the following types: string
	// with pattern:
	// ^(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)\.\.(6[0-5][0-5][0-3][0-5]|[0-5]?[0-9]?[0-9]?[0-9]?[0-9]?)$,
	// or int with range: 0..65535, or enumeration PortNumRange.
	DestinationPort interface{}

	// List of TCP flags to match. The type is slice of [u'TCPACK', u'TCPSYN',
	// u'TCPECE', u'TCPFIN', u'TCPRST', u'TCPURG', u'TCPPSH', u'TCPCWR'].
	TcpFlags []interface{}
}

Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_State State data

func (*Acl_AclSets_AclSet_AclEntries_AclEntry_Transport_State) GetEntityData

type Acl_AclSets_AclSet_Config

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

	// The name of the access-list set. The type is string.
	Name interface{}

	// The type determines the fields allowed in the ACL entries belonging to the
	// ACL set (e.g., IPv4, IPv6, etc.). The type is one of the following:
	// ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}

	// Description, or comment, for the ACL set. The type is string.
	Description interface{}
}

Acl_AclSets_AclSet_Config Access list config

func (*Acl_AclSets_AclSet_Config) GetEntityData

func (config *Acl_AclSets_AclSet_Config) GetEntityData() *types.CommonEntityData

type Acl_AclSets_AclSet_State

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

	// The name of the access-list set. The type is string.
	Name interface{}

	// The type determines the fields allowed in the ACL entries belonging to the
	// ACL set (e.g., IPv4, IPv6, etc.). The type is one of the following:
	// ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}

	// Description, or comment, for the ACL set. The type is string.
	Description interface{}
}

Acl_AclSets_AclSet_State Access list state information

func (*Acl_AclSets_AclSet_State) GetEntityData

func (state *Acl_AclSets_AclSet_State) GetEntityData() *types.CommonEntityData

type Acl_Config

type Acl_Config struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
}

Acl_Config Global config data for ACLs

func (*Acl_Config) GetEntityData

func (config *Acl_Config) GetEntityData() *types.CommonEntityData

type Acl_Interfaces

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

	// List of interfaces on which ACLs are set. The type is slice of
	// Acl_Interfaces_Interface.
	Interface []*Acl_Interfaces_Interface
}

Acl_Interfaces Enclosing container for the list of interfaces on which ACLs are set

func (*Acl_Interfaces) GetEntityData

func (interfaces *Acl_Interfaces) GetEntityData() *types.CommonEntityData

type Acl_Interfaces_Interface

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

	// This attribute is a key. Reference to the interface id list key. The type
	// is string. Refers to acl.Acl_Interfaces_Interface_Config_Id
	Id interface{}

	// Configuration for ACL per-interface data.
	Config Acl_Interfaces_Interface_Config

	// Operational state for ACL per-interface data.
	State Acl_Interfaces_Interface_State

	// Reference to an interface or subinterface.
	InterfaceRef Acl_Interfaces_Interface_InterfaceRef

	// Enclosing container the list of ingress ACLs on the interface.
	IngressAclSets Acl_Interfaces_Interface_IngressAclSets

	// Enclosing container the list of egress ACLs on the interface.
	EgressAclSets Acl_Interfaces_Interface_EgressAclSets
}

Acl_Interfaces_Interface List of interfaces on which ACLs are set

func (*Acl_Interfaces_Interface) GetEntityData

func (self *Acl_Interfaces_Interface) GetEntityData() *types.CommonEntityData

type Acl_Interfaces_Interface_Config

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

	// User-defined identifier for the interface -- a common convention could be
	// '<if name>.<subif index>'. The type is string.
	Id interface{}
}

Acl_Interfaces_Interface_Config Configuration for ACL per-interface data

func (*Acl_Interfaces_Interface_Config) GetEntityData

func (config *Acl_Interfaces_Interface_Config) GetEntityData() *types.CommonEntityData

type Acl_Interfaces_Interface_EgressAclSets

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

	// List of egress ACLs on the interface. The type is slice of
	// Acl_Interfaces_Interface_EgressAclSets_EgressAclSet.
	EgressAclSet []*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet
}

Acl_Interfaces_Interface_EgressAclSets Enclosing container the list of egress ACLs on the interface

func (*Acl_Interfaces_Interface_EgressAclSets) GetEntityData

func (egressAclSets *Acl_Interfaces_Interface_EgressAclSets) GetEntityData() *types.CommonEntityData

type Acl_Interfaces_Interface_EgressAclSets_EgressAclSet

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

	// This attribute is a key. Reference to set name list key. The type is
	// string. Refers to
	// acl.Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_Config_SetName
	SetName interface{}

	// This attribute is a key. Reference to type list key. The type is one of the
	// following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}

	// Configuration data .
	Config Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_Config

	// Operational state data for interface egress ACLs.
	State Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_State

	// Enclosing container for list of references to ACLs.
	AclEntries Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries
}

Acl_Interfaces_Interface_EgressAclSets_EgressAclSet List of egress ACLs on the interface

func (*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet) GetEntityData

type Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries

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

	// List of ACL entries assigned to an interface. The type is slice of
	// Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry.
	AclEntry []*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry
}

Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries Enclosing container for list of references to ACLs

func (*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries) GetEntityData

type Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry

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

	// This attribute is a key. Reference to per-interface acl entry key. The type
	// is string with range: 0..4294967295. Refers to
	// acl.Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry_State_SequenceId
	SequenceId interface{}

	// Operational state data for per-interface ACL entries.
	State Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry_State
}

Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry List of ACL entries assigned to an interface

func (*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry) GetEntityData

type Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry_State

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

	// Reference to an entry in the ACL set applied to an interface. The type is
	// string with range: 0..4294967295. Refers to
	// acl.Acl_AclSets_AclSet_AclEntries_AclEntry_SequenceId
	SequenceId interface{}

	// Count of the number of packets matching the current ACL entry.  An
	// implementation should provide this counter on a per-interface per-ACL-entry
	// if possible.  If an implementation only supports ACL counters per entry
	// (i.e., not broken out per interface), then the value should be equal to the
	// aggregate count across all interfaces.  An implementation that provides
	// counters per entry per interface is not required to also provide an
	// aggregate count, e.g., per entry -- the user is expected to be able
	// implement the required aggregation if such a count is needed. The type is
	// interface{} with range: 0..18446744073709551615.
	MatchedPackets interface{}

	// Count of the number of octets (bytes) matching the current ACL entry.  An
	// implementation should provide this counter on a per-interface per-ACL-entry
	// if possible.  If an implementation only supports ACL counters per entry
	// (i.e., not broken out per interface), then the value should be equal to the
	// aggregate count across all interfaces.  An implementation that provides
	// counters per entry per interface is not required to also provide an
	// aggregate count, e.g., per entry -- the user is expected to be able
	// implement the required aggregation if such a count is needed. The type is
	// interface{} with range: 0..18446744073709551615.
	MatchedOctets interface{}
}

Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry_State Operational state data for per-interface ACL entries

func (*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_AclEntries_AclEntry_State) GetEntityData

type Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_Config

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

	// Reference to the ACL set name applied on egress. The type is string. Refers
	// to acl.Acl_AclSets_AclSet_Config_Name
	SetName interface{}

	// Reference to the ACL set type applied on egress. The type is one of the
	// following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}
}

Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_Config Configuration data

func (*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_Config) GetEntityData

type Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_State

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

	// Reference to the ACL set name applied on egress. The type is string. Refers
	// to acl.Acl_AclSets_AclSet_Config_Name
	SetName interface{}

	// Reference to the ACL set type applied on egress. The type is one of the
	// following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}
}

Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_State Operational state data for interface egress ACLs

func (*Acl_Interfaces_Interface_EgressAclSets_EgressAclSet_State) GetEntityData

type Acl_Interfaces_Interface_IngressAclSets

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

	// List of ingress ACLs on the interface. The type is slice of
	// Acl_Interfaces_Interface_IngressAclSets_IngressAclSet.
	IngressAclSet []*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet
}

Acl_Interfaces_Interface_IngressAclSets Enclosing container the list of ingress ACLs on the interface

func (*Acl_Interfaces_Interface_IngressAclSets) GetEntityData

func (ingressAclSets *Acl_Interfaces_Interface_IngressAclSets) GetEntityData() *types.CommonEntityData

type Acl_Interfaces_Interface_IngressAclSets_IngressAclSet

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

	// This attribute is a key. Reference to set name list key. The type is
	// string. Refers to
	// acl.Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_Config_SetName
	SetName interface{}

	// This attribute is a key. Reference to type list key. The type is one of the
	// following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}

	// Configuration data .
	Config Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_Config

	// Operational state data for interface ingress ACLs.
	State Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_State

	// Enclosing container for list of references to ACLs.
	AclEntries Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries
}

Acl_Interfaces_Interface_IngressAclSets_IngressAclSet List of ingress ACLs on the interface

func (*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet) GetEntityData

type Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries

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

	// List of ACL entries assigned to an interface. The type is slice of
	// Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry.
	AclEntry []*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry
}

Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries Enclosing container for list of references to ACLs

func (*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries) GetEntityData

type Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry

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

	// This attribute is a key. Reference to per-interface acl entry key. The type
	// is string with range: 0..4294967295. Refers to
	// acl.Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry_State_SequenceId
	SequenceId interface{}

	// Operational state data for per-interface ACL entries.
	State Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry_State
}

Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry List of ACL entries assigned to an interface

func (*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry) GetEntityData

type Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry_State

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

	// Reference to an entry in the ACL set applied to an interface. The type is
	// string with range: 0..4294967295. Refers to
	// acl.Acl_AclSets_AclSet_AclEntries_AclEntry_SequenceId
	SequenceId interface{}

	// Count of the number of packets matching the current ACL entry.  An
	// implementation should provide this counter on a per-interface per-ACL-entry
	// if possible.  If an implementation only supports ACL counters per entry
	// (i.e., not broken out per interface), then the value should be equal to the
	// aggregate count across all interfaces.  An implementation that provides
	// counters per entry per interface is not required to also provide an
	// aggregate count, e.g., per entry -- the user is expected to be able
	// implement the required aggregation if such a count is needed. The type is
	// interface{} with range: 0..18446744073709551615.
	MatchedPackets interface{}

	// Count of the number of octets (bytes) matching the current ACL entry.  An
	// implementation should provide this counter on a per-interface per-ACL-entry
	// if possible.  If an implementation only supports ACL counters per entry
	// (i.e., not broken out per interface), then the value should be equal to the
	// aggregate count across all interfaces.  An implementation that provides
	// counters per entry per interface is not required to also provide an
	// aggregate count, e.g., per entry -- the user is expected to be able
	// implement the required aggregation if such a count is needed. The type is
	// interface{} with range: 0..18446744073709551615.
	MatchedOctets interface{}
}

Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry_State Operational state data for per-interface ACL entries

func (*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_AclEntries_AclEntry_State) GetEntityData

type Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_Config

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

	// Reference to the ACL set name applied on ingress. The type is string.
	// Refers to acl.Acl_AclSets_AclSet_Config_Name
	SetName interface{}

	// Reference to the ACL set type applied on ingress. The type is one of the
	// following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}
}

Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_Config Configuration data

func (*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_Config) GetEntityData

type Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_State

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

	// Reference to the ACL set name applied on ingress. The type is string.
	// Refers to acl.Acl_AclSets_AclSet_Config_Name
	SetName interface{}

	// Reference to the ACL set type applied on ingress. The type is one of the
	// following: ACLL2ACLIPV6ACLIPV4ACLMIXED.
	Type interface{}
}

Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_State Operational state data for interface ingress ACLs

func (*Acl_Interfaces_Interface_IngressAclSets_IngressAclSet_State) GetEntityData

type Acl_Interfaces_Interface_InterfaceRef

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

	// Configured reference to interface / subinterface.
	Config Acl_Interfaces_Interface_InterfaceRef_Config

	// Operational state for interface-ref.
	State Acl_Interfaces_Interface_InterfaceRef_State
}

Acl_Interfaces_Interface_InterfaceRef Reference to an interface or subinterface

func (*Acl_Interfaces_Interface_InterfaceRef) GetEntityData

func (interfaceRef *Acl_Interfaces_Interface_InterfaceRef) GetEntityData() *types.CommonEntityData

type Acl_Interfaces_Interface_InterfaceRef_Config

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

	// Reference to a base interface.  If a reference to a subinterface is
	// required, this leaf must be specified to indicate the base interface. The
	// type is string. Refers to interfaces.Interfaces_Interface_Name
	Interface interface{}

	// Reference to a subinterface -- this requires the base interface to be
	// specified using the interface leaf in this container.  If only a reference
	// to a base interface is requuired, this leaf should not be set. The type is
	// string with range: 0..4294967295. Refers to
	// interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index
	Subinterface interface{}
}

Acl_Interfaces_Interface_InterfaceRef_Config Configured reference to interface / subinterface

func (*Acl_Interfaces_Interface_InterfaceRef_Config) GetEntityData

type Acl_Interfaces_Interface_InterfaceRef_State

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

	// Reference to a base interface.  If a reference to a subinterface is
	// required, this leaf must be specified to indicate the base interface. The
	// type is string. Refers to interfaces.Interfaces_Interface_Name
	Interface interface{}

	// Reference to a subinterface -- this requires the base interface to be
	// specified using the interface leaf in this container.  If only a reference
	// to a base interface is requuired, this leaf should not be set. The type is
	// string with range: 0..4294967295. Refers to
	// interfaces.Interfaces_Interface_Subinterfaces_Subinterface_Index
	Subinterface interface{}
}

Acl_Interfaces_Interface_InterfaceRef_State Operational state for interface-ref

func (*Acl_Interfaces_Interface_InterfaceRef_State) GetEntityData

type Acl_Interfaces_Interface_State

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

	// User-defined identifier for the interface -- a common convention could be
	// '<if name>.<subif index>'. The type is string.
	Id interface{}
}

Acl_Interfaces_Interface_State Operational state for ACL per-interface data

func (*Acl_Interfaces_Interface_State) GetEntityData

func (state *Acl_Interfaces_Interface_State) GetEntityData() *types.CommonEntityData

type Acl_State

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

	// System reported indication of how ACL counters are reported by the target.
	// The type is one of the following:
	// INTERFACEONLYINTERFACEAGGREGATEAGGREGATEONLY.
	CounterCapability interface{}
}

Acl_State Global operational state data for ACLs

func (*Acl_State) GetEntityData

func (state *Acl_State) GetEntityData() *types.CommonEntityData

type DROP

type DROP struct {
}

func (DROP) String

func (id DROP) String() string

type FORWARDINGACTION

type FORWARDINGACTION struct {
}

func (FORWARDINGACTION) String

func (id FORWARDINGACTION) String() string

type INTERFACEAGGREGATE

type INTERFACEAGGREGATE struct {
}

func (INTERFACEAGGREGATE) String

func (id INTERFACEAGGREGATE) String() string

type INTERFACEONLY

type INTERFACEONLY struct {
}

func (INTERFACEONLY) String

func (id INTERFACEONLY) String() string

type LOGACTION

type LOGACTION struct {
}

func (LOGACTION) String

func (id LOGACTION) String() string

type LOGNONE

type LOGNONE struct {
}

func (LOGNONE) String

func (id LOGNONE) String() string

type LOGSYSLOG

type LOGSYSLOG struct {
}

func (LOGSYSLOG) String

func (id LOGSYSLOG) String() string

type REJECT

type REJECT struct {
}

func (REJECT) String

func (id REJECT) String() string

Jump to

Keyboard shortcuts

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