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

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

Inheritance diagram for ravel.network.AddHostMessage:
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 host.

Constructor & Destructor Documentation

def ravel.network.AddHostMessage.__init__ (   self,
  hid,
  name,
  ip,
  mac 
)
Parameters
hidthe id of the host
namethe name of the host
ipthe IP address of the host
macthe MAC address of the host

Member Function Documentation

def ravel.network.AddHostMessage.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: