Class NeutronSFCFlowClassifiersNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronSFCFlowClassifier,NeutronSFCFlowClassifierRequest,INeutronSFCFlowClassifierCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronSFCFlowClassifiersNorthbound
-
@Singleton @Path("/sfc/flowclassifiers") public final class NeutronSFCFlowClassifiersNorthbound extends AbstractNeutronNorthbound<NeutronSFCFlowClassifier,NeutronSFCFlowClassifierRequest,INeutronSFCFlowClassifierCRUD>
Neutron Northbound REST APIs for OpenStack SFC Flow Classifier.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronSFCFlowClassifiersNorthbound(INeutronSFCFlowClassifierCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createSFCFlowClassifier(NeutronSFCFlowClassifierRequest input)
Creates new SFC Flow Classifier.javax.ws.rs.core.Response
deleteSFCFlowClassifier(String sfcFlowClassifierUUID)
Deletes the SFC Flow Classifier.protected String
getResourceName()
javax.ws.rs.core.Response
listSFCFlowClassifiers(List<String> fields, String queryID, String queryName, String queryEthertype, String queryProtocol, Integer querySourcePortRangeMin, Integer querySourcePortRangeMax, String queryTenantID, Integer queryDestinationPortRangeMin, Integer queryDestinationPortRangeMax, String querySourceIpPrefix, String queryDestinationIpPrefix, String queryLogicalSourcePort, String queryLogicalDestinationPort)
Returns a list of all SFC Flow Classifiers.javax.ws.rs.core.Response
showSFCFlowClassifier(String sfcFlowClassifierUUID, List<String> fields)
Returns a specific SFC Flow Classifier.protected void
updateDelta(String uuid, NeutronSFCFlowClassifier delta, NeutronSFCFlowClassifier original)
javax.ws.rs.core.Response
updateSFCFlowClassifier(String sfcFlowClassifierUUID, NeutronSFCFlowClassifierRequest input)
Updates an existing SFC Flow Classifier.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronSFCFlowClassifiersNorthbound
@Inject public NeutronSFCFlowClassifiersNorthbound(INeutronSFCFlowClassifierCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
-
listSFCFlowClassifiers
@GET @Produces("application/json") public javax.ws.rs.core.Response listSFCFlowClassifiers(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryID, @QueryParam("name") String queryName, @QueryParam("ethertype") String queryEthertype, @QueryParam("protocol") String queryProtocol, @QueryParam("source_port_range_min") Integer querySourcePortRangeMin, @QueryParam("source_port_range_max") Integer querySourcePortRangeMax, @QueryParam("tenant_id") String queryTenantID, @QueryParam("destination_port_range_min") Integer queryDestinationPortRangeMin, @QueryParam("destination_port_range_max") Integer queryDestinationPortRangeMax, @QueryParam("source_ip_prefix") String querySourceIpPrefix, @QueryParam("destination_ip_prefix") String queryDestinationIpPrefix, @QueryParam("logical_source_port") String queryLogicalSourcePort, @QueryParam("logical_destination_port") String queryLogicalDestinationPort)
Returns a list of all SFC Flow Classifiers.
-
showSFCFlowClassifier
@Path("{flowClassifierUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showSFCFlowClassifier(@PathParam("flowClassifierUUID") String sfcFlowClassifierUUID, @QueryParam("fields") List<String> fields)
Returns a specific SFC Flow Classifier.
-
createSFCFlowClassifier
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createSFCFlowClassifier(NeutronSFCFlowClassifierRequest input)
Creates new SFC Flow Classifier.
-
updateDelta
protected void updateDelta(String uuid, NeutronSFCFlowClassifier delta, NeutronSFCFlowClassifier original)
-
updateSFCFlowClassifier
@Path("{flowClassifierUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateSFCFlowClassifier(@PathParam("flowClassifierUUID") String sfcFlowClassifierUUID, NeutronSFCFlowClassifierRequest input)
Updates an existing SFC Flow Classifier.
-
deleteSFCFlowClassifier
@Path("{flowClassifierUUID}") @DELETE public javax.ws.rs.core.Response deleteSFCFlowClassifier(@PathParam("flowClassifierUUID") String sfcFlowClassifierUUID)
Deletes the SFC Flow Classifier.
-
-