Skip to content

kondepu/QoS-Slicing

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This code implements an application to be installed and utilized within the SDN controller ONOS (Open Network Operating System). The ONOS controller is an open-source project that can be cloned at this link:

git clone https://gerrit.onosproject.org/onos 

QoS-Slicing

The QoSlicing application provides network slicing with performance isolation to netwrk slices created with the VPLS ONOS application.

The folders/file contain:

  • ONOS File: contains the files that you have to change in the onos master repository for utilizing the QoS-Slicing application.
  • target: contains compiled QoS-Slicing application, i.e. the oar file. The compiled file is needed to install the application on ONOS.
  • src: contains the application java source code.
  • topology: is a python script for creating a mininet network.

Changes in ONOS master repository

The folder ONOS File contains the files that you have to sobstitute in the ONOS master folder. The files in the ONOS File folder have the same name of the files in the onos master folder. So you have to simply copy/paste it in the right folder.

Steps to install QoS-Slice in Onos

Before to install QoS-Slice you have to activate the VPLS application, that is included in the ONOS master distribution. To install and activate the QoS-Slicing app you have to run this command in the the Qos-Slicing folder:

onos-app localhost install! org.qosslice.app target/qosslice-app-2.3.0-rc3.oar  

Once you have activated the QoS-Slicing you can configure the slices, via CLI or REST interface.

Example steps to configure QoS-Slice app using the ONOS Command Line Interface

To define a slice without performance isolation form host h1 to host h2, you have to run these commands in the onos CLI:

 interface-add of:0000000000000001/1 h1             
 interface-add of:0000000000000004/1 h2 
 vpls create VPLS-1                                 
 vpls add-if VPLS-1 h1                              
 vpls add-if VPLS-1 h2

To add/enrich a slice with performance isolation using the "elastic bandwidth isolation" solution, you have to run these commands in the onos CLI:

band -br -uk -b 1000 -dp 1 -nb band1 add-band     
qos-slice create SLICE-1 VPLS-1                    
qos-slice add-band SLICE-1 band1                
qos-slice add-meter SLICE-1

With these commands a number REMARK meters are installed in the switches belonging to the slice SLICE-1 to remark the packets exceeding 1 Mbps. Moreover, a drop meter is installed for each output port used by SLICE-1 to limit the total excess traffic while allowing bandwidth borrowing with other defined slices. Finally, the flow rules originally installed by the VPLS app are updated to use the created meters.

VPLS app documentation page: https://wiki.onosproject.org/display/ONOS/VPLS+User+Guide

About

Onos application for deploying network slicing and performance isolation, in terms of both connectivity and performance.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 99.0%
  • Python 1.0%