...
Prerequisites
The application is to be found included in the onos-app-samples
repository (please follow the instructions from here to clone and build it) and has a dependency on the the newoptical
app from the ONOS repository. Note that the fwd app and/or any other apps which involve switch forwarding should be deactivated, since they may interfere with the operation of the CE app onos
repository. The app can be activated from the ONOS CLI as follows:
Code Block |
---|
onos> app activate org.onosproject.newoptical onos> app activate org.onosproject.ecord.carrierethernet |
Warning |
---|
Note that the |
Classes
CarrierEthernetManager.java: Performs CE service validation, installation (if possible) and removal. The validation part checks whether there are enough resources to accommodate the UNIs (i.e. their associated BW profiles) comprising the CE service request. The UNIs that cannot be accommodated are omitted from the service request. Then, depending on the CE service type, the service may or may not be validated. For example the validation will fail if the ROOT UNI of a ROOT_MULTIPOINT service is omitted. Service installation involves iterating through the service UNIs and establishing packet and optical connectivity via appropriate method calls.
...