Class NeutronSFCPortPairGroupsNorthbound
- java.lang.Object
 - 
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronSFCPortPairGroup,NeutronSFCPortPairGroupRequest,INeutronSFCPortPairGroupCRUD>
 - 
- org.opendaylight.neutron.northbound.api.NeutronSFCPortPairGroupsNorthbound
 
 
 
- 
@Singleton @Path("/sfc/portpairgroups") public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNorthbound<NeutronSFCPortPairGroup,NeutronSFCPortPairGroupRequest,INeutronSFCPortPairGroupCRUD>Neutron Northbound REST APIs for OpenStack SFC Port Pair. 
- 
- 
Field Summary
- 
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP 
 - 
 
- 
Constructor Summary
Constructors Constructor Description NeutronSFCPortPairGroupsNorthbound(INeutronSFCPortPairGroupCRUD neutronCRUD) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.ResponsecreateSFCPortPairGroup(NeutronSFCPortPairGroupRequest input)Creates new SFC Port Pair Group.javax.ws.rs.core.ResponsedeleteSFCPortPairGroup(String sfcPortPairGroupUUID)Deletes the SFC Port Pair Group.protected StringgetResourceName()javax.ws.rs.core.ResponselistSFCPortPairGroups(List<String> fields, String queryID, String queryName, String queryTenantID, List<String> queryPortPairsUUID)Returns a list of all SFC Port Pair Groups.javax.ws.rs.core.ResponseshowSFCPortPairGroup(String sfcPortPairGroupUUID, List<String> fields)Returns a specific SFC Port Pair Group.protected voidupdateDelta(String uuid, NeutronSFCPortPairGroup delta, NeutronSFCPortPairGroup original)javax.ws.rs.core.ResponseupdateSFCPortPairGroup(String sfcPortPairGroupUUID, NeutronSFCPortPairGroupRequest input)Updates an existing SFC Port Pair Group.- 
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, uuidNoExist 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
NeutronSFCPortPairGroupsNorthbound
@Inject public NeutronSFCPortPairGroupsNorthbound(INeutronSFCPortPairGroupCRUD neutronCRUD)
 
 - 
 
- 
Method Detail
- 
getResourceName
protected String getResourceName()
 
- 
listSFCPortPairGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listSFCPortPairGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("name") String queryName, @QueryParam("tenant_id") String queryTenantID, @QueryParam("port_pairs") List<String> queryPortPairsUUID)Returns a list of all SFC Port Pair Groups. 
- 
showSFCPortPairGroup
@Path("{portPairGroupUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showSFCPortPairGroup(@PathParam("portPairGroupUUID") String sfcPortPairGroupUUID, @QueryParam("fields") List<String> fields)Returns a specific SFC Port Pair Group. 
- 
createSFCPortPairGroup
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createSFCPortPairGroup(NeutronSFCPortPairGroupRequest input)Creates new SFC Port Pair Group. 
- 
updateDelta
protected void updateDelta(String uuid, NeutronSFCPortPairGroup delta, NeutronSFCPortPairGroup original)
 
- 
updateSFCPortPairGroup
@Path("{portPairGroupUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateSFCPortPairGroup(@PathParam("portPairGroupUUID") String sfcPortPairGroupUUID, NeutronSFCPortPairGroupRequest input)Updates an existing SFC Port Pair Group. 
- 
deleteSFCPortPairGroup
@Path("{portPairGroupUUID}") @DELETE public javax.ws.rs.core.Response deleteSFCPortPairGroup(@PathParam("portPairGroupUUID") String sfcPortPairGroupUUID)Deletes the SFC Port Pair Group. 
 - 
 
 -