State file section
authorRichard Whitehouse <richardwhiuk@richardwhiuk.com>
Wed, 18 May 2011 11:13:26 +0000 (12:13 +0100)
committerRichard Whitehouse <richardwhiuk@richardwhiuk.com>
Wed, 18 May 2011 11:13:26 +0000 (12:13 +0100)
implementation.tex

index 99148d18e01ef131d6704fc1adea75c8a0f78a07..0c5cbbe8cd2f23046808b2e013349e85ace6feab 100644 (file)
@@ -104,7 +104,13 @@ The topology file details the graph of the network. Specifically it lists the nu
 
 The data file details the data sent across the network. After the file header, it lists in order, the sets of packets to be transferred across the network, The first field contains the time to start, interpreted as a double. After this follows descriptors containing the hosts (zero indexed) to send to and from. Finally each section has the number of packets to send across the link.
 
-%\subsubsection{State}
+\subsubsection{State}
+
+The state file details the data in the state tables on the bridges after the simulation has finished. After a header, including a magic, file type, 3, and the file version, it lists for each bridge the bridge address and the contents of the state tables. 
+
+For MOOSE bridges, this includes the MOOSE address, the MAC address, and then the contents of the two state tables, host and switch. The host table contains MAC address, MOOSE suffix, Port identifier and timestamp. For the switch table it contains the MOOSE prefix, the Port identifier and timestamp.
+
+For MAC bridges, this includes the bridge MAC address, and then the contents of the stable table. Each entry includes the MAC address, Port identifier and timestamp.
 
 \subsubsection{Trace}