Commit a5919a91 authored by Christopher Alfeld's avatar Christopher Alfeld
Browse files

tb_cmd.txt - Cleaned up some.

ir_format - Updated to include the new delays section format.

NOTE: The new /delay is *not* backwards compatible.  The only thing that use
to use it was os_setup which is no longer used.  postassign will now parse
the new format and update the delays table.
parent 3b93ab0b
......@@ -79,7 +79,7 @@ START links
# up the virtual link.
END links
START lans
# <virtual lan> <physical lan>
# <virtual lan> <physical nodes>
END lans
END virtual
......@@ -163,8 +163,10 @@ END ip
START delay
# Records of the form
# <node> <bw> <delay>
# <node> is a virtual node name, <bw> is ###Mb, and <delay> is ###ms
# <node> <bw> <delay> <loss> <macA> <macB>
# <node> is a virtual node name, <bw> is in MB, and <delay> is in ms.
# <loss> is the loss rate between 0.0 and 1.0
# <macA> and <macB> are the macs to delay between
END delay
START os
......@@ -181,13 +183,3 @@ START nodes
END nodes
END os
----------------------------------------------------------------------
Other possible sections:
software - describes what software to install on what nodes
data - describes data collection
control - describes control
user - describes basic information of user (contact, etc.)
traffic - describes traffic generation
agents - describes agents
......@@ -41,7 +41,7 @@ between them.
This commands is used to set hardware specs. Currently only one
format is supported: <type> = shark-shelf. This indicates that <node>
should be a shelf (unswitches LAN) of 8 sharks.
should be a shelf (unswitched LAN) of 8 sharks.
#TB set-dnard-ip <shelf> <number> <ip>
......@@ -55,10 +55,13 @@ Node, it all cases <node> can include * and ? as wild cards and
#TB create-os <label> <image_path> <partition>
Creates a custom OS. Any <os> argument can then refer to it by <label>.
#TB set-link-loss <src> <dst> <rate>
Set the loss rate of a link.
Set the loss rate of a link. <rate> is between 0.0 and 1.0.
#TB set-lan-loss <lan> <rate>
Set the loss rate of a lan.
Set the loss rate of a lan. <rate> is between 0.0 and 1.0.
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