ipv4_acl_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 ipv4-acl package configuration.

This module contains definitions for the following management objects:

ipv4-acl-and-prefix-list: IPv4 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 Ipv4AclAndPrefixList

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

	// Table of access lists.  Entries in this table and the
	// AccessListExistenceTable table must be kept consistent.
	Accesses Ipv4AclAndPrefixList_Accesses

	// Table of ACL prefix lists.  Entries in this table and the
	// PrefixListExistenceTable table must be kept consistent.
	Prefixes Ipv4AclAndPrefixList_Prefixes

	// Control access lists log updates.
	LogUpdate Ipv4AclAndPrefixList_LogUpdate
}

Ipv4AclAndPrefixList IPv4 ACL configuration data

func (*Ipv4AclAndPrefixList) GetEntityData

func (ipv4AclAndPrefixList *Ipv4AclAndPrefixList) GetEntityData() *types.CommonEntityData

type Ipv4AclAndPrefixList_Accesses

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

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

Ipv4AclAndPrefixList_Accesses Table of access lists. Entries in this table and the AccessListExistenceTable table must be kept consistent

func (*Ipv4AclAndPrefixList_Accesses) GetEntityData

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

type Ipv4AclAndPrefixList_Accesses_Access

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

	// This attribute is a key. Access list name - 64 characters max. The type is
	// string with length: 1..64.
	AccessListName interface{}

	// ACL entry table; contains list of ACEs.
	AccessListEntries Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries
}

Ipv4AclAndPrefixList_Accesses_Access An ACL

