Write a TrafficMatrix or a TrafficMatrixSequence object to an XML file. This function can be use to either persistently store a traffic matrix for later use or to export it to an FNSS adapter for a simulator or an API for another programming language.
Parameters : | traffic_matrix : TrafficMatrix or TrafficMatrixSequence
path : str
encoding : str (optional)
prettyprint : bool (optional)
|
---|