Skip to content

LookupLocalGridRoute2

Eddie Kohler edited this page Oct 17, 2017 · 2 revisions

LookupLocalGridRoute2 Element Documentation

NAME

LookupLocalGridRoute2 — Click element;

SYNOPSIS

LookupLocalGridRoute2(ETH, IP, GenericGridRouteTable, KEYWORDS)

Ports: 1 input, 1 output
Processing: agnostic

DESCRIPTION

Forward packets according to the tables accumulated by the GenericGridRouteTable element.

ETH and IP are this node's ethernet and IP addresses, respectively.

Inputs must be GRID_NBR_ENCAP packets with MAC headers, with the destination IP address annotation set. Output packets have their source ethernet address set to ETH, their destination ethernet address set according to the routing table entry corresponding to the destination IP annotation, and their Grid tx_ip set to IP. Packets also have their paint annotation set to the output interface number, e.g. for use with PaintSwitch.

Packets for which no route exists are dropped.

Keywords are:

  • LOG — GridGenericLogger element. Object to log events to.
  • VERBOSE — Boolean. Be verbose about drops due to no route. Defaults to false.

SEE ALSO

LookupLocalGridroute, LookupGeographicGridRoute, GenericGridRouteTable, DSDVRouteTable, GridLogger, Paint, PaintSwitch

Generated by click-elem2man from ../elements/grid/lookuplocalgridroute2.hh:4 on 2017/10/17.

Clone this wiki locally