Skip to content

floodlight_all_virtual_scenario

Carlos Vega edited this page Jul 30, 2018 · 12 revisions

Scenario 2: Floodlight as SDN controller and OVS as Residential Gateway


This scenario deploys clients and cloud side and the residential gateway OVS. Uses the GREDOS project's network application in Floodlight as SDN controller.

The purpose of this scenario is understanding the concept of the project using a complex SDN controller application developed in Java for Floodlight. It also addes the ManagementLayer code to run the server side of client's applications.

To create the filesystem of the containers, you have to run the script create-rootfs_GREDOS in filesystems folder

In order to start this scenario, follow these commands:

  • Create the scenario: sudo vnx -f floodlight_all_virtual_scenario.xml -v -t
  • Configure scenario: sudo vnx -f floodlight_all_virtual_scenario.xml -x start-all
  • Up interfaces in clients:
    1. sudo vnx -f floodlight_all_virtual_scenario.xml -x up-c1
    2. sudo vnx -f floodlight_all_virtual_scenario.xml -x up-c2
    3. sudo vnx -f floodlight_all_virtual_scenario.xml -x up-c3

When you create the scenario, vnx deploys the following architecture:

The VMs of the scenario are LXC and they are:

  • Cloud: it has the routing, DHCP Relay, NAT, ManagementLayer of apps and SDN Floodlight controller functions.
  • Dhcp: it has DHCP function in order to give IP to clients in residential network.
  • Clients: residential network clients.

The OVS s1 is the virtual virtualized Banana Pi and runs in the host.

The following diagram explains better the scenario:

** You have to put the folder floodlight-java8 with the application floodlight code in the folder others in order to run the scenario. It will be available to download soon :)