Class NeutronLoadBalancerNorthbound
- java.lang.Object
-
- org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound<NeutronLoadBalancer,NeutronLoadBalancerRequest,INeutronLoadBalancerCRUD>
-
- org.opendaylight.neutron.northbound.api.NeutronLoadBalancerNorthbound
-
@Singleton @Path("/lbaas/loadbalancers") public final class NeutronLoadBalancerNorthbound extends AbstractNeutronNorthbound<NeutronLoadBalancer,NeutronLoadBalancerRequest,INeutronLoadBalancerCRUD>
Neutron Northbound REST APIs for LoadBalancers.
-
-
Field Summary
-
Fields inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
HTTP_OK_BOTTOM, HTTP_OK_TOP
-
-
Constructor Summary
Constructors Constructor Description NeutronLoadBalancerNorthbound(INeutronLoadBalancerCRUD neutronCRUD)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.ws.rs.core.Response
createLoadBalancers(NeutronLoadBalancerRequest input)
Creates new LoadBalancer.javax.ws.rs.core.Response
deleteLoadBalancer(String loadBalancerID)
Deletes a LoadBalancer.protected String
getResourceName()
javax.ws.rs.core.Response
listGroups(List<String> fields, String queryLoadBalancerID, String queryLoadBalancerTenantID, String queryLoadBalancerName, String queryLoadBalancerStatus, String queryLoadBalancerVipAddress, String queryLoadBalancerVipSubnet, String limit, String marker, String pageReverse)
Returns a list of all LoadBalancer.javax.ws.rs.core.Response
showLoadBalancer(String loadBalancerID, List<String> fields)
Returns a specific LoadBalancer.javax.ws.rs.core.Response
updateLoadBalancer(String loadBalancerID, NeutronLoadBalancerRequest input)
Updates a LoadBalancer Policy.-
Methods inherited from class org.opendaylight.neutron.northbound.api.AbstractNeutronNorthbound
create, delete, getNeutronCRUD, serviceUnavailable, show, update, updateDelta, uuidNoExist
-
-
-
-
Constructor Detail
-
NeutronLoadBalancerNorthbound
@Inject public NeutronLoadBalancerNorthbound(INeutronLoadBalancerCRUD neutronCRUD)
-
-
Method Detail
-
getResourceName
protected String getResourceName()
- Specified by:
getResourceName
in classAbstractNeutronNorthbound<NeutronLoadBalancer,NeutronLoadBalancerRequest,INeutronLoadBalancerCRUD>
-
listGroups
@GET @Produces("application/json") public javax.ws.rs.core.Response listGroups(@QueryParam("fields") List<String> fields, @QueryParam("id") String queryLoadBalancerID, @QueryParam("tenant_id") String queryLoadBalancerTenantID, @QueryParam("name") String queryLoadBalancerName, @QueryParam("status") String queryLoadBalancerStatus, @QueryParam("vip_address") String queryLoadBalancerVipAddress, @QueryParam("vip_subnet") String queryLoadBalancerVipSubnet, @QueryParam("limit") String limit, @QueryParam("marker") String marker, @QueryParam("page_reverse") String pageReverse)
Returns a list of all LoadBalancer.
-
showLoadBalancer
@Path("{loadBalancerID}") @GET @Produces("application/json") public javax.ws.rs.core.Response showLoadBalancer(@PathParam("loadBalancerID") String loadBalancerID, @QueryParam("fields") List<String> fields)
Returns a specific LoadBalancer.
-
createLoadBalancers
@POST @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response createLoadBalancers(NeutronLoadBalancerRequest input)
Creates new LoadBalancer.
-
updateLoadBalancer
@Path("{loadBalancerID}") @PUT @Produces("application/json") @Consumes("application/json") public javax.ws.rs.core.Response updateLoadBalancer(@PathParam("loadBalancerID") String loadBalancerID, NeutronLoadBalancerRequest input)
Updates a LoadBalancer Policy.
-
deleteLoadBalancer
@Path("{loadBalancerID}") @DELETE public javax.ws.rs.core.Response deleteLoadBalancer(@PathParam("loadBalancerID") String loadBalancerID)
Deletes a LoadBalancer.
-
-