Class NeutronQosPolicyNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronQosPolicy,NeutronQosPolicyRequest,INeutronQosPolicyCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronQosPolicyNorthbound
-
@Singleton @Path("/qos/policies") public final class NeutronQosPolicyNorthbound extends AbstractNeutronNorthbound<NeutronQosPolicy,NeutronQosPolicyRequest,INeutronQosPolicyCRUD>
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronQosPolicyNorthbound(INeutronQosPolicyCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createQosPolicies(NeutronQosPolicyRequest input)
Creates new Qos Policy.javax.ws.rs.core.Response
deleteQosPolicy(String qosPolicyUUID)
Deletes a Qos Policy.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryQosPolicyUUID, String queryQosPolicyTenantID, String queryQosPolicyName, Boolean queryQosPolicyIsShared, String limit, String marker, String pageReverse)
Returns a list of all Qos Policies.javax.ws.rs.core.Response
showQosPolicy(String qosPolicyUUID, List<String> fields)
Returns a specific Qos Policy.javax.ws.rs.core.Response
updateQosPolicy(String qosPolicyUUID, NeutronQosPolicyRequest input)
Updates a Qos Policy.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronQosPolicyNorthbound
@Inject public NeutronQosPolicyNorthbound(INeutronQosPolicyCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronQosPolicy,NeutronQosPolicyRequest,INeutronQosPolicyCRUD>
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryQosPolicyUUID, @QueryParam("tenant_id") String queryQosPolicyTenantID, @QueryParam("name") String queryQosPolicyName, @QueryParam("shared") Boolean queryQosPolicyIsShared, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all Qos Policies.
-
showQosPolicy
@Path("{qosPolicyUUID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showQosPolicy(@PathParam("qosPolicyUUID") String qosPolicyUUID, @QueryParam("fields") List<String> fields)
Returns a specific Qos Policy.
-
createQosPolicies
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createQosPolicies(NeutronQosPolicyRequest input)
Creates new Qos Policy.
-
updateQosPolicy
@Path("{qosPolicyUUID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateQosPolicy(@PathParam("qosPolicyUUID") String qosPolicyUUID, NeutronQosPolicyRequest input)
Updates a Qos Policy.
-
deleteQosPolicy
@Path("{qosPolicyUUID}") @DELETE public javax.ws.rs.core.Response deleteQosPolicy(@PathParam("qosPolicyUUID") String qosPolicyUUID)
Deletes a Qos Policy.
-
-