ZeroSDN Controller  1.0
A modular distributed Software-Defined Network Controller
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros
SimpleForwardingModule Class Reference

#include <SimpleForwardingModule.hpp>

Inheritance diagram for SimpleForwardingModule:

Classes

struct  Device
 

Public Member Functions

 SimpleForwardingModule (uint64_t instanceId)
 
 ~SimpleForwardingModule ()
 
virtual void disable ()
 

Protected Member Functions

virtual bool enable ()
 

Detailed Description

The SimpleForwardingModule is a very simple packet forwarding moulde. It receives PacketIn messages and does layer 2 forwarding.

Author
Matthias Strljic
Andre Kutzleb

Constructor & Destructor Documentation

SimpleForwardingModule::SimpleForwardingModule ( uint64_t  instanceId)

Default Module constructor

Parameters
instanceIdunique id of the module instance.
SimpleForwardingModule::~SimpleForwardingModule ( )

Member Function Documentation

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: