Ravel Python API Reference
A Database-Defined Network Controller
|
A consumable message for adding a switch. More...
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... | |
A consumable message for adding a switch.
def ravel.network.AddSwitchMessage.__init__ | ( | self, | |
sid, | |||
name, | |||
dpid, | |||
ip, | |||
mac | |||
) |
sid | the id of the switch |
name | the name of the switch |
dpid | the datapath ID of the switch |
ip | the IP address of the switch |
mac | the MAC address of the switch |
def ravel.network.AddSwitchMessage.consume | ( | self, | |
provider | |||
) |
Consume the message.
provider | a NetworkProvider object to consume the message |