remove irrelevant old JavaDoc from a long bygone era in northbound.api 30/70930/3
authorMichael Vorburger <vorburger@redhat.com>
Fri, 13 Apr 2018 20:08:31 +0000 (22:08 +0200)
committerMichael Vorburger <vorburger@redhat.com>
Tue, 17 Apr 2018 17:07:00 +0000 (19:07 +0200)
and some other minor clean up like:

* make all Logger constants private
* move constants to beginning of class
* remove wrong empty lines, add required empty lines
* made some package local fields private
* remove clearly un-used fields

Change-Id: I0b087aae2dc35470e1d006675aa6f9c080d3de3f
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
33 files changed:
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronBgpvpnsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFirewallNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFirewallPolicyNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFirewallRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronFloatingIpsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronL2gatewayConnectionNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronL2gatewayNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerHealthMonitorNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerListenerNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronLoadBalancerPoolNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronMeteringLabelRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronMeteringLabelsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronNetworksNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronPortsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronQosPolicyNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronRoutersNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCFlowClassifiersNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortChainsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortPairGroupsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSFCPortPairsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupRequest.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityGroupsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityRuleRequest.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSecurityRulesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronSubnetsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTapFlowNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTapServiceNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronTrunksNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnIkePoliciesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnIpSecPoliciesNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnIpSecSiteConnectionsNorthbound.java
northbound-api/src/main/java/org/opendaylight/neutron/northbound/api/NeutronVpnServicesNorthbound.java

index 8c7fd10a3f1e82c0a8d210b55dd6869ec18991f9..7c067f46a450019e50e76bff9342ae22db3e5095 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -32,32 +31,17 @@ import org.opendaylight.neutron.spi.INeutronBgpvpnCRUD;
 import org.opendaylight.neutron.spi.NeutronBgpvpn;
 
 /**
- * Neutron Northbound REST APIs for Bgpvpn.<br>
- * This class provides REST APIs for managing neutron Bgpvpns
- *
- * <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 Bgpvpn.
  */
