API Documentation¶
Trafficmodelchecker¶
client server packet generator
- class trafficmodelchecker.trafficmodelchecker.Trafficmodelchecker(allappmodels, allusessions, outdir, modeltype='Type4b')[source]¶
trafficmodelchecker simulates the generation of realistic network traffic on a network, based on input traffic model file and input usersessions file, to yeild a csv of protcol data units (PDUs) that each endpoint in the network sends out of its interfaces, sorted in ascending order of time.
- __init__(allappmodels, allusessions, outdir, modeltype='Type4b')[source]¶
- Parameters
allappmodels (str) – the traffic model file to use in generating packets
allusessions (str) – the file of user sessions to be used in generating packets.
outdir (str) – the output directory to save the csv of genrated packets and logs
modeltype (str) – the modeling method that was used to create the model file, which will also be used to generate t (‘Type1’, ‘Type2’, ‘Type3’, ‘Type4’, ‘Type4b’, ‘TypeStoc1’, ‘TypeStoc1b’)