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

A consumable message for adding a switch. More...

Inheritance diagram for ravel.network.AddSwitchMessage:
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 consumable message for adding a switch.

Constructor & Destructor Documentation

def ravel.network.AddSwitchMessage.__init__ (   self,
  sid,
  name,
  dpid,
  ip,
  mac 
)
Parameters
sidthe id of the switch
namethe name of the switch
dpidthe datapath ID of the switch
ipthe IP address of the switch
macthe MAC address of the switch

Member Function Documentation

def ravel.network.AddSwitchMessage.consume (   self,
  provider 
)

Consume the message.

Parameters
providera NetworkProvider object to consume the message

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