State¶
Leafs
decapsulate_header
encapsulate_header
index
ip_address
mac_address
origin_protocol
popped_mpls_label_stack
pushed_mpls_label_stack
weight
-
class
NetworkInstances.NetworkInstance.Afts.Ethernet.MacEntry.NextHops.NextHop.
State
¶ Bases:
Entity
Class Hierarchy:
NetworkInstances
NetworkInstance
Afts
Ethernet
MacEntry
NextHops
NextHop
State
This class represents state data.
Operational state parameters relating to the AFT
next-hop entry
-
index
¶ A unique entry for the next-hop
type: int
range: 0..18446744073709551615config: False
-
weight
¶ The weight of the next-hop. Traffic is balanced according to the ratio described by the relative weights of the next hops that exist for the AFT entry. Note that all next-hops that are specified are assumed to be active next-hops and therefore eligible (and selected) to be installed in the FIB, and hence used for packet forwarding
type: int
range: 0..4294967295config: False
-
ip_address
¶ The IP address of the next-hop system
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])$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}|:))$config: False
-
mac_address
¶ The MAC address of the next-hop if resolved by the local network instance
type: str
pattern: ^[0-9a-fA-F]{2}(:[0-9a-fA-F]{2}){5}$config: False
-
popped_mpls_label_stack
¶ The MPLS label stack to be popped from the packet when switched by the system. The stack is encoded as a leaf-list such that the first entry is the label that is outer-most (i.e., furthest from the bottom of the stack) label stack to be popped. If the local system pops the outer-most label 400, then the value of this list is [400,]. If the local system removes two labels, the outer-most being 500, and the second of which is 400, then the value of the list is [500, 400]. A swap operation is reflected by entries in the popped-mpls-label-stack and pushed-mpls-label-stack nodes
type: union of the below types:
config: False
-
pushed_mpls_label_stack
¶ The MPLS label stack imposed when forwarding packets to the next-hop - the stack is encoded as a leaf list whereby the order of the entries is such that the first entry in the list is the label at the bottom of the stack to be pushed. To this end, a packet which is to forwarded to a device using a service label of 42, and a transport label of 8072 will be represented with a label stack list of [42, 8072]. The MPLS label stack list is ordered by the user, such that no system re-ordering of leaves is permitted by the system. A swap operation is reflected by entries in the popped-mpls-label-stack and pushed-mpls-label-stack nodes
type: union of the below types:
config: False
-
decapsulate_header
¶ When forwarding a packet to the specified next-hop, the local system performs a decapsulation of the packet - removing the specified header type. In the case that no next-hop is specified, the packet header is removed, and a subsequent forwarding lookup is performed on the packet encapsulated within the header, matched within the relevant AFT within the specified network-instance
type:
EncapsulationHeaderType
config: False
-
encapsulate_header
¶ When forwarding a packet to the specified next-hop the local system performs an encapsulation of the packet - adding the specified header type
type:
EncapsulationHeaderType
config: False
-