|
Ravel Python API Reference
A Database-Defined Network Controller
|
Manange communication with an OpenFlow controller. More...
Inherits object.
Public Member Functions | |
| def | registerReceiver |
| Add a new message receiver. More... | |
| def | stop |
| Stop the manager (and stop receiving messages from the database) | |
| def | isRunning |
| returns: true if the manager is running | |
| def | sendBarrier |
| Send a barrier to the underlying controller implementation. More... | |
| def | sendFlowmod |
| Send a flow modification to the underlying controller implementation. More... | |
| def | requestStats |
| Send the switches a port stats request. | |
Manange communication with an OpenFlow controller.
The manager receives flow modification messages from the database triggers on changes to database tables. The underlying controller implementation serves as a proxy for sending the switches messages and receiving link status updates from the network
| def ravel.of.OfManager.registerReceiver | ( | self, | |
| receiver | |||
| ) |
Add a new message receiver.
| receiver | a ravel.messaging.MessageReceiver instance |
| def ravel.of.OfManager.sendBarrier | ( | self, | |
| dpid | |||
| ) |
Send a barrier to the underlying controller implementation.
| dpid | the datapath ID of the switch to receive the message |
| def ravel.of.OfManager.sendFlowmod | ( | self, | |
| msg | |||
| ) |
Send a flow modification to the underlying controller implementation.
| msg | a ravel.flow.OfMessage instance |
1.8.6