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

A consumable message for adding a new link. More...

Inheritance diagram for ravel.network.AddLinkMessage:
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 new link.

Constructor & Destructor Documentation

def ravel.network.AddLinkMessage.__init__ (   self,
  node1,
  node2,
  ishost,
  isactive 
)
Parameters
node1node to link together
node2node to link together
ishostfalse if both nodes are switches, true otherwise
isactiveif the link should also be marked as active

Member Function Documentation

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