fnss.traffic.trafficmatrices.static_traffic_matrix¶

static_traffic_matrix
(topology, mean, stddev, max_u=0.9, origin_nodes=None, destination_nodes=None)[source]¶ Return a TrafficMatrix object, i.e. a single traffic matrix, representing the traffic volume exchanged over a network at a specific point in time
This matrix is generated by assigning traffic volumes drawn from a lognormal distribution and assigned to specific origindestination pairs using the Ranking Metrics Heuristic method proposed by Nucci et al. [1]
Parameters:  topology : topology
The topology for which the traffic matrix is calculated. This topology can either be directed or undirected. If it is undirected, this function assumes that all links are fullduplex.
 mean : float
The mean volume of traffic among all origindestination pairs
 stddev : float
The standard deviation of volumes among all origindestination pairs.
 max_u : float, optional
Represent the max link utilization. If specified, traffic volumes are scaled so that the most utilized link of the network has an utilization equal to max_u. If None, volumes are not scaled, but in this case links may end up with an utilization factor greater than 1.0
 origin_nodes : list, optional
A list of all nodes which can be traffic sources. If not specified, all nodes of the topology are traffic sources
 destination_nodes : list, optional
A list of all nodes which can be traffic destinations. If not specified, all nodes of the topology are traffic destinations
Returns:  tm : TrafficMatrix
References
[1] (1, 2) Nucci et al., The problem of synthetically generating IP traffic matrices: initial recommendations, ACM SIGCOMM Computer Communication Review, 35(3), 2005