public class BandwidthCalendarResource
extends org.onlab.rest.BaseResource
| Constructor and Description |
|---|
BandwidthCalendarResource() |
| Modifier and Type | Method and Description |
|---|---|
protected org.onosproject.core.ApplicationId |
appId() |
javax.ws.rs.core.Response |
modifyBandwidth(String intentKey,
String src,
String dst,
String srcPort,
String dstPort,
String bandwidth)
Modify a bi-directional path's bandwidth.
|
javax.ws.rs.core.Response |
removePath(String intentKey)
Remove a bi-directional path with created intent key.
|
javax.ws.rs.core.Response |
setupPath(String src,
String dst,
String srcPort,
String dstPort,
String bandwidth,
String latency)
Setup a bi-directional path with constraints between switch to switch.
|
public javax.ws.rs.core.Response setupPath(String src, String dst, String srcPort, String dstPort, String bandwidth, String latency)
src - the path source (DPID or hostID)dst - the path destination (DPID or hostID)srcPort - the source port (-1 if src/dest is a host)dstPort - the destination port (-1 if src/dest is a host)bandwidth - the bandwidth (mbps) requirement for the pathlatency - the latency (micro sec) requirement for the pathpublic javax.ws.rs.core.Response modifyBandwidth(String intentKey, String src, String dst, String srcPort, String dstPort, String bandwidth)
intentKey - the path intent keysrc - the path source (DPID or hostID)dst - the path destination (DPID or hostID)srcPort - the source port (-1 if src/dest is a host)dstPort - the destination port (-1 if src/dest is a host)bandwidth - the bandwidth (mbps) requirement for the pathpublic javax.ws.rs.core.Response removePath(String intentKey)
intentKey - the string key for the intent to removeprotected org.onosproject.core.ApplicationId appId()
Copyright © 2015. All rights reserved.