#include <SimpleForwardingModule.hpp>
The SimpleForwardingModule is a very simple packet forwarding moulde. It receives PacketIn messages and does layer 2 forwarding.
- Author
- Matthias Strljic
-
Andre Kutzleb
| SimpleForwardingModule::SimpleForwardingModule |
( |
uint64_t |
instanceId | ) |
|
Default Module constructor
- Parameters
-
| instanceId | unique id of the module instance. |
| SimpleForwardingModule::~SimpleForwardingModule |
( |
| ) |
|
| void SimpleForwardingModule::disable |
( |
| ) |
|
|
virtual |
Called when the module should disable itself. Must stop the module (threads etc.).
| bool SimpleForwardingModule::enable |
( |
| ) |
|
|
protectedvirtual |
Setup the the needed subscriptions (OpenFlow PacketIn, DeviceManager Item changed) and the database of existing devices in the network. This includes requests to the DeviceManager module.
- Returns
- True if enable successful, False if enable failed or rejected
The documentation for this class was generated from the following files: