* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package org.opendaylight.neutron.northbound.api;
import java.net.HttpURLConnection;
import org.opendaylight.neutron.spi.NeutronLoadBalancerPoolMember;
/**
- * Neutron Northbound REST APIs for LoadBalancerPool Policies.<br>
- * This class provides REST APIs for managing neutron LoadBalancerPool Policies
- *
- * <br>
- * <br>
- * Authentication scheme : <b>HTTP Basic</b><br>
- * Authentication realm : <b>opendaylight</b><br>
- * Transport : <b>HTTP and HTTPS</b><br>
- * <br>
- * HTTPS Authentication is disabled by default. Administrator can enable it in
- * tomcat-server.xml after adding a proper keystore / SSL certificate from a
- * trusted authority.<br>
- * More info :
- * http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html#Configuration
+ * Neutron Northbound REST APIs for LoadBalancerPool Policies.
*
- */
-
-/**
- * For now, the LB pool member data is maintained with the INeutronLoadBalancerPoolCRUD,
+ * <p>For now, the LB pool member data is maintained with the INeutronLoadBalancerPoolCRUD,
* and not duplicated within the INeutronLoadBalancerPoolMemberCRUD's cache.
*/
-
@Path("/lbaas/pools")
public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNorthbound<NeutronLoadBalancerPool,
NeutronLoadBalancerPoolRequest, INeutronLoadBalancerPoolCRUD> {
@ResponseCode(code = HttpURLConnection.HTTP_UNAUTHORIZED, condition = "Unauthorized"),
@ResponseCode(code = HttpURLConnection.HTTP_NOT_IMPLEMENTED, condition = "Not Implemented"),
@ResponseCode(code = HttpURLConnection.HTTP_UNAVAILABLE, condition = "No providers available") })
-
public Response listGroups(
// return fields
@QueryParam("fields") List<String> fields,
/**
* Returns a specific LoadBalancerPool.
*/
-
@Path("{loadBalancerPoolID}")
@GET
@Produces({ MediaType.APPLICATION_JSON })
/**
* Creates new LoadBalancerPool.
*/
-
@POST
@Produces({ MediaType.APPLICATION_JSON })
@Consumes({ MediaType.APPLICATION_JSON })
/**
* Deletes a LoadBalancerPool.
*/
-
@Path("{loadBalancerPoolUUID}")
@DELETE
@StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
/**
* Updates a LB member pool.
*/
-
@Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
@PUT
@Produces({ MediaType.APPLICATION_JSON })
/**
* Deletes a LoadBalancerPoolMember.
*/
-
@Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
@DELETE
@StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),