Simple Module NetworkInfo

Package: inet.networklayer.ipv4
File: src/inet/networklayer/ipv4/NetworkInfo.ned

C++ definition

NetworkInfo does not send or receive messages and has no parameters either. Instead it is invoked from ScenarioManager scripts. E.g.:

<scenario>
  <at t="2">
    <routing module="NetworkInfo" target="LSR2" file="LSR2_002.txt"/>
  </at>
</scenario>

It is currently only used in the Quagga/INET validation scenarios, and supports following commands:

NetworkInfo

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Source code:

//
// ~NetworkInfo does not send or receive messages and has no parameters
// either. Instead it is invoked from ~ScenarioManager scripts. E.g.:
//
// <pre><nohtml>
// <scenario>
//   <at t="2">
//     <routing module="NetworkInfo" target="LSR2" file="LSR2_002.txt"/>
//   </at>
// </scenario>
// </nohtml></pre>
//
// It is currently only used in the Quagga/INET validation scenarios, and supports following
// commands:
//
// - <code>routing</code>: dumps routing table of the <tt>target</tt> node into
//   specified <tt>file</tt>. Optionally <tt>mode</tt> attribute can be set to "a"
//   to have the output appended (default is to truncate target file if such exists).
//   Setting attribute <tt>compat</tt> to value "linux" modifies the
//   output to look like `route -n | sort -r` output on linux...
//
simple NetworkInfo
{
}