This is automatically generated documentation. Edit after the "COMMENTS" heading; changes to the main body will be lost.
combines two or more Click configurations into one
click-combine [options] name=file ... \
name1.element1=name2.element2 ...
The click-combine tool combines two or more Click router configurations into a single configuration representing the network. For example, say there is a point-to-point link from router A's eth0 interface to router B's eth1 interface. Then in the combined configuration, A's ToDevice(eth0) element and B's PollDevice(eth1) element will be replaced with a new RouterLink element; packets will flow from A to B via the RouterLink element. You can edit the combined configuration with tools, which are effectively able to consider the whole network. For example, they can check cross-router properties or perform cross-router optimizations. Use the click-uncombine tool to extract a component router configuration from the combination.
Component routers are identified by name. This name must be a legal Click identifier (see click(5)) that does not contain a slash. To add a router component named N whose configuration is in the file f, supply the option 'N=f'. You will generally supply at least two such options.
A link says that packets leaving one router via one element will arrive at another router via another element. The routers are specified by component name, and the elements can be specified by element name or by device name. To connect the e1 element from router component A to the e2 element from router component B, supply the option 'A.e1=B.e2'. If e1 is a ToDevice element, then you can use its device name argument instead of its name. Similarly, if e2 is a PollDevice or FromDevice element, you can use its device name argument instead of its name.
Link options are one-way, so if there is a duplex connection, you will need to give two arguments: 'A.eth0=B.eth1 B.eth1=A.eth0', for example. You can also support more than two routers sharing a link; for example, 'A.eth0=B.eth1 A.eth0=C.eth2'.
If any filename argument is a single dash "-", click-combine will use the standard input or output instead, as appropriate.
Eddie Kohler, kohler@cs.ucla.edu
http://www.pdos.lcs.mit.edu/click/