- Why I did it
Add NVIDIA Copyright header to NVIDIA files added lately
- How I did it
Add NVIDIA Copyright header for the relevant files
- How to verify it
N/A (only commented text was added).
An equal cost multipath (ECMP) is formed when routing table contains multiple next hop addresses for the same destination IP address.
ECMP will load balance the outbound traffic between the IP interfaces.
The purpose of ECMP calculator is to calculate which IP interface ECMP will choose and return the physical interface packet will egress from.
Packet is defined by a JSON file given as an argument to the tool.
Usage notes
ECMP calculator performs its calculations based on the current operational state of the router. In order to calculate the egress port, it fetches routes from HW. Routes exist in HW only for next hops with a resolved ARP.
ECMP calculator supports only routed packets.
IPv4/IPv6 TCP/UDP packets
IPinIP and VXLAN encapsulated packets
Changes done in the packet classification (e.g. ACL, PBR) are not taken into consideration during calculation.
Command line interface
User shall enter syncd container to run ECMP calculator.
User shall provide the following input parameters:
JSON file describing a packet
Ingress port (e.g. "Ethernet0", must pe a physical interface)