State¶
Leafs
index
ip_dscp
ip_prefix
ip_protocol
l4_dst_port
l4_src_port
mac_address
mpls_label
mpls_tc
octets_forwarded
packets_forwarded
-
class
NetworkInstances.NetworkInstance.Afts.PolicyForwarding.PolicyForwardingEntry.
State
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
Afts
PolicyForwarding
PolicyForwardingEntry
State
This class represents state data.
Operational state parameters for the Policy Forwarding
AFT entry.
-
index
¶ An arbitrary 64-bit index identifying the policy forwarding AFT entry
type: int
range: 0..18446744073709551615config: False
-
ip_prefix
¶ The IP prefix that the forwarding entry matches
type: union of the below types:
type: str
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]))$type: str
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])$config: False
-
mac_address
¶ The MAC address that the forwarding entry matches. Used for Layer 2 forwarding entries, e.g., within a VSI instance
type: str
pattern: ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$config: False
-
mpls_label
¶ The MPLS label that the forwarding entry matches. Used for MPLS forwarding entries, whereby the local device acts as an LSR
type: union of the below types:
config: False
-
mpls_tc
¶ The value of the MPLS Traffic Class bits (formerly known as the MPLS experimental bits) that are to be matched by the AFT entry
type: int
range: 0..7config: False
-
ip_dscp
¶ The value of the differentiated services code point (DSCP) to be matched for the forwarding entry. The value is specified in cases where specific class-based forwarding based on IP is implemented by the device
type: int
range: 0..63config: False
-
ip_protocol
¶ The value of the IP protocol field of an IPv4 packet, or the next-header field of an IPv6 packet which is to be matched by the AFT entry. This field is utilised where forwarding is performed based on L4 information
type: union of the below types:
config: False
-
l4_src_port
¶ The value of the source port field of the transport header that is to be matched by the AFT entry
type: int
range: 0..65535config: False
-
l4_dst_port
¶ The value of the destination port field of the transport header that is to be matched by the AFT entry
type: int
range: 0..65535config: False
-
packets_forwarded
¶ The number of packets which have matched, and been forwarded, based on the AFT entry
type: int
range: 0..18446744073709551615config: False
-
octets_forwarded
¶ The number of octets which have matched, and been forwarded, based on the AFT entry
type: int
range: 0..18446744073709551615config: False
-