next up previous contents index
Next: 25.3.1.0.1 DynamicLink../ns-2/dynalink.cc.tcl Up: 25.3 Interaction with Unicast Previous: 25.3 Interaction with Unicast

   
25.3.1 Extensions to Other Classes

The existing classes assume that the topology is static by default. In this section, we document the necessary changes to these classes to support dynamic topologies.

We have already described the instance procedures in the Simulator../ns-2/ns-lib.tcl to create or manipulate route models, , []rtmodel, []rtmodel-at, []rtmodel-delete, and []rtmodel-configure in earlier sectionsSectionsec:rtmodel. Similarly, the Node../ns-2/ns-node.tcl contains the instance procedure []intf-changed that we described in the previous sectionSectionsec:unicast-int.

The network dynamics code operates on individual links. Each model currently translates its specification into operations on the appropriate links. The following paragraphs describe the class Link and related classes.



 


2000-08-24