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

A OpenFlow flow modification message. More...

Inheritance diagram for ravel.flow.OfMessage:
ravel.messaging.ConsumableMessage

Public Member Functions

def __init__
 
def consume
 Consume the message. More...
 
- Public Member Functions inherited from ravel.messaging.ConsumableMessage
def consume
 Consume the message. More...
 

Detailed Description

A OpenFlow flow modification message.

Constructor & Destructor Documentation

def ravel.flow.OfMessage.__init__ (   self,
  command = None,
  priority = 1,
  switch = None,
  match = None,
  actions = None 
)
Parameters
commandan OpenFlow flow modification command
prioritythe flow priority
switchthe switch to send the message
matcha match for the flow
actionsa list of ports to forward matching packets

Member Function Documentation

def ravel.flow.OfMessage.consume (   self,
  consumer 
)

Consume the message.

Parameters
consumera ravel.of.OfManager instance to consume the message

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