-
Notifications
You must be signed in to change notification settings - Fork 53
Testing with simulator
Nikita Cherevko edited this page Jan 2, 2018
·
10 revisions
Simulator is a separate storm topology that performs the role of the speaker (floodlight) and has the following functionality:
- create topology
- add/modify switch/port/isl
- clear up current topology All communication is done by kafka messaging with pre-defined message format (more details).
Simulator is listen two kafka topics:
- kafka.topic.speaker - This topic contains all messages for floodlight and simulator processes them to execute his own functions.
- kafka.topic.simulator - To that topic should be send all commands for simulator (i.e. create topology)
All types of expected messages are listed in org.openkilda.messaging.simulator
package. Commands and models are located in the relevant subdirectories.