NetworkPathElement
Represents single hop of a NetworkPath.
Conversion to string produces a human readable description of the hop, for example ROUTE core-router [1234] =⇒ 10.0.1.2 (ifIndex=5).
Instance attributes
- ifIndex: int
-
For
ROUTEandL2_LINKhops: index of the outgoing interface on the hop node. ForPROXYandVPNhops: ID of the proxy node or VPN connector object.0if not applicable.
- name: String
-
Name of the hop’s outgoing link: interface name for
ROUTEandL2_LINKhops (interface index if the interface is not known), proxy node name forPROXYhops, VPN connector name forVPNhops, empty string forDESTINATION.
- nextHop: String
-
IP address of the next hop for
ROUTEhops, ornullif not applicable.
- nodeId: int
-
ID of the hop object, or
0.
- route: String
-
Destination network address of the routing table entry used by this hop for
ROUTEhops, ornullfor directly connected networks and VPN connectors.
- type: String
-
Hop type:
-
ROUTE- layer 3 hop determined from routing table -
VPN- VPN connector -
PROXY- zone proxy node -
DESTINATION- destination node -
L2_LINK- layer 2 link determined from topology information
-