MQTT Traffic

The commands to start P4FlowForge with MQTT traffic are:

#First start the receiver
receiver.py --protocol mqtt --source <broker_address> --topic <topic>

#Start the generator
generator.py --time <time> --mean <messages_per_second> --interface <output_interface> --protocol mqtt --topic <topic> --target <broker_address>

The fields for the topic are mandatory for both the receiver and the generator. At the receiver the --source is the MQTT broker address

Last updated