Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR ipv6-acl package configuration.
This module contains definitions for the following management objects:
ipv6-acl-and-prefix-list: IPv6 ACL configuration data
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type Ipv6AclAndPrefixList
- type Ipv6AclAndPrefixList_Accesses
- type Ipv6AclAndPrefixList_Accesses_Access
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp
- type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive
- type Ipv6AclAndPrefixList_LogUpdate
- type Ipv6AclAndPrefixList_Prefixes
- type Ipv6AclAndPrefixList_Prefixes_Prefix
- type Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries
- type Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry
- type NextHopType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Ipv6AclAndPrefixList ¶
type Ipv6AclAndPrefixList struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Table of prefix lists. Prefixes Ipv6AclAndPrefixList_Prefixes // Control access lists log updates. LogUpdate Ipv6AclAndPrefixList_LogUpdate // Table of access lists. Accesses Ipv6AclAndPrefixList_Accesses }
Ipv6AclAndPrefixList IPv6 ACL configuration data
func (*Ipv6AclAndPrefixList) GetEntityData ¶
func (ipv6AclAndPrefixList *Ipv6AclAndPrefixList) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses ¶
type Ipv6AclAndPrefixList_Accesses struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // An ACL. The type is slice of Ipv6AclAndPrefixList_Accesses_Access. Access []*Ipv6AclAndPrefixList_Accesses_Access }
Ipv6AclAndPrefixList_Accesses Table of access lists
func (*Ipv6AclAndPrefixList_Accesses) GetEntityData ¶
func (accesses *Ipv6AclAndPrefixList_Accesses) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access ¶
type Ipv6AclAndPrefixList_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 Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries }
Ipv6AclAndPrefixList_Accesses_Access An ACL
func (*Ipv6AclAndPrefixList_Accesses_Access) GetEntityData ¶
func (access *Ipv6AclAndPrefixList_Accesses_Access) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry. AccessListEntry []*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries ACL entry table; contains list of access list entries
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries) GetEntityData ¶
func (accessListEntries *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry ¶
type Ipv6AclAndPrefixList_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..2147483643. SequenceNumber interface{} // Forwarding action for the packet. This is required for any non-remark ACE. // Leave unspecified otherwise. The type is Ipv6AclGrantEnum. 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 Ipv6AclOperatorEnum. 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 ipv6. The type is one of the following types: enumeration // Ipv6AclProtocolNumber, 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 Ipv6AclProtocolNumber, or int with range: // 0..255. Protocol2 interface{} // DSCP value to match without any operators. Any value not in the permissible // range will be rejected. Leave unspecified if DSCP comparison is not to be // performed. For Setting dscp values, use the dscp container as this leaf // will be deprecated soon. The type is one of the following types: // enumeration Ipv6AclDscpNumber, or int with range: 0..63. Dscp 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 Ipv6AclPrecedenceNumber, or int with range: 0..7. Precedence interface{} // Name of counter to aggregate hardware statistics. The type is string with // length: 1..64. CounterName interface{} // Log the packet on this access-list-entry/rule. The type is // Ipv6AclLoggingEnum. LogOption interface{} // Enable capture if set to TRUE. The type is bool. Capture interface{} // Enable undetermined-transport if set to TRUE. The type is bool. UndeterminedTransport 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{} // Description for the access-list-entry/rules. The type is string with // length: 0..255. Remark interface{} // IPv6 source network object group name. The type is string with length: // 1..64. SourcePrefixGroup interface{} // IPv6 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 Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork // Destination network settings. DestinationNetwork Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork // Source port settings. SourcePort Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort // Destination port settings. DestinationPort Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort // ICMP settings. Icmp Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp // TCP settings. Tcp Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp // Packet length settings. PacketLength Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength // TTL settings. TimeToLive Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive // DSCP settings. DSCPValues Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues // Next-hop settings. NextHop Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop // Match if header-flag is present. HeaderFlags Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry An ACL entry; either a description (remark) or anAccess List Entry to match against
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry) GetEntityData ¶
func (accessListEntry *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Enumerated DSCP operator values. Used when operator needs to be configured. // Leave unspecified if DSCP operator is not required. Note: if the dscp // operator is not set, it logically behaves same as equal operator. The type // is Ipv6AclOperatorEnum. DscpOperator interface{} // DSCP value to match (if a value was specified). It can be used for the // lower bound (range operator) or single value (equal, less, greater..etc) or // without any operator. Any value not in the permissible range will be // rejected. Leave unspecified if DSCP comparison is not to be performed. The // type is one of the following types: enumeration Ipv6AclDscpNumber, or int // with range: 0..63. DscpLower interface{} // DSCP value to match (if a value was specified). It can be used in the upper // bound (range operator) Any value not in the permissible range will be // rejected. Leave unspecified if DSCP range comparison is not to be // performed. The type is one of the following types: enumeration // Ipv6AclDscpNumber, or int with range: 0..63. DscpUpper interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues DSCP settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues) GetEntityData ¶
func (dSCPValues *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DSCPValues) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Destination IPv6 address, leave unspecified if inputting as IPv6 address // with wildcarding. 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}]+)?. DestinationAddress interface{} // Wildcard bits to apply to destination destination-address (if specified), // leave unspecified for no wildcarding. The type is interface{} with range: // 0..128. DestinationWildCardBits interface{} // Destination address mask. Either destination-wild-card-bits or // destination-mask. is supported, not both. Leave unspecified for any. 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}]+)?. DestinationMask interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork Destination network settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork) GetEntityData ¶
func (destinationNetwork *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationNetwork) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclOperatorEnum. 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 Ipv6AclPortNumber, 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 // Ipv6AclPortNumber, or int with range: 0..65535. SecondDestinationPort interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort Destination port settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort) GetEntityData ¶
func (destinationPort *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_DestinationPort) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Match if routing header is present. The type is interface{}. Routing interface{} // Match if destops header is present. The type is interface{}. Destopts interface{} // Match if hop-by-hop header is present. The type is interface{}. HopByHop interface{} // Match if fragments header is present. The type is interface{}. Fragments interface{} // Match if authen header is present. The type is interface{}. Authen interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags Match if header-flag is present.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags) GetEntityData ¶
func (headerFlags *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_HeaderFlags) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclIcmpTypeCodeEnum. IcmpTypeCode interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp ICMP settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp) GetEntityData ¶
func (icmp *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Icmp) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop ¶
type Ipv6AclAndPrefixList_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 Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1 // The second next-hop settings. NextHop2 Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2 // The third next-hop settings. NextHop3 Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3 }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop Next-hop settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop) GetEntityData ¶
func (nextHop *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1 ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The IPv6 address of the next-hop. 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}]+)?. 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{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1 The first next-hop settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1) GetEntityData ¶
func (nextHop1 *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop1) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2 ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The IPv6 address of the next-hop. 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}]+)?. 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{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2 The second next-hop settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2) GetEntityData ¶
func (nextHop2 *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop2) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3 ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3 struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // The IPv6 address of the next-hop. 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}]+)?. 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{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3 The third next-hop settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3) GetEntityData ¶
func (nextHop3 *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_NextHop_NextHop3) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength ¶
type Ipv6AclAndPrefixList_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 Ipv6AclOperatorEnum. 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{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength Packet length settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength) GetEntityData ¶
func (packetLength *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_PacketLength) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork ¶
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Source IPv6 address, leave unspecified if inputting as IPv6 address with // wildcarding. 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}]+)?. SourceAddress interface{} // Wildcard bits to apply to source-address (if specified), leave unspecified // for no wildcarding. The type is interface{} with range: 0..128. SourceWildCardBits interface{} // Source address mask. Either source-wild-card-bits or source-mask is. // supported, not both. Leave unspecified. for any. 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}]+)?. SourceMask interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork Source network settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork) GetEntityData ¶
func (sourceNetwork *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourceNetwork) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclOperatorEnum. 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 Ipv6AclPortNumber, 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 // Ipv6AclPortNumber, or int with range: 0..65535. SecondSourcePort interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort Source port settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort) GetEntityData ¶
func (sourcePort *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_SourcePort) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp ¶
type Ipv6AclAndPrefixList_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 Ipv6AclTcpMatchOperatorEnum. 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 it is // not required. The type is map[string]bool. TcpBitsMask interface{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp TCP settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp) GetEntityData ¶
func (tcp *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_Tcp) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclOperatorEnum. 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{} }
Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive TTL settings.
func (*Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive) GetEntityData ¶
func (timeToLive *Ipv6AclAndPrefixList_Accesses_Access_AccessListEntries_AccessListEntry_TimeToLive) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_LogUpdate ¶
type Ipv6AclAndPrefixList_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 messages per second). The type is interface{} with // range: 1..1000. Rate interface{} }
Ipv6AclAndPrefixList_LogUpdate Control access lists log updates
func (*Ipv6AclAndPrefixList_LogUpdate) GetEntityData ¶
func (logUpdate *Ipv6AclAndPrefixList_LogUpdate) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Prefixes ¶
type Ipv6AclAndPrefixList_Prefixes struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Name of a prefix list. The type is slice of // Ipv6AclAndPrefixList_Prefixes_Prefix. Prefix []*Ipv6AclAndPrefixList_Prefixes_Prefix }
Ipv6AclAndPrefixList_Prefixes Table of prefix lists
func (*Ipv6AclAndPrefixList_Prefixes) GetEntityData ¶
func (prefixes *Ipv6AclAndPrefixList_Prefixes) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Prefixes_Prefix ¶
type Ipv6AclAndPrefixList_Prefixes_Prefix struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Name of a prefix list. The type is string with // length: 1..64. Name interface{} // Sequence of entries forming a prefix list. PrefixListEntries Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries }
Ipv6AclAndPrefixList_Prefixes_Prefix Name of a prefix list
func (*Ipv6AclAndPrefixList_Prefixes_Prefix) GetEntityData ¶
func (prefix *Ipv6AclAndPrefixList_Prefixes_Prefix) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry. PrefixListEntry []*Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry }
Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries Sequence of entries forming a prefix list
func (*Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries) GetEntityData ¶
func (prefixListEntries *Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries) GetEntityData() *types.CommonEntityData
type Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry ¶
type Ipv6AclAndPrefixList_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 // Ipv6AclGrantEnum. Grant interface{} // The IPv6 address if entered with the ZoneMutually exclusive with Prefix // and PrefixMask. The type is string. Ipv6AddressAsString interface{} // IPv6 Zone if entered with the IPV6AddressMutually exclusive with Prefix // and PrefixMask. The type is string. Zone interface{} // IPv6 address prefix to match. 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}]+)?. Prefix interface{} // MaskLength of IPv6 address prefix. The type is interface{} with range: // 0..128. PrefixMask interface{} // Set to perform an exact prefix length match. Item is mutually exclusive // with minimum and maximum length match items. The type is // Ipv6PrefixMatchExactLength. MatchExactLength interface{} // If exact prefix length matching specified, set the length of prefix to be // matched. The type is interface{} with range: 0..128. ExactPrefixLength interface{} // Set to perform a maximum length prefix match . Item is mutually exclusive // with exact length match item. The type is Ipv6PrefixMatchMaxLength. MatchMaxLength interface{} // If maximum length prefix matching specified, set the maximum length of // prefix to be matched. The type is interface{} with range: 0..128. MaxPrefixLength interface{} // Set to perform a minimum length prefix match . Item is mutually exclusive // with exact length match item. The type is Ipv6PrefixMatchMinLength. MatchMinLength interface{} // If minimum length prefix matching specified, set the minimum length of // prefix to be matched. The type is interface{} with range: 0..128. 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{} }
Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry A prefix list entry; either a description (remark) or a prefix to match against
func (*Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry) GetEntityData ¶
func (prefixListEntry *Ipv6AclAndPrefixList_Prefixes_Prefix_PrefixListEntries_PrefixListEntry) GetEntityData() *types.CommonEntityData
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" )