Commit 8c0423f6 authored by David Anderson's avatar David Anderson
Browse files

Modified tb_compat that sources nstb_compat.tcl

parent d8f4dfbf
......@@ -5,72 +5,10 @@
# All rights reserved.
#
# This is a nop tb_compact.tcl file that should be used when running scripts
# under ns.
proc tb-set-ip {node ip} {}
proc tb-set-ip-interface {src dst ip} {}
proc tb-set-ip-link {src link ip} {}
proc tb-set-ip-lan {src lan ip} {}
proc tb-set-hardware {node type args} {}
proc tb-set-node-os {node os} {}
#proc tb-set-link-loss {src args} {}
#proc tb-set-lan-loss {lan rate} {}
proc tb-set-node-rpms {node args} {}
proc tb-set-node-startup {node cmd} {}
proc tb-set-node-cmdline {node cmd} {}
proc tb-set-node-deltas {node args} {}
proc tb-set-node-tarfiles {node args} {}
#proc tb-set-node-lan-delay {node lan delay} {}
#proc tb-set-node-lan-bandwidth {node lan bw} {}
#proc tb-set-node-lan-loss {node lan loss} {}
#proc tb-set-node-lan-params {node lan delay bw loss} {}
proc tb-set-node-failure-action {node type} {}
proc tb-set-ip-routing {type} {}
proc tb-fix-node {v p} {}
proc tb-make-weighted-vtype {name weight types} {}
proc tb-make-soft-vtype {name types} {}
proc tb-make-hard-vtype {name types} {}
#proc tb-set-lan-simplex-params {lan node todelay tobw toloss fromdelay frombw fromloss} {}
#proc tb-set-link-simplex-params {link src delay bw loss} {}
proc tb-set-uselatestwadata {onoff} {}
proc tb-set-usewatunnels {onoff} {}
proc tb-set-wasolver-weights {delay bw plr} {}
proc tb-set-uselinkdelays {onoff} {}
proc tb-set-forcelinkdelays {onoff} {}
proc tb-set-sync-server { ss } {}
Class Program
Program instproc init {args} {
}
Program instproc unknown {m args} {
}
Class NSENode -superclass Node
NSENode instproc make-simulated {args} {
uplevel 1 eval $args
}
Node instproc add-desire {arg1 arg2} {
}
# We are just syntax checking the NS file
Simulator instproc run {args} {
}
Simulator instproc nsenode {args} {
return [new NSENode]
}
Simulator instproc make-simulated {args} {
uplevel 1 eval $args
}
source nstb_compat.tcl
### end of tb_compat default
# LINKTEST FUNCTIONS
# Linktest-specific functions. Source these before running
# linktest-ns.
# holds a pair of simplex links.
Class Duplink
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment