Class NeutronTapServiceNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronTapService,NeutronTapServiceRequest,INeutronTapServiceCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronTapServiceNorthbound
-
@Singleton @Path("/tap/services") public final class NeutronTapServiceNorthbound extends AbstractNeutronNorthbound<NeutronTapService,NeutronTapServiceRequest,INeutronTapServiceCRUD>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronTapServiceNorthbound(INeutronTapServiceCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createTapService(NeutronTapServiceRequest input)
Creates new Tap Service.javax.ws.rs.core.Response
deleteTapService(String tapServiceUUID)
Deletes a Tap Service.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryTapServiceUUID, String queryTapServiceTenantID, String queryTapServiceName, String queryTapServicePortID, String limit, String marker, String pageReverse)
Returns a list of all Tap Services.javax.ws.rs.core.Response
showTapService(String tapServiceUUID, List<String> fields)
Returns a specific Tap Service.javax.ws.rs.core.Response
updateTapService(String tapServiceUUID, NeutronTapServiceRequest input)
Updates a Tap Service.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronTapServiceNorthbound
@Inject public NeutronTapServiceNorthbound(INeutronTapServiceCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronTapService,NeutronTapServiceRequest,INeutronTapServiceCRUD>
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryTapServiceUUID, @QueryParam("tenant_id") String queryTapServiceTenantID, @QueryParam("name") String queryTapServiceName, @QueryParam("port_id") String queryTapServicePortID, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all Tap Services.
-
showTapService
@Path("{tapServiceUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showTapService(@PathParam("tapServiceUUID") String tapServiceUUID, @QueryParam("fields") List<String> fields)
Returns a specific Tap Service.
-
createTapService
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createTapService(NeutronTapServiceRequest input)
Creates new Tap Service.
-
updateTapService
@Path("{tapServiceUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateTapService(@PathParam("tapServiceUUID") String tapServiceUUID, NeutronTapServiceRequest input)
Updates a Tap Service.
-
deleteTapService
@Path("{tapServiceUUID}") @DELETE public javax.ws.rs.core.Response deleteTapService(@PathParam("tapServiceUUID") String tapServiceUUID)
Deletes a Tap Service.
-
-