Skip to content

Testing with simulator

Nikita Cherevko edited this page Jan 2, 2018 · 10 revisions

General overview

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).

Design solutions.

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)

Message structure

All types of expected messages are listed in org.openkilda.messaging.simulator package. Commands and models are located in the relevant subdirectories.

Creation of atdd with simulator

Clone this wiki locally