Class NeutronTapFlowNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronTapFlow,NeutronTapFlowRequest,INeutronTapFlowCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronTapFlowNorthbound
-
@Singleton @Path("/tap/flows") public final class NeutronTapFlowNorthbound extends AbstractNeutronNorthbound<NeutronTapFlow,NeutronTapFlowRequest,INeutronTapFlowCRUD>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronTapFlowNorthbound(INeutronTapFlowCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createTapFlow(String tapServiceUUID, NeutronTapFlowRequest input)
Creates new Tap Flow.javax.ws.rs.core.Response
deleteTapFlow(String tapServiceUUID, String tapFlowUUID)
Deletes a Tap Flow.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryTapFlowUUID, String queryTapFlowTenantID, String queryTapFlowName, String queryTapFlowSourcePort, String queryTapServiceID, String queryTapFlowDirection, String limit, String marker, String pageReverse)
Returns a list of all Tap Flows.javax.ws.rs.core.Response
showTapFlow(String tapServiceUUID, String tapFlowUUID, List<String> fields)
Returns a specific Tap Flow.javax.ws.rs.core.Response
updateTapFlow(String tapServiceUUID, String tapFlowUUID, NeutronTapFlowRequest input)
Updates a Tap Flow.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronTapFlowNorthbound
@Inject public NeutronTapFlowNorthbound(INeutronTapFlowCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronTapFlow,NeutronTapFlowRequest,INeutronTapFlowCRUD>
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryTapFlowUUID, @QueryParam("tenant_id") String queryTapFlowTenantID, @QueryParam("name") String queryTapFlowName, @QueryParam("source_port") String queryTapFlowSourcePort, @QueryParam("tap_service_id") String queryTapServiceID, @QueryParam("direction") String queryTapFlowDirection, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all Tap Flows.
-
createTapFlow
@Path("{tapServiceUUID}/flows") @POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createTapFlow(@PathParam("tapServiceUUID") String tapServiceUUID, NeutronTapFlowRequest input)
Creates new Tap Flow.
-
showTapFlow
@Path("{tapServiceUUID}/flows/{tapFlowUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showTapFlow(@PathParam("tapServiceUUID") String tapServiceUUID, @PathParam("tapFlowUUID") String tapFlowUUID, @QueryParam("fields") List<String> fields)
Returns a specific Tap Flow.
-
updateTapFlow
@Path("{tapServiceUUID}/flows/{tapFlowUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateTapFlow(@PathParam("tapServiceUUID") String tapServiceUUID, @PathParam("tapFlowUUID") String tapFlowUUID, NeutronTapFlowRequest input)
Updates a Tap Flow.
-
-