File: Network/Extras/FailureManager.ned
C++ definition: click here
Module for managing node failure and recovery in the network. If used, it should have exactly one instance in the whole network.
FailureManager does not send or receive messages, and has no parameters either. Instead, it is invoked from ScenarioManager scripts, for example:
<scenario> <at t="2"> <shutdown module="failureManager" target="LSR2"/> </at> <at t="10"> <startup module="failureManager" target="LSR2"/> </at> </scenario>
It is currently only used with MPLS simulations, and supports the following commands:
shutdown
: replaces a router module named by the target attribute
with another module that represents a failed router. It currently replaces
RSVP_LSR with RSVP_FAILED, LDP_LSR with LDP_FAILED, and QuaggaRouter with
FailedRouter.startup
: the inverse of shutdown: replaces a failed
router model named by the target attribute with an operational host/router
module type.The operation of FailureManager is likely to get refined and generalized in next versions.
The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.
simple FailureManager endsimple