-
 @Path("/bgpvpns")
 public final class NeutronBgpvpnsNorthbound
         extends AbstractNeutronNorthbound<NeutronBgpvpn, NeutronBgpvpnRequest, INeutronBgpvpnCRUD> {
 
+    private static final String RESOURCE_NAME = "Bgpvpn";
+
     @Context
     UriInfo uriInfo;
 
-    private static final String RESOURCE_NAME = "Bgpvpn";
-
     @Override
     protected String getResourceName() {
         return RESOURCE_NAME;
@@ -66,7 +50,6 @@ public final class NeutronBgpvpnsNorthbound
     /**
      * Returns a list of all Bgpvpns.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     //@TypeHint(OpenStackBgpvpns.class)
@@ -126,7 +109,6 @@ public final class NeutronBgpvpnsNorthbound
     /**
      * Returns a specific Bgpvpn.
      */
-
     @Path("{bgpvpnUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -181,7 +163,6 @@ public final class NeutronBgpvpnsNorthbound
     /**
      * Deletes a Bgpvpn.
      */
-
     @Path("{bgpvpnUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 130bba8d272e5119e74ac03b745383a58692bc10..2a5fe93b47b8189a4175b1c070055bfc1de42d91 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,21 +27,7 @@ import org.opendaylight.neutron.spi.INeutronFirewallCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewall;
 
 /**
- * Neutron Northbound REST APIs for Firewall.<br>
- * This class provides REST APIs for managing neutron Firewall
- *
- * <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 Firewall.
  */
 @Path("/fw/firewalls")
 public final class NeutronFirewallNorthbound
@@ -105,7 +90,6 @@ public final class NeutronFirewallNorthbound
     /**
      * Returns a specific Firewall.
      */
-
     @Path("{firewallUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -123,7 +107,6 @@ public final class NeutronFirewallNorthbound
     /**
      * Creates new Firewall.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -136,7 +119,6 @@ public final class NeutronFirewallNorthbound
     /**
      * Updates a Firewall.
      */
-
     @Path("{firewallUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -151,7 +133,6 @@ public final class NeutronFirewallNorthbound
     /**
      * Deletes a Firewall.
      */
-
     @Path("{firewallUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index ecf131c2daf0bfd89ab3c992490b1275e494d7f5..b0aa703af75c23a99eb5f8e70ae6aa6ecf2cb036 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,21 +27,7 @@ import org.opendaylight.neutron.spi.INeutronFirewallPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewallPolicy;
 
 /**
- * Neutron Northbound REST APIs for Firewall Policies.<br>
- * This class provides REST APIs for managing neutron Firewall 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 Firewall Policies.
  */
 @Path("/fw/firewall_policies")
 public final class NeutronFirewallPolicyNorthbound extends
@@ -104,7 +89,6 @@ public final class NeutronFirewallPolicyNorthbound extends
     /**
      * Returns a specific Firewall Policy.
      */
-
     @Path("{firewallPolicyUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -121,7 +105,7 @@ public final class NeutronFirewallPolicyNorthbound extends
 
     /**
      * Creates new Firewall Policy.
-     * */
+     */
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -150,7 +134,6 @@ public final class NeutronFirewallPolicyNorthbound extends
     /**
      * Deletes a Firewall Policy.
      */
-
     @Path("{firewallPolicyUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 4627e47f108ed9bf988e0d1f5bd3e84009c8eecd..75e1dcbbfee3e29bb53259e70f1f569ceab8de71 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,25 +27,12 @@ import org.opendaylight.neutron.spi.INeutronFirewallRuleCRUD;
 import org.opendaylight.neutron.spi.NeutronFirewallRule;
 
 /**
- * Neutron Northbound REST APIs for Firewall Rule.<br>
- * This class provides REST APIs for managing neutron Firewall Rule
- *
- * <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 Firewall Rule.
  */
-
 @Path("fw/firewall_rules")
 public final class NeutronFirewallRulesNorthbound
         extends AbstractNeutronNorthbound<NeutronFirewallRule, NeutronFirewallRuleRequest, INeutronFirewallRuleCRUD> {
+
     private static final String RESOURCE_NAME = "Firewall Rule";
 
     @Override
@@ -133,7 +119,6 @@ public final class NeutronFirewallRulesNorthbound
     /**
      * Returns a specific Firewall Rule.
      */
-
     @Path("{firewallRuleUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -151,7 +136,6 @@ public final class NeutronFirewallRulesNorthbound
     /**
      * Creates new Firewall Rule.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -179,7 +163,6 @@ public final class NeutronFirewallRulesNorthbound
     /**
      * Deletes a Firewall Rule.
      */
-
     @Path("{firewallRuleUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 1e686f13a68a27f848a65d84052c7a8ed7c25cc2..e470354400158f2b171683ffcde82485729705f1 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,26 +27,12 @@ import org.opendaylight.neutron.spi.INeutronFloatingIpCRUD;
 import org.opendaylight.neutron.spi.NeutronFloatingIp;
 
 /**
- * Neutron Northbound REST APIs.<br>
- * This class provides REST APIs for managing Neutron Floating IPs
- *
- * <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 managing Neutron Floating IPs.
  */
-
 @Path("/floatingips")
 public final class NeutronFloatingIpsNorthbound
         extends AbstractNeutronNorthbound<NeutronFloatingIp, NeutronFloatingIpRequest, INeutronFloatingIpCRUD> {
+
     private static final String RESOURCE_NAME = "Floating IP";
 
     @Override
@@ -58,7 +43,6 @@ public final class NeutronFloatingIpsNorthbound
     /**
      * Returns a list of all FloatingIps.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -112,7 +96,6 @@ public final class NeutronFloatingIpsNorthbound
     /**
      * Returns a specific FloatingIp.
      */
-
     @Path("{floatingipUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -130,7 +113,6 @@ public final class NeutronFloatingIpsNorthbound
     /**
      * Creates new FloatingIps.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -143,7 +125,6 @@ public final class NeutronFloatingIpsNorthbound
     /**
      * Updates a FloatingIp.
      */
-
     @Path("{floatingipUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -159,7 +140,6 @@ public final class NeutronFloatingIpsNorthbound
     /**
      * Deletes a FloatingIp.
      */
-
     @Path("{floatingipUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 802e1d71e455fd2edfc3067acb67a843e59daf8d..d035a29ec7c37cbf6669728b1635aa021f21471f 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,27 +28,13 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Neutron Northbound REST APIs for L2 gateway Connection.<br>
- * This class provides REST APIs for managing L2 gateway Connection
- * * *
- * <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 L2 gateway Connection.
  */
-
 @Path("/l2gateway-connections")
 public final class NeutronL2gatewayConnectionNorthbound extends AbstractNeutronNorthbound<NeutronL2gatewayConnection,
         NeutronL2gatewayConnectionRequest, INeutronL2gatewayConnectionCRUD> {
 
-    static final Logger LOG = LoggerFactory.getLogger(NeutronL2gatewayConnectionNorthbound.class);
+    private static final Logger LOG = LoggerFactory.getLogger(NeutronL2gatewayConnectionNorthbound.class);
 
     private static final String RESOURCE_NAME = "L2gatewayConnection";
 
@@ -82,7 +67,6 @@ public final class NeutronL2gatewayConnectionNorthbound extends AbstractNeutronN
 
     /**
      * Returns a list of all L2gateway Connections.
-     *
      */
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -112,7 +96,7 @@ public final class NeutronL2gatewayConnectionNorthbound extends AbstractNeutronN
                     && (queryConnectionID == null || queryConnectionID.equals(connection.getID()))
                     && (queryL2gatewayID == null || queryL2gatewayID.equals(connection.getL2gatewayID()))
                     && (queryNetworkID == null || queryNetworkID.equals(connection.getNetworkID()))
-                    && (querySegmentID == null || (Integer.valueOf(querySegmentID).equals(connection.getSegmentID())))
+                    && (querySegmentID == null || Integer.valueOf(querySegmentID).equals(connection.getSegmentID()))
                     && (queryPortID == null || queryPortID.equals(connection.getPortID()))) {
                 if (fields.size() > 0) {
                     ans.add(connection.extractFields(fields));
index acd14eee652582d97a49fd5920cfc90ebf3e463b..216ca2109ca5f3b42429f59e879a51df8a5b3db4 100644 (file)
@@ -29,26 +29,13 @@ import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 /**
- * Neutron Northbound REST APIs for L2 gateway.<br>
- * This class provides REST APIs for managing L2 gateway
- * *
- * <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 L2 gateway.
  */
-
 @Path("/l2-gateways")
 public final class NeutronL2gatewayNorthbound
         extends AbstractNeutronNorthbound<NeutronL2gateway, NeutronL2gatewayRequest, INeutronL2gatewayCRUD> {
-    static final Logger LOG = LoggerFactory.getLogger(NeutronL2gatewayNorthbound.class);
+
+    private static final Logger LOG = LoggerFactory.getLogger(NeutronL2gatewayNorthbound.class);
 
     private static final String RESOURCE_NAME = "L2gateway";
 
@@ -73,7 +60,6 @@ public final class NeutronL2gatewayNorthbound
             @ResponseCode(code = HttpURLConnection.HTTP_CONFLICT, condition = "Conflict"),
             @ResponseCode(code = HttpURLConnection.HTTP_NOT_IMPLEMENTED, condition = "Not Implemented"),
             @ResponseCode(code = HttpURLConnection.HTTP_UNAVAILABLE, condition = "No providers available") })
-
     public Response createL2gateway(final NeutronL2gatewayRequest input) {
         LOG.debug("CreateL2gateway     NeutronL2gatewayRequest");
         return create(input);
index 0098dbbf8403e4ef31d08078f1d391703c3d19a5..1dc12f67a87d7f0b9ce5719a811c77f19d832cdc 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,20 +27,7 @@ import org.opendaylight.neutron.spi.INeutronLoadBalancerHealthMonitorCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancerHealthMonitor;
 
 /**
- * Neutron Northbound REST APIs for Load Balancer HealthMonitor.<br>
- * This class provides REST APIs for managing neutron LoadBalancerHealthMonitor
- *
- * <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 Load Balancer HealthMonitor.
  *
  */
 @Path("/lbaas/healthmonitors")
@@ -65,7 +51,6 @@ public final class NeutronLoadBalancerHealthMonitorNorthbound
             @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,
@@ -127,7 +112,6 @@ public final class NeutronLoadBalancerHealthMonitorNorthbound
     /**
      * Returns a specific LoadBalancerHealthMonitor.
      */
-
     @Path("{loadBalancerHealthMonitorID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -146,7 +130,6 @@ public final class NeutronLoadBalancerHealthMonitorNorthbound
     /**
      * Creates new LoadBalancerHealthMonitor.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -174,7 +157,7 @@ public final class NeutronLoadBalancerHealthMonitorNorthbound
 
     /**
      * Deletes a LoadBalancerHealthMonitor.
-     * */
+     */
     @Path("{loadBalancerHealthMonitorID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 5f2f869aa91230c80e9d6239c4e1a0a0716bf8dc..6c937d7570a2497ae38956be20a6214369d8416a 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,21 +27,7 @@ import org.opendaylight.neutron.spi.INeutronLoadBalancerListenerCRUD;
 import org.opendaylight.neutron.spi.NeutronLoadBalancerListener;
 
 /**
- * Neutron Northbound REST APIs for LoadBalancerListener Policies.<br>
- * This class provides REST APIs for managing neutron LoadBalancerListener 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 LoadBalancerListener Policies.
  */
 @Path("/lbaas/listeners")
 public final class NeutronLoadBalancerListenerNorthbound extends AbstractNeutronNorthbound<NeutronLoadBalancerListener,
@@ -64,7 +49,6 @@ public final class NeutronLoadBalancerListenerNorthbound extends AbstractNeutron
             @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,
@@ -112,7 +96,6 @@ public final class NeutronLoadBalancerListenerNorthbound extends AbstractNeutron
     /**
      * Returns a specific LoadBalancerListener.
      */
-
     @Path("{loadBalancerListenerID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -130,7 +113,6 @@ public final class NeutronLoadBalancerListenerNorthbound extends AbstractNeutron
     /**
      * Creates new LoadBalancerListener.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -158,7 +140,6 @@ public final class NeutronLoadBalancerListenerNorthbound extends AbstractNeutron
     /**
      * Deletes a LoadBalancerListener.
      */
-
     @Path("{loadBalancerListenerID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 6b35ed82eb481c43040d8bbffc459835f1f46fbc..eb730649ecab03675b2aafca5c06cb519c86518f 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,20 +28,6 @@ import org.opendaylight.neutron.spi.NeutronLoadBalancer;
 
 /**
  * Neutron Northbound REST APIs for LoadBalancers.<br>
- * This class provides REST APIs for managing neutron LoadBalancers
- *
- * <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
- *
  */
 @Path("/lbaas/loadbalancers")
 public final class NeutronLoadBalancerNorthbound
@@ -64,7 +49,6 @@ public final class NeutronLoadBalancerNorthbound
             @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,
@@ -105,11 +89,9 @@ public final class NeutronLoadBalancerNorthbound
     /**
      * Returns a specific LoadBalancer.
      */
-
     @Path("{loadBalancerID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
-
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
             @ResponseCode(code = HttpURLConnection.HTTP_UNAUTHORIZED, condition = "Unauthorized"),
             @ResponseCode(code = HttpURLConnection.HTTP_NOT_FOUND, condition = "Not Found"),
@@ -124,11 +106,9 @@ public final class NeutronLoadBalancerNorthbound
     /**
      * Creates new LoadBalancer.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
-
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_CREATED, condition = "Created"),
             @ResponseCode(code = HttpURLConnection.HTTP_UNAVAILABLE, condition = "No providers available") })
     public Response createLoadBalancers(final NeutronLoadBalancerRequest input) {
@@ -142,7 +122,6 @@ public final class NeutronLoadBalancerNorthbound
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
-
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
             @ResponseCode(code = HttpURLConnection.HTTP_NOT_FOUND, condition = "Not Found"),
             @ResponseCode(code = HttpURLConnection.HTTP_UNAVAILABLE, condition = "No providers available") })
@@ -154,7 +133,6 @@ public final class NeutronLoadBalancerNorthbound
     /**
      * Deletes a LoadBalancer.
      */
-
     @Path("{loadBalancerID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 7f6f1d900e641334c3ff961e77f5e31cf3dae878..ba9bf07734c2fa2e0e6ec395ff6dcf2a6457e5e1 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,28 +28,11 @@ import org.opendaylight.neutron.spi.NeutronLoadBalancerPool;
 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> {
@@ -71,7 +53,6 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
             @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,
@@ -120,7 +101,6 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
     /**
      * Returns a specific LoadBalancerPool.
      */
-
     @Path("{loadBalancerPoolID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -138,7 +118,6 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
     /**
      * Creates new LoadBalancerPool.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -166,7 +145,6 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
     /**
      * Deletes a LoadBalancerPool.
      */
-
     @Path("{loadBalancerPoolUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
@@ -311,7 +289,6 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
     /**
      * Updates a LB member pool.
      */
-
     @Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -337,7 +314,6 @@ public final class NeutronLoadBalancerPoolNorthbound extends AbstractNeutronNort
     /**
      * Deletes a LoadBalancerPoolMember.
      */
-
     @Path("{loadBalancerPoolUUID}/members/{loadBalancerPoolMemberUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index e8b213d4c74d399d259bdfba2fabf92843c585b0..572d1d8b9c411426dc1f1944eb2ad553a61be48d 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,25 +27,11 @@ import org.opendaylight.neutron.spi.NeutronMeteringLabelRule;
 
 /**
  * Neutron Northbound REST APIs for Metering Lable Rules.<br>
- * This class provides REST APIs for managing neutron metering label rules
- *
- * <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
- *
  */
-
 @Path("/metering/metering-label-rules")
 public final class NeutronMeteringLabelRulesNorthbound extends AbstractNeutronNorthbound<NeutronMeteringLabelRule,
         NeutronMeteringLabelRuleRequest, INeutronMeteringLabelRuleCRUD> {
+
     private static final String RESOURCE_NAME = "Metering Label Rule";
 
     @Override
@@ -57,7 +42,6 @@ public final class NeutronMeteringLabelRulesNorthbound extends AbstractNeutronNo
     /**
      * Returns a list of all metering label rules.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     //@TypeHint(OpenStackNetworks.class)
@@ -98,7 +82,6 @@ public final class NeutronMeteringLabelRulesNorthbound extends AbstractNeutronNo
     /**
      * Returns a specific metering label rule.
      */
-
     @Path("{ruleUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -145,7 +128,6 @@ public final class NeutronMeteringLabelRulesNorthbound extends AbstractNeutronNo
     /**
      * Deletes a Metering Label rule.
      */
-
     @Path("{ruleUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index c96f27b39b13352b4744e515345d46ee4e4ffd66..343704536b87a39b3e57b41fdbef9acb11c40406 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -27,26 +26,12 @@ import org.opendaylight.neutron.spi.INeutronMeteringLabelCRUD;
 import org.opendaylight.neutron.spi.NeutronMeteringLabel;
 
 /**
- * Neutron Northbound REST APIs for Metering Lables.<br>
- * This class provides REST APIs for managing neutron metering labels
- *
- * <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 Metering Lables.
  */
-
 @Path("/metering/metering-labels")
 public final class NeutronMeteringLabelsNorthbound extends
         AbstractNeutronNorthbound<NeutronMeteringLabel, NeutronMeteringLabelRequest, INeutronMeteringLabelCRUD> {
+
     private static final String RESOURCE_NAME = "Metering Label";
 
     @Override
@@ -57,7 +42,6 @@ public final class NeutronMeteringLabelsNorthbound extends
     /**
      * Returns a list of all metering labels.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     //@TypeHint(OpenStackNetworks.class)
@@ -95,7 +79,6 @@ public final class NeutronMeteringLabelsNorthbound extends
     /**
      * Returns a specific metering label.
      */
-
     @Path("{labelUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -127,7 +110,6 @@ public final class NeutronMeteringLabelsNorthbound extends
     /**
      * Deletes a Metering Label.
      */
-
     @Path("{labelUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index e7ddee46334ddb844996e3bfb49d95aa0ad8ccb1..7a7104ab5dd60e19fe6ea9790d774a97fac00d0b 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -32,32 +31,17 @@ import org.opendaylight.neutron.spi.INeutronNetworkCRUD;
 import org.opendaylight.neutron.spi.NeutronNetwork;
 
 /**
- * Neutron Northbound REST APIs for Network.<br>
- * This class provides REST APIs for managing neutron Networks
- *
- * <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 Network.
  */
-
 @Path("/networks")
 public final class NeutronNetworksNorthbound
         extends AbstractNeutronNorthbound<NeutronNetwork, NeutronNetworkRequest, INeutronNetworkCRUD> {
 
+    private static final String RESOURCE_NAME = "Network";
+
     @Context
     UriInfo uriInfo;
 
-    private static final String RESOURCE_NAME = "Network";
-
     @Override
     protected String getResourceName() {
         return RESOURCE_NAME;
@@ -66,7 +50,6 @@ public final class NeutronNetworksNorthbound
     /**
      * Returns a list of all Networks.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     //@TypeHint(OpenStackNetworks.class)
@@ -133,7 +116,6 @@ public final class NeutronNetworksNorthbound
     /**
      * Returns a specific Network.
      */
-
     @Path("{netUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -193,7 +175,6 @@ public final class NeutronNetworksNorthbound
     /**
      * Deletes a Network.
      */
-
     @Path("{netUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 2d871f56e30a5337c137d775bc65785c6113907e..cab8108c541e84eb1f983fa8567ae77e27e5353a 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -31,23 +30,8 @@ import org.opendaylight.neutron.spi.INeutronPortCRUD;
 import org.opendaylight.neutron.spi.NeutronPort;
 
 /**
- * Neutron Northbound REST APIs.<br>
- * This class provides REST APIs for managing neutron port objects
- *
- * <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 managing neutron port objects.
  */
-
 @Path("/ports")
 public final class NeutronPortsNorthbound
         extends AbstractNeutronNorthbound<NeutronPort, NeutronPortRequest, INeutronPortCRUD> {
@@ -65,7 +49,6 @@ public final class NeutronPortsNorthbound
     /**
      * Returns a list of all Ports.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     //@TypeHint(OpenStackPorts.class)
@@ -131,7 +114,6 @@ public final class NeutronPortsNorthbound
     /**
      * Returns a specific Port.
      */
-
     @Path("{portUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -150,7 +132,6 @@ public final class NeutronPortsNorthbound
     /**
      * Creates new Ports.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -188,7 +169,6 @@ public final class NeutronPortsNorthbound
     /**
      * Updates a Port.
      */
-
     @Path("{portUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -206,7 +186,6 @@ public final class NeutronPortsNorthbound
     /**
      * Deletes a Port.
      */
-
     @Path("{portUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index cb5e57dc5355b5e519fe79fdf6b9308cb17937da..9c7e7d1fbd64f7fb88fb6ad0b509692f1388d9a4 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
index 96cee57e0112b0cde893858e85e568e17325e6dc..a192f074239b27a13d9c2e1701a9962a3a858271 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,28 +28,12 @@ import org.opendaylight.neutron.spi.NeutronRouter;
 import org.opendaylight.neutron.spi.NeutronRouterInterface;
 
 /**
- * Neutron Northbound REST APIs.<br>
- * This class provides REST APIs for managing neutron routers
- *
- * <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 managing neutron routers.
  */
-
 @Path("/routers")
 public final class NeutronRoutersNorthbound
         extends AbstractNeutronNorthbound<NeutronRouter, NeutronRouterRequest, INeutronRouterCRUD> {
-    static final String ROUTER_INTERFACE_STR = "network:router_interface";
-    static final String ROUTER_GATEWAY_STR = "network:router_gateway";
+
     private static final String RESOURCE_NAME = "Router";
 
     @Override
@@ -61,7 +44,6 @@ public final class NeutronRoutersNorthbound
     /**
      * Returns a list of all Routers.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     //@TypeHint(OpenStackRouters.class)
@@ -111,7 +93,6 @@ public final class NeutronRoutersNorthbound
     /**
      * Returns a specific Router.
      */
-
     @Path("{routerUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -131,7 +112,6 @@ public final class NeutronRoutersNorthbound
     /**
      * Creates new Routers.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -151,7 +131,6 @@ public final class NeutronRoutersNorthbound
     /**
      * Updates a Router.
      */
-
     @Path("{routerUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -167,7 +146,6 @@ public final class NeutronRoutersNorthbound
     /**
      * Deletes a Router.
      */
-
     @Path("{routerUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
@@ -180,7 +158,6 @@ public final class NeutronRoutersNorthbound
     /**
      * Adds an interface to a router.
      */
-
     @Path("{routerUUID}/add_router_interface")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
index ca35c4b260048b8b0829894eaeeb2da5ae63afe9..41f31efac4384088f2f6762f7af67772df1b1c64 100644 (file)
@@ -27,26 +27,12 @@ import org.opendaylight.neutron.spi.INeutronSFCFlowClassifierCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCFlowClassifier;
 
 /**
- * Neutron Northbound REST APIs for OpenStack SFC Flow Classifier.<br>
- * This class provides REST APIs for managing OpenStack SFC Flow Classifier
- *
- * <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 OpenStack SFC Flow Classifier.
  */
-
 @Path("/sfc/flowclassifiers")
 public final class NeutronSFCFlowClassifiersNorthbound extends AbstractNeutronNorthbound<NeutronSFCFlowClassifier,
         NeutronSFCFlowClassifierRequest, INeutronSFCFlowClassifierCRUD> {
+
     private static final String RESOURCE_NAME = "Sfc Flow Classifier";
 
     @Override
@@ -57,7 +43,6 @@ public final class NeutronSFCFlowClassifiersNorthbound extends AbstractNeutronNo
     /**
      * Returns a list of all SFC Flow Classifiers.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -120,7 +105,6 @@ public final class NeutronSFCFlowClassifiersNorthbound extends AbstractNeutronNo
     /**
      * Returns a specific SFC Flow Classifier.
      */
-
     @Path("{flowClassifierUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -150,12 +134,11 @@ public final class NeutronSFCFlowClassifiersNorthbound extends AbstractNeutronNo
     @Override
     protected void updateDelta(String uuid, NeutronSFCFlowClassifier delta, NeutronSFCFlowClassifier original) {
         /*
-         *  note: what we get appears to not be a delta but
+         * note: what we get appears to not be a delta but
          * rather an incomplete updated object.  So we need to set
          * the ID to complete the object and then send that down
          * for folks to check
          */
-
         delta.setID(uuid);
         delta.setTenantID(original.getTenantID());
     }
index 6d46e78bf6b0641f8c548e953449e246e14d57a0..d5038b6d09c78abf24d1837ebb43928f2c432e04 100644 (file)
@@ -27,23 +27,8 @@ import org.opendaylight.neutron.spi.INeutronSFCPortChainCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortChain;
 
 /**
- * Neutron Northbound REST APIs for OpenStack SFC Port Chain.<br>
- * This class provides REST APIs for managing OpenStack SFC Port Chain
- *
- * <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 OpenStack SFC Port Chain.
  */
-
 @Path("/sfc/portchains")
 public final class NeutronSFCPortChainsNorthbound
         extends AbstractNeutronNorthbound<NeutronSFCPortChain, NeutronSFCPortChainRequest, INeutronSFCPortChainCRUD> {
@@ -58,7 +43,6 @@ public final class NeutronSFCPortChainsNorthbound
     /**
      * Returns a list of all SFC Port Chains.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -93,7 +77,6 @@ public final class NeutronSFCPortChainsNorthbound
     /**
      * Returns a specific SFC Port Chain.
      */
-
     @Path("{portChainUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -123,12 +106,11 @@ public final class NeutronSFCPortChainsNorthbound
     @Override
     protected void updateDelta(String uuid, NeutronSFCPortChain delta, NeutronSFCPortChain original) {
         /*
-         *  note: what we get appears to not be a delta but
+         * note: what we get appears to not be a delta but
          * rather an incomplete updated object.  So we need to set
          * the ID to complete the object and then send that down
          * for folks to check
          */
-
         delta.setID(uuid);
         delta.setTenantID(original.getTenantID());
     }
index 4b658e051f24f7f4a189934b4c04b2c790301858..54c61c5e784650dbaef3ecadc1821595043b2ea8 100644 (file)
@@ -27,23 +27,8 @@ import org.opendaylight.neutron.spi.INeutronSFCPortPairGroupCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortPairGroup;
 
 /**
- * Neutron Northbound REST APIs for OpenStack SFC Port Pair.<br>
- * This class provides REST APIs for managing OpenStack SFC Port Pair
- *
- * <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 OpenStack SFC Port Pair.
  */
-
 @Path("/sfc/portpairgroups")
 public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNorthbound<NeutronSFCPortPairGroup,
         NeutronSFCPortPairGroupRequest, INeutronSFCPortPairGroupCRUD> {
@@ -58,7 +43,6 @@ public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNor
     /**
      * Returns a list of all SFC Port Pair Groups.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -94,7 +78,6 @@ public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNor
     /**
      * Returns a specific SFC Port Pair Group.
      */
-
     @Path("{portPairGroupUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -124,12 +107,11 @@ public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNor
     @Override
     protected void updateDelta(String uuid, NeutronSFCPortPairGroup delta, NeutronSFCPortPairGroup original) {
         /*
-         *  note: what we get appears to not be a delta but
+         * Note: what we get appears to not be a delta but
          * rather an incomplete updated object.  So we need to set
          * the ID to complete the object and then send that down
          * for folks to check
          */
-
         delta.setID(uuid);
         delta.setTenantID(original.getTenantID());
     }
@@ -152,7 +134,6 @@ public final class NeutronSFCPortPairGroupsNorthbound extends AbstractNeutronNor
     /**
      * Deletes the SFC Port Pair Group.
      */
-
     @Path("{portPairGroupUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 278987a71a327e778ad82f82425e52a4eeabe2f5..35ca4484f94250f6ce0ffdbfa1085592033abf33 100644 (file)
@@ -27,23 +27,8 @@ import org.opendaylight.neutron.spi.INeutronSFCPortPairCRUD;
 import org.opendaylight.neutron.spi.NeutronSFCPortPair;
 
 /**
- * Neutron Northbound REST APIs for OpenStack SFC Port Pair.<br>
- * This class provides REST APIs for managing OpenStack SFC Port Pair
- *
- * <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 OpenStack SFC Port Pair.
  */
-
 @Path("/sfc/portpairs")
 public final class NeutronSFCPortPairsNorthbound
         extends AbstractNeutronNorthbound<NeutronSFCPortPair, NeutronSFCPortPairRequest, INeutronSFCPortPairCRUD> {
@@ -58,7 +43,6 @@ public final class NeutronSFCPortPairsNorthbound
     /**
      * Returns a list of all SFC Port Pairs.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -97,7 +81,6 @@ public final class NeutronSFCPortPairsNorthbound
     /**
      * Returns a specific SFC Port Pair.
      */
-
     @Path("{portPairUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -155,7 +138,6 @@ public final class NeutronSFCPortPairsNorthbound
     /**
      * Deletes the SFC Port Pair.
      */
-
     @Path("{portPairUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 3ef3e40f90f8b2239e97adc044cf36ef6170d97f..cb5c9b3f65b78bec3ad0d8a4d6bc20685a3a0f6f 100644 (file)
@@ -5,7 +5,6 @@
  * 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 edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -20,6 +19,7 @@ import org.opendaylight.neutron.spi.NeutronSecurityGroup;
 @XmlAccessorType(XmlAccessType.NONE)
 @SuppressFBWarnings("URF_UNREAD_FIELD")
 public final class NeutronSecurityGroupRequest implements INeutronRequest<NeutronSecurityGroup> {
+
     /**
     * See OpenStack Network API v2.0 Reference for a
     * description of annotated attributes and operations.
index 4801dbb5b34231a2b40708088669dc81cc78da5c..5edc05ecd6489d5f588d063079a450f5ca0fc000 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -28,25 +27,12 @@ import org.opendaylight.neutron.spi.INeutronSecurityGroupCRUD;
 import org.opendaylight.neutron.spi.NeutronSecurityGroup;
 
 /**
- * Neutron Northbound REST APIs for Security Group.<br>
- * This class provides REST APIs for managing neutron Security Group
- *
- * <p>
- * <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 Security Group.
  */
 @Path("/security-groups")
 public final class NeutronSecurityGroupsNorthbound extends
         AbstractNeutronNorthbound<NeutronSecurityGroup, NeutronSecurityGroupRequest, INeutronSecurityGroupCRUD> {
+
     private static final String RESOURCE_NAME = "Security Group";
 
     @Override
@@ -63,7 +49,6 @@ public final class NeutronSecurityGroupsNorthbound extends
             @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,
@@ -94,7 +79,6 @@ public final class NeutronSecurityGroupsNorthbound extends
     /**
      * Returns a specific Security Group.
      */
-
     @Path("{securityGroupUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -112,7 +96,6 @@ public final class NeutronSecurityGroupsNorthbound extends
     /**
      * Creates new Security Group.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -125,7 +108,6 @@ public final class NeutronSecurityGroupsNorthbound extends
     /**
      * Updates a Security Group.
      */
-
     @Path("{securityGroupUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -141,7 +123,6 @@ public final class NeutronSecurityGroupsNorthbound extends
     /**
      * Deletes a Security Group.
      */
-
     @Path("{securityGroupUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index ec91da7350138b752a2d8886d5f447f1458f8de8..dff94cd4ff449d242f329ac1c2e7799faabdab40 100644 (file)
@@ -5,7 +5,6 @@
  * 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 edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
@@ -20,6 +19,7 @@ import org.opendaylight.neutron.spi.NeutronSecurityRule;
 @XmlAccessorType(XmlAccessType.NONE)
 @SuppressFBWarnings("URF_UNREAD_FIELD")
 public final class NeutronSecurityRuleRequest implements INeutronRequest<NeutronSecurityRule> {
+
     /**
      * See OpenStack Network API v2.0 Reference for a
      * description of annotated attributes and operations.
index 717a70fa1b16ec915dfeda92514387d9973f12cb..11eb9385cd2d1dbcadc931709c4b1426b58bca17 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,25 +28,11 @@ import org.opendaylight.neutron.spi.NeutronSecurityRule;
 
 /**
  * Neutron Northbound REST APIs for Security Rule.<br>
- * This class provides REST APIs for managing neutron Security Rule
- *
- * <p>
- * <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
  */
-
 @Path("/security-group-rules")
 public final class NeutronSecurityRulesNorthbound
         extends AbstractNeutronNorthbound<NeutronSecurityRule, NeutronSecurityRuleRequest, INeutronSecurityRuleCRUD> {
+
     private static final String RESOURCE_NAME = "Security Rule";
 
     @Override
@@ -116,7 +101,6 @@ public final class NeutronSecurityRulesNorthbound
     /**
      * Returns a specific Security Rule.
      */
-
     @Path("{securityRuleUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -134,7 +118,6 @@ public final class NeutronSecurityRulesNorthbound
     /**
      * Creates new Security Rule.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -147,7 +130,6 @@ public final class NeutronSecurityRulesNorthbound
     /**
      * Updates a Security Rule.
      */
-
     @Path("{securityRuleUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -163,7 +145,6 @@ public final class NeutronSecurityRulesNorthbound
     /**
      * Deletes a Security Rule.
      */
-
     @Path("{securityRuleUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 2f4f4a2db14cae06f4d1375e25e3fb5da076e676..ba8f5c1b9b15697119c4562a3781a4f36d2e73d4 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -32,25 +31,11 @@ import org.opendaylight.neutron.spi.NeutronSubnet;
 
 /**
  * Neutron Northbound REST APIs for Subnets.<br>
- * This class provides REST APIs for managing neutron Subnets
- *
- * <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
- *
  */
-
 @Path("/subnets")
 public final class NeutronSubnetsNorthbound
         extends AbstractNeutronNorthbound<NeutronSubnet, NeutronSubnetRequest, INeutronSubnetCRUD> {
+
     private static final String RESOURCE_NAME = "Subnet";
 
     @Override
@@ -126,7 +111,6 @@ public final class NeutronSubnetsNorthbound
     /**
      * Returns a specific Subnet.
      */
-
     @Path("{subnetUUID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -145,7 +129,6 @@ public final class NeutronSubnetsNorthbound
     /**
      * Creates new Subnets.
      */
-
     @POST
     @Produces({ MediaType.APPLICATION_JSON })
     @Consumes({ MediaType.APPLICATION_JSON })
@@ -163,7 +146,6 @@ public final class NeutronSubnetsNorthbound
          * complete updated object.  So, that needs to be sent down to
          * folks to check
          */
-
         delta.setID(uuid);
         delta.setNetworkUUID(original.getNetworkUUID());
         delta.setTenantID(original.getTenantID());
@@ -174,7 +156,6 @@ public final class NeutronSubnetsNorthbound
     /**
      * Updates a Subnet.
      */
-
     @Path("{subnetUUID}")
     @PUT
     @Produces({ MediaType.APPLICATION_JSON })
@@ -190,7 +171,6 @@ public final class NeutronSubnetsNorthbound
     /**
      * Deletes a Subnet.
      */
-
     @Path("{subnetUUID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 3bd900b496841e25b966f9a3ca02e640d751dcdd..4b38bce2b898772dc3afd4c361e4d6ac019befb0 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
index 0c3ee715a16e216154a1c84daeb836881ab69816..a8ca5c9f53e7f310884033410a795643da47e35e 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
index b5fcf71961b15bd3773a145e0d5fe576637dbec0..f63654713849e8dd94daf9c3d9997208b0894fd5 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
index 4fe759e79fb7de6fd6162538cb58d17f6c41caf9..2630c014d4ab5d9b6b6684efceece0fa9cf16838 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,26 +28,12 @@ import org.opendaylight.neutron.spi.INeutronVpnIkePolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIkePolicy;
 
 /**
- * Neutron Northbound REST APIs for VPN IKE Policy.<br>
- * This class provides REST APIs for managing neutron VPN IKE 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 VPN IKE Policy.
  */
-
 @Path("/vpn/ikepolicies")
 public final class NeutronVpnIkePoliciesNorthbound
         extends AbstractNeutronNorthbound<NeutronVpnIkePolicy, NeutronVpnIkePolicyRequest, INeutronVpnIkePolicyCRUD> {
+
     private static final String RESOURCE_NAME = "VPNIKEPolicy";
 
     @Override
@@ -59,7 +44,6 @@ public final class NeutronVpnIkePoliciesNorthbound
     /**
      * Returns a list of all VPN IKE Policies.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -108,7 +92,6 @@ public final class NeutronVpnIkePoliciesNorthbound
     /**
      * Returns a specific VPN IKE Policy.
      */
-
     @Path("{policyID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -155,7 +138,6 @@ public final class NeutronVpnIkePoliciesNorthbound
     /**
      * Deletes a VPN IKE Policy.
      */
-
     @Path("{policyID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index 3a13dba08aac9572012eef7942b637030a36ac46..e281e25efd3dcd33c95cbe455a7b2bbd0f830f3b 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,23 +28,8 @@ import org.opendaylight.neutron.spi.INeutronVpnIpSecPolicyCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnIpSecPolicy;
 
 /**
- * Neutron Northbound REST APIs for VPN IPSEC Policy.<br>
- * This class provides REST APIs for managing neutron VPN IPSEC 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 VPN IPSEC Policy.
  */
-
 @Path("/vpn/ipsecpolicies")
 public final class NeutronVpnIpSecPoliciesNorthbound extends
         AbstractNeutronNorthbound<NeutronVpnIpSecPolicy, NeutronVpnIpSecPolicyRequest, INeutronVpnIpSecPolicyCRUD> {
@@ -60,7 +44,6 @@ public final class NeutronVpnIpSecPoliciesNorthbound extends
     /**
      * Returns a list of all VPN IPSEC Policies.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -108,7 +91,6 @@ public final class NeutronVpnIpSecPoliciesNorthbound extends
     /**
      * Returns a specific VPN IPSEC Policy.
      */
-
     @Path("{policyID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -155,7 +137,6 @@ public final class NeutronVpnIpSecPoliciesNorthbound extends
     /**
      * Deletes a VPN IPSEC Policy.
      */
-
     @Path("{policyID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index d14e80903c2985fb27d2b752e2dd1bdaec5175d4..208919f828cd0474ec473cecb8e0ac24e51c0def 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -30,22 +29,7 @@ import org.opendaylight.neutron.spi.NeutronVpnIpSecSiteConnection;
 
 /**
  * Neutron Northbound REST APIs for VPN IPSEC SiteConnection.<br>
- * This class provides REST APIs for managing neutron VPN IPSEC SiteConnections
- *
- * <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
- *
  */
-
 @Path("/vpn/ipsecsiteconnections")
 public final class NeutronVpnIpSecSiteConnectionsNorthbound
         extends AbstractNeutronNorthbound<NeutronVpnIpSecSiteConnection,
@@ -61,7 +45,6 @@ public final class NeutronVpnIpSecSiteConnectionsNorthbound
     /**
      * Returns a list of all VPN IPSEC SiteConnections.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -123,7 +106,6 @@ public final class NeutronVpnIpSecSiteConnectionsNorthbound
     /**
      * Returns a specific VPN IPSEC SiteConnection.
      */
-
     @Path("{connectionID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -170,7 +152,6 @@ public final class NeutronVpnIpSecSiteConnectionsNorthbound
     /**
      * Deletes a VPN IPSEC SiteConnection.
      */
-
     @Path("{connectionID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),
index b49a049dfc00654c15f47b2a5828a3916d311af1..fec9fed615d543a65a96bbc2aee064add6bc1a24 100644 (file)
@@ -5,7 +5,6 @@
  * 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;
@@ -29,23 +28,8 @@ import org.opendaylight.neutron.spi.INeutronVpnServiceCRUD;
 import org.opendaylight.neutron.spi.NeutronVpnService;
 
 /**
- * Neutron Northbound REST APIs for VPN Service.<br>
- * This class provides REST APIs for managing neutron VPN Services
- *
- * <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 VPN Service.
  */
-
 @Path("/vpn/vpnservices")
 public final class NeutronVpnServicesNorthbound
         extends AbstractNeutronNorthbound<NeutronVpnService, NeutronVpnServiceRequest, INeutronVpnServiceCRUD> {
@@ -60,7 +44,6 @@ public final class NeutronVpnServicesNorthbound
     /**
      * Returns a list of all VPN Services.
      */
-
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_OK, condition = "Operation successful"),
@@ -109,7 +92,6 @@ public final class NeutronVpnServicesNorthbound
     /**
      * Returns a specific VPN Service.
      */
-
     @Path("{serviceID}")
     @GET
     @Produces({ MediaType.APPLICATION_JSON })
@@ -154,7 +136,6 @@ public final class NeutronVpnServicesNorthbound
     /**
      * Deletes a VPN Service.
      */
-
     @Path("{serviceID}")
     @DELETE
     @StatusCodes({ @ResponseCode(code = HttpURLConnection.HTTP_NO_CONTENT, condition = "No Content"),