Work in progress

Overview

This page describes the details of optical path provisioner: functions of the module, internal structure, and how to use the module.  If you only need to try the module, read “How to use” section first.

Functions

Main functions of optical path provisioner are listed below.

How it works

Architecture

Package of optical path provisioner is org.onosproject.newoptical.  Following shows the file composition of optical path provisioner.

    apps
    └── newoptical
        ├── OpticalPathProvisioner.java
        ├── OpticalConnectivity.java
        ├── PacketLinkRealizedByOptical.java
        ├── api
        │   ├── OpticalPathService.java
        │   ├── OpticalConnectivityId.java
        │   ├── OpticalPathListener.java
        │   └── OpticalPathEvent.java
        └── cli
            ├── AddOpticalConnectivityCommand.java
            └── RemoveOpticalConnectivityCommand.java

Path setup flow

  1. Receive optical connectivity request

  2. Calculate path

    1. Considering available bandwidth

  3. Reserve bandwidth along the path

  4. Find optical cross connect points in the path

  5. Create and install OpticalConnectivityIntent/OpticalCircuitIntent

  6. Get notified all of intents installed

  7. Notify listeners that path is established

Path removal flow

  1. Receive optical connectivity removal request

  2. Find existing optical connectivity

  3. Remove related optical intents

  4. Get notified all of intents removed

  5. Remove bandwidth allocations

  6. Notify listeners that path is withdrawn

How to use

 Before proceeding to the following steps, see “wiki: Installing and Running ONOS” and “” for make it ready to run ONOS.

 

  1. Build package
  1. Run ONOS

  2. Install bundle

  3. Connect devices

  4. GUI

  5. CUI