@Path(value="links")
public class LinksWebResource
extends org.onosproject.rest.AbstractWebResource
| Constructor and Description |
|---|
LinksWebResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
getLinks(String deviceId,
String port,
String direction)
Gets infrastructure links.
|
codec, encodeArray, getService, mapper, newArray, newObject@GET
@Produces(value="application/json")
public javax.ws.rs.core.Response getLinks(@QueryParam(value="device")
String deviceId,
@QueryParam(value="port")
String port,
@QueryParam(value="direction")
String direction)
deviceId - (optional) device identifierport - (optional) port numberdirection - (optional) direction qualifier