A standard XML format for a traffic matrix representation

We have defined an XML format for intra and inter-domain traffic matrices.

We have created an XML Schema defining our XML traffic matrix representation format 6.

The root element is TrafficMatrixFile which is composed of two elements : info (optional) and either intraTM either interTM (choice, mandatory).

The info element is composed of the following sub-elements : title (string), date (dateTime), duration (double) expressed in minutes, author (string), description (string) and units. The units element is composed of one (and only one) sub-element unit. The unit element has two mandatory attributes : type (which is contrained to be bandwidth) and value which can be bps, kbps, mbps, gbps or tbps.

The intraTM element is composed of a list of src elements and has one mandatory ASID attribute (int). One src element has one mandatory id attribute (string which specifies to which source node the value is related to) and is composed of a list of dst elements. A dst element contains a non-negative float value (the traffic from the source node src to the destination node dst) and has one mandatory id attribute (string which identifies the destination node).

The interTM element is composed of a list of node elements and has one mandatory ASID attribute (int). One node element has one mandatory id attribute (string which identifies the node in the domain) and is composed of a list of src elements. A src element has one mandatory attribute prefix (which identifies the source prefix from where data is coming) and is composed of a list of dst elements. A dst element contains a non-negative float value (the bandwidth from the source prefix src to the destination prefix dst) and has one mandatory attribute prefix (which identifies the destination prefix where data is going to).

Here is an example of the XML TrafficMatricFile element usage (intra-domain traffic matrix) : language=xml, showstringspaces=false
\begin{lstlisting}
<TrafficMatrixFile>
<info>
<date>2004-10-14T01:03:00</date>...
...2''>69</dst>
...
</src>
...
</IntraTM>
</TrafficMatrixFile>
\end{lstlisting}

Here is an example of the XML TrafficMatricFile element usage (inter-domain traffic matrix) : language=xml, showstringspaces=false
\begin{lstlisting}
<TrafficMatrixFile>
<info>
<date>2004-10-14T01:03:00</date>...
...st>
...
</src>
</node>
...
</InterTM>
</TrafficMatrixFile>
\end{lstlisting}

Simon Balon 2008-06-18