public class PortPairGroupWebResource
extends org.onosproject.rest.AbstractWebResource
| Modifier and Type | Field and Description |
|---|---|
static String |
PORT_PAIR_GROUP_ID_EXIST |
static String |
PORT_PAIR_GROUP_ID_NOT_EXIST |
static String |
PORT_PAIR_GROUP_NOT_FOUND |
| Constructor and Description |
|---|
PortPairGroupWebResource() |
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
createPortPairGroup(InputStream stream)
Creates a new port pair group.
|
void |
deletePortPairGroup(String id)
Delete details of a specified port pair group id.
|
javax.ws.rs.core.Response |
getPortPairGroup(String id)
Get details of a specified port pair group id.
|
javax.ws.rs.core.Response |
getPortPairGroups()
Get details of all port pair groups created.
|
javax.ws.rs.core.Response |
updatePortPairGroup(String id,
InputStream stream)
Update details of a specified port pair group id.
|
public static final String PORT_PAIR_GROUP_NOT_FOUND
public static final String PORT_PAIR_GROUP_ID_EXIST
public static final String PORT_PAIR_GROUP_ID_NOT_EXIST
public javax.ws.rs.core.Response getPortPairGroups()
public javax.ws.rs.core.Response getPortPairGroup(String id)
id - port pair group idpublic javax.ws.rs.core.Response createPortPairGroup(InputStream stream)
stream - port pair group from JSONpublic javax.ws.rs.core.Response updatePortPairGroup(String id, InputStream stream)
id - port pair group idstream - port pair group from jsonpublic void deletePortPairGroup(String id)
id - port pair group idCopyright © 2015. All rights reserved.