func (*Ipv4AclAndPrefixList_Accesses_Access) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries

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

	// An ACL entry; either a description (remark) or an ACE to match against. The
	// type is slice of
	// Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry.
	AccessListEntry []*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries ACL entry table; contains list of ACEs

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry

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

	// This attribute is a key. Sequence number for this entry. The type is
	// interface{} with range: 1..2147483643.
	SequenceNumber interface{}

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

	// Protocol operator. User can specify equal or leave it unspecified for
	// singleton protocol match, or specify range for protocol range match. The
	// type is Ipv4AclOperatorEnum.
	ProtocolOperator interface{}

	// Protocol number to match. It can be used for the lower bound (range
	// operator) or single value (equal operator). Any value not in the
	// permissible range will be rejected. When leave unspecified, default value
	// is ipv4. The type is one of the following types: enumeration
	// Ipv4AclProtocolNumber, or int with range: 0..255.
	Protocol interface{}

	// Protocol2 to match. It is used in upper bound (range operator). Any value
	// not in the permissible range will be rejected. The type is one of the
	// following types: enumeration Ipv4AclProtocolNumber, or int with range:
	// 0..255.
	Protocol2 interface{}

	// Fragment flags, such as dont-fragment, is-fragment, first-fragment and
	// last-fragment. The type is one of the following types: enumeration
	// Ipv4AclFragFlags, or int with range: 1..9.
	FragmentType interface{}

	// Name of counter to aggregate hardware statistics. The type is string with
	// length: 1..64.
	CounterName interface{}

	// IGMP message type to match. Leave unspecified if no message type comparison
	// is to be done. The type is one of the following types: enumeration
	// Ipv4AclIgmpNumber, or int with range: 0..255.
	IgmpMessageType interface{}

	// Precedence value to match (if a protocol was specified). Any value not in
	// the permissible range will be rejected. Leave unspecified if precedence
	// comparion is not to be performed. The type is one of the following types:
	// enumeration Ipv4AclPrecedenceNumber, or int with range: 0..7.
	Precedence interface{}

	// Log the packet on this access-list-entry/rule. The type is
	// Ipv4AclLoggingEnum.
	LogOption interface{}

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

	// To turn off ICMP generation for deny ACEs. The type is interface{}.
	IcmpOff interface{}

	// Set qos-group number. Any value not in the permissible range will be
	// rejected. The type is interface{} with range: 0..512.
	QosGroup interface{}

	// Set TTL Value. Any value not in the permissible range will be rejected. The
	// type is interface{} with range: 0..255.
	SetTtl interface{}

	// Check non-initial fragments. Item is mutually exclusive with TCP, SCTP,
	// UDP, IGMP and ICMP comparions and with logging. The type is interface{}.
	Fragments interface{}

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

	// IPv4 source network object group name. The type is string with length:
	// 1..64.
	SourcePrefixGroup interface{}

	// IPv4 destination network object group name. The type is string with length:
	// 1..64.
	DestinationPrefixGroup interface{}

	// Source port object group name. The type is string with length: 1..64.
	SourcePortGroup interface{}

	// Destination port object group name. The type is string with length: 1..64.
	DestinationPortGroup interface{}

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

	// Source network settings.
	SourceNetwork Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork

	// Destination network settings.
	DestinationNetwork Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork

	// Source port settings.
	SourcePort Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort

	// Destination port settings.
	DestinationPort Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort

	// ICMP settings.
	Icmp Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp

	// TCP settings.
	Tcp Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp

	// Packet length settings.
	PacketLength Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength

	// TTL settings.
	TimeToLive Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive

	// Fragment-offset settings.
	FragmentOffset Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_FragmentOffset

	// Next-hop settings.
	NextHop Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop

	// DSCP settings.
	Dscp Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Dscp
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry An ACL entry; either a description (remark) or an ACE to match against

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork

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

	// Destination IPv4 address to match (if a protocol was specified), leave
	// unspecified for any. 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{}

	// Wildcard bits to apply to destination address (if specified), leave
	// unspecified for no wildcarding. 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}]+)?.
	DestinationWildCardBits interface{}

	// Prefix length to apply to destination address (if specified), leave
	// unspecified for no wildcarding. The type is interface{} with range: 0..32.
	DestinationPrefixLength interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork Destination network settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort

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

	// Destination port comparison operator. This is a required field if any
	// destination port value is given, otherwise, config will be rejected. Leave
	// unspecified if no destination port comparison is to be done. The type is
	// Ipv4AclOperatorEnum.
	DestinationOperator interface{}

	// Lower destination port for comparison. It can be used for the lower bound
	// (range operator) or single value (equal, less, greater..etc). Any value not
	// in the permissible range will be rejected. Leave unspecified otherwise. The
	// type is one of the following types: enumeration Ipv4AclPortNumber, or int
	// with range: 0..65535.
	FirstDestinationPort interface{}

	// Upper destination port for comparison. It is used in the upper bound (range
	// operator). Any value not in the permissible range will be rejected. Leave
	// unspecified otherwise. The type is one of the following types: enumeration
	// Ipv4AclPortNumber, or int with range: 0..65535.
	SecondDestinationPort interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort Destination port settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Dscp

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

	// DSCP operator is applicable only when DSCP range is configured. Leave
	// unspecified if DSCP range is not required. The type is Ipv4AclOperatorEnum.
	DscpOperator interface{}

	// Mininum DSCP value for comparison. It can be used for the lower bound
	// (range operator) or single value (equal, less, greater..etc). Any value not
	// in the permissible range will be rejected. Leave unspecified otherwise. The
	// type is one of the following types: enumeration Ipv4AclDscpNumber, or int
	// with range: 0..63.
	DscpMin interface{}

	// Maximum DSCP value for comparison. It is used in the upper bound (range
	// operator). Any value not in the permissible range will be rejected. Leave
	// unspecified otherwise. The type is one of the following types: enumeration
	// Ipv4AclDscpNumber, or int with range: 0..63.
	DscpMax interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Dscp DSCP settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Dscp) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_FragmentOffset

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

	// Fragment-offset operator if fragment-offset is to be compared. This is a
	// required field if any fragment-offset value is given, otherwise, config
	// will be rejected. Leave unspecified if fragment-offset classification is
	// not required. The type is Ipv4AclOperatorEnum.
	FragmentOffsetOperator interface{}

	// Fragment-offset value for comparison. It can be used for the lower bound
	// (range operator) or single value (equal, less, greater..etc). Any value not
	// in the permissible range will be rejected. Leave unspecified otherwise. The
	// type is interface{} with range: 0..8191.
	FragmentOffset1 interface{}

	// Second fragment-offset value for comparison. It is used in the upper bound
	// (range operator). Any value not in the permissible range will be rejected.
	// Leave unspecified otherwise. The type is interface{} with range: 0..8191.
	FragmentOffset2 interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_FragmentOffset Fragment-offset settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_FragmentOffset) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp

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

	// Well known ICMP message code types to match, leave unspecified if ICMP
	// message code type comparion is not to be performed. The type is
	// Ipv4AclIcmpTypeCodeEnum.
	IcmpTypeCode interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp ICMP settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop

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

	// The nexthop type. The type is NextHopType.
	NextHopType interface{}

	// The first next-hop settings.
	NextHop1 Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1

	// The second next-hop settings.
	NextHop2 Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2

	// The third next-hop settings.
	NextHop3 Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop Next-hop settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1

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

	// The IPv4 address of the next-hop. 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}]+)?.
	NextHop interface{}

	// The VRF name of the next-hop. The type is string with length: 1..32.
	VrfName interface{}

	// The object tracking name for the next-hop. The type is string with length:
	// 1..32.
	TrackName interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1 The first next-hop settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2

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

	// The IPv4 address of the next-hop. 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}]+)?.
	NextHop interface{}

	// The VRF name of the next-hop. The type is string with length: 1..32.
	VrfName interface{}

	// The object tracking name for the next-hop. The type is string with length:
	// 1..32.
	TrackName interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2 The second next-hop settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3

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

	// The IPv4 address of the next-hop. 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}]+)?.
	NextHop interface{}

	// The VRF name of the next-hop. The type is string with length: 1..32.
	VrfName interface{}

	// The object tracking name for the next-hop. The type is string with length:
	// 1..32.
	TrackName interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3 The third next-hop settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength

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

	// Packet length operator applicable if packet length is to be compared. This
	// is a required field if any packet-length value is given, otherwise, config
	// will be rejected. The type is Ipv4AclOperatorEnum.
	PacketLengthOperator interface{}

	// Mininum packet length value for comparison. It can be used for the lower
	// bound (range operator) or single value (equal, less, greater..etc). Any
	// value not in the permissible range will be rejected. Leave unspecified
	// otherwise. The type is interface{} with range: 0..65535.
	PacketLengthMin interface{}

	// Maximum packet length value for comparison. It is used in the upper bound
	// (range operator). Any value not in the permissible range will be rejected.
	// Leave unspecified otherwise. The type is interface{} with range: 0..65535.
	PacketLengthMax interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength Packet length settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork

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

	// Source IPv4 address to match, leave unspecified for any. 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{}

	// Wildcard bits to apply to source address (if specified), leave unspecified
	// for no wildcarding. 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}]+)?.
	SourceWildCardBits interface{}

	// Prefix length to apply to source address (if specified), leave unspecified
	// for no wildcarding. The type is interface{} with range: 0..32.
	SourcePrefixLength interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork Source network settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort

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

	// Source port comparison operator. This is a required field if any source
	// port value is given, otherwise, config will be rejected. Leave unspecified
	// if no source port comparison is to be done. The type is
	// Ipv4AclOperatorEnum.
	SourceOperator interface{}

	// Lower source port for comparison. It can be used for the lower bound (range
	// operator) or single value (equal, less, greater..etc). Any value not in the
	// permissible range will be rejected. Leave unspecified otherwise. The type
	// is one of the following types: enumeration Ipv4AclPortNumber, or int with
	// range: 0..65535.
	FirstSourcePort interface{}

	// Upper source port for comparion. It is used in the upper bound (range
	// operator). Any value not in the permissible range will be rejected. Leave
	// unspecified otherwise. The type is one of the following types: enumeration
	// Ipv4AclPortNumber, or int with range: 0..65535.
	SecondSourcePort interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort Source port settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp

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

	// TCP Bits match operator. Leave unspecified if flexible comparison of TCP
	// bits is not required. The type is Ipv4AclTcpMatchOperatorEnum.
	TcpBitsMatchOperator interface{}

	// TCP bits to match. Leave unspecified if comparison of TCP bits is not
	// required. The type is map[string]bool.
	TcpBits interface{}

	// TCP bits mask to use for flexible TCP matching. Leave unspecified if
	// tcp-bits-match-operator is unspecified. The type is map[string]bool.
	TcpBitsMask interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp TCP settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp) GetEntityData

type Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive

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

	// TTL operator is applicable if TTL is to be compared. This is a required
	// field if any TTL value is given, otherwise, config will be rejected. Leave
	// unspecified if TTL classification is not required. The type is
	// Ipv4AclOperatorEnum.
	TimeToLiveOperator interface{}

	// Mininum TTL value for comparison. It can be used for the lower bound (range
	// operator) or single value (equal, less, greater..etc). Any value not in the
	// permissible range will be rejected. Leave unspecified otherwise. The type
	// is interface{} with range: 0..255.
	TimeToLiveMin interface{}

	// Maximum TTL value for comparison. It is used in the upper bound (range
	// operator). Any value not in the permissible range will be rejected. Leave
	// unspecified otherwise. The type is interface{} with range: 0..255.
	TimeToLiveMax interface{}
}

Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive TTL settings.

func (*Ipv4AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive) GetEntityData

type Ipv4AclAndPrefixList_LogUpdate

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

	// Log update threshold (number of hits). The type is interface{} with range:
	// 1..2147483647.
	Threshold interface{}

	// Log update rate (log msgs per second). The type is interface{} with range:
	// 1..1000.
	Rate interface{}
}

Ipv4AclAndPrefixList_LogUpdate Control access lists log updates

func (*Ipv4AclAndPrefixList_LogUpdate) GetEntityData

