Package: inet.common.lifecycle
NodeStatus
simple moduleKeeps track of the status of network node (up, down, etc.) for other modules, and also displays it as a small overlay icon on this module and on the module of the network node.
Used in compound modules
| Name | Type | Description |
|---|---|---|
| AccessPoint | compound module |
A generic access point supporting multiple wireless radios, and multiple ethernet ports. The type of the ethernet MAC, relay unit and wireless card can be specified as parameters. |
| EthernetHost | compound module |
An example host with one Ethernet port and a traffic generator that generates request-reply traffic directly over Ethernet. This host model does not contain higher layer protocols (IP, TCP). By default it is configured to use half-duplex MAC (CSMA/CD). |
| EthernetSwitch | compound module |
Model of an Ethernet switch. |
| LdpMplsRouter | compound module |
An LDP-capable router. |
| NodeBase | compound module |
This module contains the most basic infrastructure for network nodes that is not strictly communication protocol related. |
| RsvpMplsRouter | compound module |
An RSVP-TE capable router. |
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| initialStatus | string | "UP" |
TODO @signal, @statistic |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/cogwheel;is=s |
Signals
| Name | Type | Unit |
|---|---|---|
| nodeStatusChanged | inet::NodeStatus |
Called methods (observed)
| function | info | call from |
|---|---|---|
| inet::NodeStatus::handleOperationStage | handleOperationStage | ScenarioManager, SimpleEpEnergyManagement, SimpleEpEnergyStorage |
Source code
// // Keeps track of the status of network node (up, down, etc.) for other // modules, and also displays it as a small overlay icon on this module // and on the module of the network node. // simple NodeStatus { parameters: //TODO @signal, @statistic string initialStatus = default("UP"); // initial status of the network node @display("i=block/cogwheel;is=s"); @signal[nodeStatusChanged](type=inet::NodeStatus); }File: src/inet/common/lifecycle/NodeStatus.ned