|
Ravel Python API Reference
A Database-Defined Network Controller
|
A provider for an empty network. More...
Public Member Functions | |
| def | __init__ |
| def | buildTopo |
| Build a Mininet topology without starting Mininet. | |
| def | getNodeByName |
| Find a node by its name. More... | |
| def | start |
| Start the network provider. | |
| def | stop |
| Stop the network provider. | |
| def | cli |
| EmptyNetProvider has no CLI, raises warning. | |
Public Member Functions inherited from ravel.network.NetworkProvider | |
| def | __init__ |
| def | cacheNodes |
| Cache node-name mapping in memory from database. More... | |
| def | addLink |
| Add a link to the topology. More... | |
| def | removeLink |
| Remove a link from the topology. More... | |
| def | addSwitch |
| Add a new switch to the topology. More... | |
| def | removeSwitch |
| Remove a switch from the topology. More... | |
| def | addHost |
| Add a new host to the topology. More... | |
| def | removeHost |
| Remove a host from the topology. More... | |
| def | start |
| Start the network provider and any components in the network. | |
| def | stop |
| Stop the network provider and any components in the network. | |
| def | cli |
| Pass commands to the network provider's CLI, if it has its own. More... | |
A provider for an empty network.
Accepts a Mininet topology and assigns IP and MAC addresses to the nodes without starting Mininet.
| def ravel.network.EmptyNetProvider.__init__ | ( | self, | |
| db, | |||
| topo | |||
| ) |
| db | a ravel.db.RavelDb instance |
| topo | a Mininet topology |
| def ravel.network.EmptyNetProvider.getNodeByName | ( | self, | |
| node | |||
| ) |
Find a node by its name.
| node | a node name |
1.8.6