Skip to content

openstack_gredos

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

Scenario 4: OpenStack as ISP Cloud


This scenario deploy cloud and client sides except from the Banana Pi (physical). Cloud side is deployed with OpenStack.

This scenario is the closer solution to the one proposed by GREDOS proyect. It uses the same Floodlight controller as previous scenarios and Management Layer and it adds the ISP cloud with OpenStack.

The following diagram explains the scenario:

In order to start this scenario, follow these commands:

  • Log in in OpenStack with admin - xxxx

  • Create the scenario: sudo vnx -f openstack_gredos.xml -v -t

  • Configure scenario: sudo vnx -f openstack_gredos.xml -x start-all

  • Load OpenStack images in Glance: sudo vnx -f openstack_gredos.xml -x load-img

  • Create GREDOS instance's image: sudo vnx -f openstack_gredos.xml -x create-img

  • Load GREDOS instance's image if you have it created in controller in /tmp/images/: sudo vnx -f openstack_gredos.xml -x create-img-local

  • Create management VLAN (if needed) network: sudo vnx -f openstack_gredos.xml -x vlan-net

  • Create client's scenario: sudo vnx -f openstack_clients_scenario.xml -v -t

Now, you have to deploy the vMANDO. A vMANDO is shown in the following picture.

There are three different ways to deploy a vMANDO:

  1. Manually
  • Create vMANDO: sudo vnx -f openstack_gredos.xml -x create-gredos-scenario
  • Destroy vMANDO: sudo vnx -f openstack_gredos.xml -x destroy-gredos-scenario

The vMANDO desployed in OpenStack is:

  1. Using Tacker
  • In this case, you have to log in in OpenStack with Tacker - xxxx
  • Install module Tacker: sudo vnx -f openstack_gredos.xml -x install-tacker
  • Create vMANDO: sudo vnx -f openstack_gredos.xml -x install-tacker
  • Destroy vMANDO: sudo vnx -f openstack_gredos.xml -x destroy-tacker
  1. Using Open Source Mano
  • create vMANDO networks (previous to OSM deployment): sudo vnx -f openstack_gredos.xml -x create-vMando
  • Install OSM in the same server or another server and connect them -> OSM Installation. If you need help to connect two servers with GRE Tunnel. If you install it in another server:
    • Remove connection with OSM Server if created: ./openstack_scenario/scripts/del-connection
    • Create connection with OSM Server: ./openstack_scenario/scripts/create-connection IP_OSM_Server
  • Deploy the network service of GREDOS project in OSM server (Default: admin-admin)
    • Open the Web Interface: https://IP_OSM_Server:8443
    • In catalog add NFVDs and NSDs
    • In Web Interface: launchpad/Instantiate select GREDOS simplified descriptor, configure parameters and deploy it

Here, the vMANDO is simplified in the following way:

The scenario with OSM Server is:

The vMANDO deployed in OpenStack is:

** 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 :)

Clone this wiki locally