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