-
Notifications
You must be signed in to change notification settings - Fork 3
Usage of different NetIDE backends and shims in Eclipse
In Deploying a new Controller backend shim in Eclipse was showed how to deploy a new controller backend or shim in Eclipse, once done that, we are going to explain how to use each controller in a NetIDE environment in Eclipse. Once created and edited a network model, you have to run your NetIDE environment in Eclipse following the next steps:
-
Switch to the Java or NetIDE perspective.
-
In the window menu, select "Run -> Debug Configurations"
- Right-click "NetIDE Controller Deployment" in the left pane and select "New".
-
Click "Choose Model" and enter the location of your topology model.
- Select the platform Network Engine, which is the platform of NetIDE. To know how to use the different Server controllers (shims) and the Client controllers (backends), follow the next sections in this document.
In the case of Ryu as a backend, it is necessary to select Ryu as a client controller and the application that has to run over Ryu backend. As it is showed in the following picture, in this example the app for Ryu backend is simple_switch.py. The app must be loaded from your own file storage, doing click on Choose App button.
In this case, it is just necessary to select Floodlight as a client controller, since the different apps to run over Floodlight are selected before building Floodlight controller, so now the app is already selected.
In the case of Pyretic as a backend, it is necessary to select Pyretic as a client controller and the application that has to run over pyretic backend. In this case the app that we are going to select is mac_learned.py, this app must be loaded from your own file storage, doing click on Choose App button.
In this case, it is just necessary to select Ryu as a server controller.
In this case, it is just necessary to select POX as a server controller.
In the case of OpenDaylight as a shim, it is necessary to select it as a server controller and once the virtual machine has been started, you have to install different bundles in Karaf (ODL), as you can see in the following pictures.
Go to the karaf console and install the following bundles:
- bundle:install -s mvn:com.googlecode.json-simple/json-simple/1.1.1
- bundle:install -s mvn:org.apache.commons/commons-lang3/3.3.2
- bundle:install -s mvn:org.opendaylight.openflowplugin/pyretic-odl/0.0.4-Helium-SR1.1
Finally, if you want to use the Logger tool or the Debugger tool over OpenDaylight, you have to install the following bundle: bundle:install -s mvn:com.rabbitmq/amqp-client/3.5.0