func (logUpdate *Ipv4AclAndPrefixList_LogUpdate) GetEntityData() *types.CommonEntityData

type Ipv4AclAndPrefixList_Prefixes

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

	// Name of a prefix list. The type is slice of
	// Ipv4AclAndPrefixList_Prefixes_Prefix.
	Prefix []*Ipv4AclAndPrefixList_Prefixes_Prefix
}

Ipv4AclAndPrefixList_Prefixes Table of ACL prefix lists. Entries in this table and the PrefixListExistenceTable table must be kept consistent

func (*Ipv4AclAndPrefixList_Prefixes) GetEntityData

func (prefixes *Ipv4AclAndPrefixList_Prefixes) GetEntityData() *types.CommonEntityData

type Ipv4AclAndPrefixList_Prefixes_Prefix

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

	// This attribute is a key. Prefix list name - max 32 characters. The type is
	// string.
	PrefixListName interface{}

	// Sequence of entries forming a prefix list.
	PrefixListEntries Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries
}

Ipv4AclAndPrefixList_Prefixes_Prefix Name of a prefix list

func (*Ipv4AclAndPrefixList_Prefixes_Prefix) GetEntityData

type Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries

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

	// A prefix list entry; either a description (remark) or a prefix to match
	// against. The type is slice of
	// Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry.
	PrefixListEntry []*Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry
}

Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries Sequence of entries forming a prefix list

func (*Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries) GetEntityData

type Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry

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

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

	// Whether to forward or drop packets matching the prefix list. The type is
	// Ipv4AclGrantEnum.
	Grant interface{}

	// IPv4 address prefix to match. 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}]+)?.
	Prefix interface{}

	// Mask of 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])(%[\p{N}\p{L}]+)?.
	Netmask interface{}

	// Set to perform an exact prefix length match. Item is mutually exclusive
	// with minimum and maximum length match items. The type is interface{}.
	MatchExactLength interface{}

	// If exact prefix length matching specified, set the length of prefix to be
	// matched. The type is interface{} with range: 0..32.
	ExactPrefixLength interface{}

	// Set to perform a maximum length prefix match .  Item is mutually exclusive
	// with exact length match item. The type is interface{}.
	MatchMaxLength interface{}

	// If maximum length prefix matching specified, set the maximum length of
	// prefix to be matched. The type is interface{} with range: 0..32.
	MaxPrefixLength interface{}

	// Set to perform a minimum length prefix match .  Item is mutually exclusive
	// with exact length match item. The type is interface{}.
	MatchMinLength interface{}

	// If minimum length prefix matching specified, set the minimum length of
	// prefix to be matched. The type is interface{} with range: 0..32.
	MinPrefixLength interface{}

	// Comments or a description for the prefix list.  Item is mutually exclusive
	// with all others in the object. The type is string.
	Remark interface{}
}

Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry A prefix list entry; either a description (remark) or a prefix to match against

func (*Ipv4AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry) GetEntityData

type NextHopType

type NextHopType string

NextHopType represents Next-hop type.

const (
	// Regular next-hop.
	NextHopType_regular_next_hop NextHopType = "regular-next-hop"

	// Default next-hop.
	NextHopType_default_next_hop NextHopType = "default-next-hop"
)

Jump to

Keyboard shortcuts

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