@Beta public interface OpticalPathService extends org.onosproject.event.ListenerService<OpticalPathEvent,OpticalPathListener>
| Modifier and Type | Method and Description |
|---|---|
Optional<List<org.onosproject.net.Link>> |
getPath(OpticalConnectivityId id)
Returns path assigned to given ID.
|
Collection<OpticalConnectivity> |
listConnectivity()
Lists collection of known OpticalConnectivity.
|
Set<org.onosproject.net.intent.Key> |
listIntents(OpticalConnectivityId id)
Lists intents generated from specified OpticalConnectivity.
|
boolean |
removeConnectivity(OpticalConnectivityId id)
Removes connectivity with given ID.
|
OpticalConnectivityId |
setupConnectivity(org.onosproject.net.ConnectPoint ingress,
org.onosproject.net.ConnectPoint egress,
org.onlab.util.Bandwidth bandwidth,
Duration latency)
Calculates multi-layer path between connect points and sets up connectivity.
|
OpticalConnectivityId |
setupPath(org.onosproject.net.Path path,
org.onlab.util.Bandwidth bandwidth,
Duration latency)
Sets up connectivity along given multi-layer path including cross-connect links.
|
OpticalConnectivityId setupConnectivity(org.onosproject.net.ConnectPoint ingress, org.onosproject.net.ConnectPoint egress, org.onlab.util.Bandwidth bandwidth, Duration latency)
ingress - ingress portegress - egress portbandwidth - required bandwidth. No bandwidth is assured if null.latency - required latency. No latency is assured if null.OpticalConnectivityId setupPath(org.onosproject.net.Path path, org.onlab.util.Bandwidth bandwidth, Duration latency)
path - multi-layer path along which connectivity will be set upbandwidth - required bandwidth. No bandwidth is assured if null.latency - required latency. No latency is assured if null.boolean removeConnectivity(OpticalConnectivityId id)
id - ID of connectivityOptional<List<org.onosproject.net.Link>> getPath(OpticalConnectivityId id)
id - ID of connectivityCollection<OpticalConnectivity> listConnectivity()
Set<org.onosproject.net.intent.Key> listIntents(OpticalConnectivityId id)
id - OpticalConnectivity identifier