EPA and SDN assist: Difference between revisions

From OSM Public Wiki
Jump to: navigation, search
No edit summary
Line 18: Line 18:
=Adding a SDN controller to OSM=
=Adding a SDN controller to OSM=


This is done through the RO CLI. Enters in the RO container (lxc exec RO bash) and type
This is done through the RO CLI.
 
Enter in the RO container (lxc exec RO bash) and type
 
  export OPENMANO_TENANT=osm  # Indicate the RO tenant to use
  export OPENMANO_TENANT=osm  # Indicate the RO tenant to use
  openmano sdn-controller-create mySDN --ip=192.168.15.2 --port=8080 --dpid=56:55:12:12:12:12:12:12 --user sdnuser --passwd sdnpasswd --type onos
  openmano sdn-controller-create mySDN --ip=192.168.15.2 --port=8080 --dpid=56:55:12:12:12:12:12:12 --user sdnuser --passwd sdnpasswd --type onos
Line 26: Line 29:
You can manage SDN controllers with sdn-controller-create/list/edit/delete
You can manage SDN controllers with sdn-controller-create/list/edit/delete
Note that at SDN creation it is not checked the connectivity and credentials
Note that at SDN creation it is not checked the connectivity and credentials


=Asociate a SDN with the VIM=
=Asociate a SDN with the VIM=

Revision as of 10:31, 15 June 2017


(THIS IS A DRAFT)

Introduction

OSM can manage the dataplane underlay conectivity with openflow through an external SDN network controller. By default when a VIM is added to OSM, it is assumed that the VIM will be in charge of this type of networks. But when this is not the case, you can dictate to OSM to take control of the underlay dataplane connectivity on behalve of the VIM.

OSM-RO uses a library offered by openvim for this task. Currently there are plugins for flodlight, ONOS and OpenDayLight OpenVIM installation (Release TWO)#Openflow_controller

The required external components are:

  • An external SDN controller
  • A dataplane swith openflow able, that will connect the physical interfaces of the VIM compute nodes.
  • The mapping between the switch ports (identified by name) and the compute node interfaces (identified by host-id and PCI address)
  • Some VIMs as openstack requires admin credentials in order to be able to get the physical place of the SRIOV/passthrough VM interfaces

Adding a SDN controller to OSM

This is done through the RO CLI.

Enter in the RO container (lxc exec RO bash) and type

export OPENMANO_TENANT=osm   # Indicate the RO tenant to use
openmano sdn-controller-create mySDN --ip=192.168.15.2 --port=8080 --dpid=56:55:12:12:12:12:12:12 --user sdnuser --passwd sdnpasswd --type onos
openmano sdn-controller-list
openmano sdn-controller-list mySDN

You can manage SDN controllers with sdn-controller-create/list/edit/delete Note that at SDN creation it is not checked the connectivity and credentials

Asociate a SDN with the VIM

TBC

Adding a port mapping

TBC

Managing dataplane networks with external conectivity

TBC

Additional information

TBC Create a new SDN plugin