next up previous contents index
Next: 17.3 Advantages of the Up: 17. Restructuring ns node Previous: 17.1.2 Node Creation

   
17.2 Comparison of new API vs old API

The new node API differs considerably from the old method of creating nodes in ns. Following is a list of differences between the two:


New API Old API
ns_ node-config ns_ dsdv/dsr/tora-create-mobile-node
ns_ node  
No global variable dependency Strong global dependency
Nam support exists (namtrace-all-wireless) No nam support
Energy model support No energy model
Global instance for channel and topology removed Global instances of channel and topology




2000-08-24