Skip to content
  • Shashi Guruprasad's avatar
    Distributed NSE changes. In other words, simulation resources are · d266bd71
    Shashi Guruprasad authored
    now mapped to more than one PC if required. The simnode_capacity
    column in the node_types table determines how many sim nodes can
    be packed on one PC. The packing factor can also be controlled via
    tb-set-colocate-factor to be smaller than simnode_capacity.
    
    - No frontend code changes. To summarize:
      $ns make-simulated {
        ...
      }
      is still the easy way to put a whole bunch of Tcl code to be
      in simulation.
      One unrelated fix in the frontend code is to fix the
      xmlencode() function which prior to this would knock off
      newlines from columns in the XML output. This affected
      nseconfigs since it is one of the few columns with embedded
      newlines. Also changed the event type and event object type
      in traffic.tcl from TRAFGEN/MODIFY to NSE/NSEEVENT.
    
    - More Tcl code in a new directory tbsetup/nseparse
      -> Runs on ops similar to the main parser. This is invoked
         from assign_wrapper in the end if there are simnodes
      -> Partitions the...
    d266bd71