This repository implements a dummy scheduler which handle MQTT messages. The implemented MQTT messages follow the format described in git@chili.zdv.uni-mainz.de:repos/fast/docs/kommunikation.md
The scheduler interacts with agents initialization requests and initializes agents with random configurations. The scheduler sends random stopMonitor messages to the initialized agents.
##The implemented MQTT messages are :
TX side:
start vm
stop vm
migrate vm
initAgent
stopMonitor
RX side:
vmStarted
vmStopped
vmMigrated
initAgent
mkdir build && cd build
cmake ..
make
-
start the mosquitto daemon
mosquitto -c /etc/mosquitto/mosquitto.conf
-
listen to all transmitted messages
mosquitto_sub -t "#"
-
run dummy-scheduler
./dummy-scheduler
When the dummy-scheduler runs, it sends some dummy messages messages.
-
send MQTT messages to the dummy scheduler
./examples/runTest.bash
The runTest.bash script send some dummy message to test how the scheduler parse incoming MQTT message.
-
start the mosquitto daemon
mosquitto -c /etc/mosquitto/mosquitto.conf
-
listen to all transmitted messages
mosquitto_sub -t "fast/agent/#"
-
simulate agents initialization requests
./examples/init_agent.bash
-
run dummy-scheduler
./dummy-scheduler //the scheduler configuration can be see in this file ./scheduler.conf
-
Add a doxygen documentation.
-
Add multi-threading to accelerate library.