Ravel Python API Reference
A Database-Defined Network Controller
Public Member Functions | List of all members
ravel.of.OfManager Class Reference

Manange communication with an OpenFlow controller. More...

Inherits object.

Public Member Functions

def registerReceiver
 Add a new message receiver. More...
 
def stop
 Stop the manager (and stop receiving messages from the database)
 
def isRunning
 returns: true if the manager is running
 
def sendBarrier
 Send a barrier to the underlying controller implementation. More...
 
def sendFlowmod
 Send a flow modification to the underlying controller implementation. More...
 
def requestStats
 Send the switches a port stats request.
 

Detailed Description

Manange communication with an OpenFlow controller.

The manager receives flow modification messages from the database triggers on changes to database tables. The underlying controller implementation serves as a proxy for sending the switches messages and receiving link status updates from the network

Member Function Documentation

def ravel.of.OfManager.registerReceiver (   self,
  receiver 
)

Add a new message receiver.

Parameters
receivera ravel.messaging.MessageReceiver instance
def ravel.of.OfManager.sendBarrier (   self,
  dpid 
)

Send a barrier to the underlying controller implementation.

Parameters
dpidthe datapath ID of the switch to receive the message
def ravel.of.OfManager.sendFlowmod (   self,
  msg 
)

Send a flow modification to the underlying controller implementation.

Parameters
msga ravel.flow.OfMessage instance

The documentation for this class was generated from the following file: