es_acl_cfg

package
v0.0.0-...-fac1166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 17, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This module contains a collection of YANG definitions for Cisco IOS-XR es-acl package configuration.

This module contains definitions for the following management objects:

es-acl: Layer 2 ACL configuration data

Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EsAcl

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

	// Table of access lists.
	Accesses EsAcl_Accesses
}

EsAcl Layer 2 ACL configuration data

func (*EsAcl) GetEntityData

func (esAcl *EsAcl) GetEntityData() *types.CommonEntityData

type EsAclGrantEnum

type EsAclGrantEnum string

EsAclGrantEnum represents ES ACL forwarding action.

const (
	// Deny
	EsAclGrantEnum_deny EsAclGrantEnum = "deny"

	// Permit
	EsAclGrantEnum_permit EsAclGrantEnum = "permit"
)

type EsAcl_Accesses

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

	// An ACL. The type is slice of EsAcl_Accesses_Access.
	Access []*EsAcl_Accesses_Access
}

EsAcl_Accesses Table of access lists

func (*EsAcl_Accesses) GetEntityData

func (accesses *EsAcl_Accesses) GetEntityData() *types.CommonEntityData

type EsAcl_Accesses_Access

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

	// This attribute is a key. Name of the access list. The type is string with
	// length: 1..64.
	Name interface{}

	// ACL entry table; contains list of access list entries.
	AccessListEntries EsAcl_Accesses_Access_AccessListEntries
}

EsAcl_Accesses_Access An ACL

func (*EsAcl_Accesses_Access) GetEntityData

func (access *EsAcl_Accesses_Access) GetEntityData() *types.CommonEntityData

type EsAcl_Accesses_Access_AccessListEntries

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

	// An ACL entry; either a description (remark) or anAccess List Entry to match
	// against. The type is slice of
	// EsAcl_Accesses_Access_AccessListEntries_AccessListEntry.
	AccessListEntry []*EsAcl_Accesses_Access_AccessListEntries_AccessListEntry
}

EsAcl_Accesses_Access_AccessListEntries ACL entry table; contains list of access list entries

func (*EsAcl_Accesses_Access_AccessListEntries) GetEntityData

func (accessListEntries *EsAcl_Accesses_Access_AccessListEntries) GetEntityData() *types.CommonEntityData

type EsAcl_Accesses_Access_AccessListEntries_AccessListEntry

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

	// This attribute is a key. Sequence number of access list entry. The type is
	// interface{} with range: 1..2147483646.
	SequenceNumber interface{}

	// Forwarding action for the packet. This is required for any non-remark ACE.
	// Leave unspecified otherwise. The type is EsAclGrantEnum.
	Grant interface{}

	// This 12-bit VLAN-ID in the VLAN Tag header uniquely identifies the VLAN. It
	// can be used for the lower bound (in range) or single value. Any value not
	// in the permissible range will be rejected. The type is interface{} with
	// range: 0..4095.
	Vlan1 interface{}

	// This 12 bit VLAN-ID in the VLAN Tag header uniquely identifies the VLAN. It
	// is used in the upper bound (in range). Any value not in the permissible
	// range will be rejected. The type is interface{} with range: 0..4095.
	Vlan2 interface{}

	// Class of Service value. Any value not in the permissible range will be
	// rejected. The type is interface{} with range: 0..7.
	Cos interface{}

	// Discard Eligibility Indication bit. User can specify 1 to indicate the bit
	// is set. Leave unspecified otherwise. The type is interface{} with range:
	// 0..1.
	Dei interface{}

	// This represents the QinQ vlan identifier. It can be used for the lower
	// bound (in range) or single value. Any value not in the permissible range
	// will be rejected. The type is interface{} with range: 0..4095.
	InnerVlan1 interface{}

	// This represents the QinQ vlan identifier. It is used in the upper bound (in
	// range). Any value not in the permissible range will be rejected. The type
	// is interface{} with range: 0..4095.
	InnerVlan2 interface{}

	// Class of Service of Inner Header. Any value not in the permissible range
	// will be rejected. The type is interface{} with range: 0..7.
	InnerCos interface{}

	// Discard Eligibility Indication for Inner Header. User can specify 1 to
	// indicate the bit is set. Leave unspecified otherwise. The type is
	// interface{} with range: 0..1.
	InnerDei interface{}

	// Description for the access-list-entry/rule. The type is string with length:
	// 0..255.
	Remark interface{}

	// Ethernet type Number in Hex. Any value not in the permissible range will be
	// rejected. The type is string with pattern: [0-9a-fA-F]{1,4}.
	EtherTypeNumber interface{}

	// Enable capture if set to TRUE. The type is bool.
	Capture interface{}

	// Log the packet on this access-list-entry/rule. User can specify 1 to enable
	// logging the match, leave unspecified otherwise. The type is interface{}
	// with range: 0..1.
	LogOption interface{}

	// Sequence String for the ace. The type is string with length: 1..64.
	SequenceStr interface{}

	// Source network settings.
	SourceNetwork EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork

	// Destination network settings.
	DestinationNetwork EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork
}

EsAcl_Accesses_Access_AccessListEntries_AccessListEntry An ACL entry; either a description (remark) or anAccess List Entry to match against

func (*EsAcl_Accesses_Access_AccessListEntries_AccessListEntry) GetEntityData

type EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork

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

	// Destination address to match (if a protocol was specified), leave
	// unspecified for any. The type is string with pattern:
	// ([0-9a-fA-F]{1,4}(\.[0-9a-fA-F]{1,4}){2}).
	DestinationAddress interface{}

	// Wildcard bits to apply to destination address (if specified), leave
	// unspecified for no wildcarding. The type is string with pattern:
	// ([0-9a-fA-F]{1,4}(\.[0-9a-fA-F]{1,4}){2}).
	DestinationWildCardBits interface{}
}

EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork Destination network settings.

func (*EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork) GetEntityData

type EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork

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

	// Source address to match, leave unspecified for any. The type is string with
	// pattern: ([0-9a-fA-F]{1,4}(\.[0-9a-fA-F]{1,4}){2}).
	SourceAddress interface{}

	// Wildcard bits to apply to source address (if specified), leave unspecified
	// for no wildcarding. The type is string with pattern:
	// ([0-9a-fA-F]{1,4}(\.[0-9a-fA-F]{1,4}){2}).
	SourceWildCardBits interface{}
}

EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork Source network settings.

func (*EsAcl_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork) GetEntityData

Jump to

Keyboard shortcuts

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