Cleaning up style checks in spi part 1 57/17157/3
authorRyan Moats <rmoats@us.ibm.com>
Thu, 26 Mar 2015 14:02:53 +0000 (09:02 -0500)
committerRyan Moats <rmoats@us.ibm.com>
Thu, 26 Mar 2015 14:42:43 +0000 (09:42 -0500)
Change-Id: I36c02ea2c3c67d45ed43e9770d6555aa62027167
Signed-off-by: Ryan Moats <rmoats@us.ibm.com>
46 files changed:
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronFirewallAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronFirewallCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronFirewallPolicyAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronFirewallPolicyCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronFirewallRuleAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronFirewallRuleCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerHealthMonitorAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerHealthMonitorCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerListenerAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerListenerCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerPoolAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerPoolCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerPoolMemberAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerPoolMemberCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronLoadBalancerPoolMemberRequest.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronNetworkAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronObject.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronRouterAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronRouterCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityGroupAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityGroupCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityRuleAware.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/INeutronSecurityRuleCRUD.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronFirewall.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronFirewallPolicy.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronFirewallRule.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronFloatingIP.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronLoadBalancer.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronLoadBalancerHealthMonitor.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronLoadBalancerListener.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronLoadBalancerPool.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronLoadBalancerPoolMember.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronNetwork.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronPort.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronPort_AllowedAddressPairs.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronRouter.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronRouter_Interface.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronRouter_NetworkReference.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronSecurityGroup.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronSecurityRule.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronSubnet.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronSubnet_HostRoute.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/NeutronSubnet_IPAllocationPool.java
neutron-spi/src/main/java/org/opendaylight/neutron/spi/Neutron_IPs.java

index 9e8ee541afba36a020c82ce46bd1e4258e50a13c..b58c30aead00ffc558bc858038d3575fea4581fd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc. All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -32,7 +32,6 @@ public interface INeutronFirewallAware {
      *
      * @param firewall
      *            instance of new Firewall object
-     * @return void
      */
     public void neutronFirewallCreated(NeutronFirewall firewall);
 
@@ -56,7 +55,6 @@ public interface INeutronFirewallAware {
      *
      * @param firewall
      *            instance of modified Firewall object
-     * @return void
      */
     public void neutronFirewallUpdated(NeutronFirewall firewall);
 
@@ -77,7 +75,6 @@ public interface INeutronFirewallAware {
      *
      * @param firewall
      *            instance of deleted Firewall object
-     * @return void
      */
     public void neutronFirewallDeleted(NeutronFirewall firewall);
 }
index a3ce88c388c20f90473720877ebba736c9817b08..0260e1f45354f721d16e254c0eebae8167f903ec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index b3f893ab4a946c2d1412aefa1ab2b864b1384e1a..b34b9af2bb26c74a186a09bfa62a124b9adae3f7 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index a097037d6e2d9d7a35e0beee06b9dfe896885a43..546e8993d3390db9c6205ef52c99783d6d4371eb 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 770e513d501f5770012dea83bec413db3773b0de..1a4c4451eada51e2a8ebeb5f0f043b5bd24eba2c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index d4fea36a2093e20cd95edf6c9be22464ee419449..ebc23498073fe7895b9160c1c7928e3e1af0f411 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index a311e8f31460c6f5cddc4624517ac817bce39714..40638a9f845827aec67568ed56d3776005147ef0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -32,12 +32,12 @@ public interface INeutronLoadBalancerAware {
      *
      * @param loadBalancer
      *            instance of new LoadBalancer object
-     * @return void
      */
     public void neutronLoadBalancerCreated(NeutronLoadBalancer loadBalancer);
 
     /**
-     * Services provide this interface method to indicate if the specified loadBalancer can be changed using the specified
+     * Services provide this interface method to indicate if the
+     * specified loadBalancer can be changed using the specified
      * delta
      *
      * @param delta
@@ -56,7 +56,6 @@ public interface INeutronLoadBalancerAware {
      *
      * @param loadBalancer
      *            instance of modified LoadBalancer object
-     * @return void
      */
     public void neutronLoadBalancerUpdated(NeutronLoadBalancer loadBalancer);
 
@@ -77,7 +76,6 @@ public interface INeutronLoadBalancerAware {
      *
      * @param loadBalancer
      *            instance of deleted LoadBalancer object
-     * @return void
      */
     public void neutronLoadBalancerDeleted(NeutronLoadBalancer loadBalancer);
 }
index c3c7c94a4197c38d3dcee73f2b5c511cfbec43fe..866127dec6ccadda992fbc07b5ed77f7b85e7c47 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 3c68be3bec5467137f1dd008ac0d306389ee3c0f..36ed07782a62ceacbf932c0a1559a0111b0a540a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 51f5e9e989f12e56f179f9a6d39529feaaaaadb5..e79d47e03b03e30d00f9eb94150c25f03b5bf4d4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 84e58c3b6ba0da131f837d00f318e7c8e3604b94..224679a3feeefd9b68cd47ea27b1f184d8df542a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index e117deb123a64a419dcfbd69a0625f8cfe132905..f466812533f670a302175bc6ce759bbf30de5be8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 284cd223878f19f674b6d631988ed3c05376c8a7..bcee33fafe60f26a2e6ca3de94d35d26c740eb64 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -32,12 +32,12 @@ public interface INeutronLoadBalancerPoolAware {
      *
      * @param loadBalancerPool
      *            instance of new LoadBalancerPool object
-     * @return void
      */
     public void neutronLoadBalancerPoolCreated(NeutronLoadBalancerPool loadBalancerPool);
 
     /**
-     * Services provide this interface method to indicate if the specified loadBalancerPool can be changed using the specified
+     * Services provide this interface method to indicate if the 
+     * specified loadBalancerPool can be changed using the specified
      * delta
      *
      * @param delta
@@ -56,7 +56,6 @@ public interface INeutronLoadBalancerPoolAware {
      *
      * @param loadBalancerPool
      *            instance of modified LoadBalancerPool object
-     * @return void
      */
     public void neutronLoadBalancerPoolUpdated(NeutronLoadBalancerPool loadBalancerPool);
 
@@ -77,7 +76,6 @@ public interface INeutronLoadBalancerPoolAware {
      *
      * @param loadBalancerPool
      *            instance of deleted LoadBalancerPool object
-     * @return void
      */
     public void neutronLoadBalancerPoolDeleted(NeutronLoadBalancerPool loadBalancerPool);
 }
index b2585050b1e2c9c6aefc604c046b5ddeec3ac8a4..98ec93462d4b01b22a998fb555b7945a2815026f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 634ce3f17c227c88aac903b343474e9d60a9022e..d749fb51f721395c3444c91d4205e2ca07a6c32a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index b228ecbcdd03853cc0dfbd3f67f676659de9236c..6b076c77f37daa8966850921aaa383020a83809f 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index d3933df99690823605ad8bc714f8af2911a44295..313c58c814a7107df1ac8da572cd577d2dd9709a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -18,10 +18,10 @@ public class INeutronLoadBalancerPoolMemberRequest {
      * http://docs.openstack.org/api/openstack-network/2.0/content/
      */
 
-    @XmlElement(name="member")
+    @XmlElement(name = "member")
     NeutronLoadBalancerPoolMember singletonLoadBalancerPoolMember;
 
-    @XmlElement(name="members")
+    @XmlElement(name = "members")
     List<NeutronLoadBalancerPoolMember> bulkRequest;
 
     INeutronLoadBalancerPoolMemberRequest() {
index ac41d8a638e64700359c4650c5c10cee2c99208e..527e6bcbca730af88240e210e8e3404b96526a67 100644 (file)
@@ -32,7 +32,6 @@ public interface INeutronNetworkAware {
      *
      * @param network
      *            instance of new Neutron Network object
-     * @return void
      */
     public void neutronNetworkCreated(NeutronNetwork network);
 
@@ -42,7 +41,7 @@ public interface INeutronNetworkAware {
      *
      * @param delta
      *            updates to the network object using patch semantics
-     * @param network
+     * @param original
      *            instance of the Neutron Network object to be updated
      * @return integer
      *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299
@@ -56,7 +55,6 @@ public interface INeutronNetworkAware {
      *
      * @param network
      *            instance of modified Neutron Network object
-     * @return void
      */
     public void neutronNetworkUpdated(NeutronNetwork network);
 
@@ -77,7 +75,6 @@ public interface INeutronNetworkAware {
      *
      * @param network
      *            instance of deleted Neutron Network object
-     * @return void
      */
     public void neutronNetworkDeleted(NeutronNetwork network);
 }
index a6d4bfdb149a42d79326a0d8933254c706467639..d01ef0911e757224d45d2187df42bd6af2f518dd 100644 (file)
@@ -1,11 +1,9 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
  * and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- *  Authors : Dave Tucker
  */
 
 package org.opendaylight.neutron.spi;
@@ -14,6 +12,8 @@ package org.opendaylight.neutron.spi;
  * This class contains behaviour common to Neutron configuration objects
  */
 public interface INeutronObject {
+
     public String getID();
+
     public void setID(String id);
 }
index 865ee5311f74954305ffcd7901fb8daf3ddabc2c..58f1a58b616e15b4e8b2b843b97b4446cd9d1fca 100644 (file)
@@ -32,7 +32,6 @@ public interface INeutronRouterAware {
      *
      * @param router
      *            instance of new Neutron Router object
-     * @return void
      */
     public void neutronRouterCreated(NeutronRouter router);
 
@@ -42,7 +41,7 @@ public interface INeutronRouterAware {
      *
      * @param delta
      *            updates to the router object using patch semantics
-     * @param router
+     * @param original
      *            instance of the Neutron Router object to be updated
      * @return integer
      *            the return value is understood to be a HTTP status code.  A return value outside of 200 through 299
@@ -56,7 +55,6 @@ public interface INeutronRouterAware {
      *
      * @param router
      *            instance of modified Neutron Router object
-     * @return void
      */
     public void neutronRouterUpdated(NeutronRouter router);
 
@@ -77,12 +75,12 @@ public interface INeutronRouterAware {
      *
      * @param router
      *            instance of deleted Router Network object
-     * @return void
      */
     public void neutronRouterDeleted(NeutronRouter router);
 
     /**
-     * Services provide this interface method to indicate if the specified interface can be attached to the specified route
+     * Services provide this interface method to indicate if the 
+     * specified interface can be attached to the specified router
      *
      * @param router
      *            instance of the base Neutron Router object
@@ -96,18 +94,19 @@ public interface INeutronRouterAware {
     public int canAttachInterface(NeutronRouter router, NeutronRouter_Interface routerInterface);
 
     /**
-     * Services provide this interface method for taking action after an interface has been added to a router
+     * Services provide this interface method for taking action 
+     * after an interface has been added to a router
      *
      * @param router
      *            instance of the base Neutron Router object
      * @param routerInterface
      *            instance of the NeutronRouter_Interface being attached to the router
-     * @return void
      */
     public void neutronRouterInterfaceAttached(NeutronRouter router, NeutronRouter_Interface routerInterface);
 
     /**
-     * Services provide this interface method to indicate if the specified interface can be detached from the specified router
+     * Services provide this interface method to indicate if the
+     * specified interface can be detached from the specified router
      *
      * @param router
      *            instance of the base Neutron Router object
@@ -127,7 +126,6 @@ public interface INeutronRouterAware {
      *            instance of the base Neutron Router object
      * @param routerInterface
      *            instance of the NeutronRouter_Interface being detached from the router
-     * @return void
      */
     public void neutronRouterInterfaceDetached(NeutronRouter router, NeutronRouter_Interface routerInterface);
 }
index c0990caa46c42eb9864c7a072b1c1ba8da2febfd..86e3f9e4a9ff59a24b9af85fe39f1947e8fb48ce 100644 (file)
@@ -84,7 +84,7 @@ public interface INeutronRouterCRUD {
     /**
      * Applications call this interface method to check if a router is in use
      *
-     * @param uuid
+     * @param routerUUID
      *            identifier of the Router object
      * @return boolean on whether the router is in use or not
      */
index 941bac79711683541f8ed91e5daa85ebc535e7ba..c7a7558a05a2d4742ae2042447455b264121d88d 100644 (file)
@@ -1,10 +1,9 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * 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.spi;
index 30ecf55fb4a48602d483518f8c9ac09aefa7c03f..9a58350a9c0e610af2748e3328681e51ecd3f355 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 87e9f1c8f3aefcac82beea74ce13873ae509cb5e..0a1d4bb50b1e28c32a801bdd89f42e1ec90af0e9 100644 (file)
@@ -1,10 +1,9 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * 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.spi;
index 0877cccbe1676714a9ec593cd4ed21f9c6ad47d4..a29cedfa947e0fa7f00694f1c0c79f202a7ada1a 100644 (file)
@@ -1,10 +1,9 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * 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.spi;
index 6e3b62b18393a585442252e3e03170c7c40a4eff..25e2a547d035f19b786e8f59f330762e6753040d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -39,28 +39,28 @@ import java.util.List;
 public class NeutronFirewall implements Serializable {
     private static final long serialVersionUID = 1L;
 
-    @XmlElement(name="id")
+    @XmlElement(name = "id")
     String firewallUUID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String firewallTenantID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String firewallName;
 
-    @XmlElement (name="description")
+    @XmlElement (name = "description")
     String firewallDescription;
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean firewallAdminStateIsUp;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String firewallStatus;
 
-    @XmlElement (defaultValue="false", name="shared")
+    @XmlElement (defaultValue = "false", name = "shared")
     Boolean firewallIsShared;
 
-    @XmlElement (name="firewall_policy_id")
+    @XmlElement (name = "firewall_policy_id")
     String neutronFirewallPolicyID;
 
     public String getFirewallUUID() {
index 91d2e375bb656d57a9bd66e01feabc66b7dfcdd3..6224a549d5a9bba4cf7eb784143ab22b5fe2519b 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -39,25 +39,25 @@ import java.util.List;
 public class NeutronFirewallPolicy implements Serializable {
     private static final long serialVersionUID = 1L;
 
-    @XmlElement(name="id")
+    @XmlElement(name = "id")
     String firewallPolicyUUID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String firewallPolicyTenantID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String firewallPolicyName;
 
-    @XmlElement (name="description")
+    @XmlElement (name = "description")
     String firewallPolicyDescription;
 
-    @XmlElement (defaultValue="false", name="shared")
+    @XmlElement (defaultValue = "false", name = "shared")
     Boolean firewallPolicyIsShared;
 
-    @XmlElement (name="firewall_rules")
+    @XmlElement (name = "firewall_rules")
     List<String> firewallPolicyRules;
 
-    @XmlElement (defaultValue="false", name="audited")
+    @XmlElement (defaultValue = "false", name = "audited")
     String firewallPolicyIsAudited;
 
     public String getFirewallPolicyIsAudited() {
index bf8c28d940e84704a461bff38a3ae792f4b2c9e0..14795435f00433d157737fe51c88fcd935c690cf 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index f3f434c5bfbd2e5c80c1be911883d4b6a97a6677..68c801e5bb74bd613098c97c88a82d531183c2a2 100644 (file)
@@ -26,22 +26,22 @@ public class NeutronFloatingIP implements Serializable {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String floatingIPUUID;
 
-    @XmlElement (name="floating_network_id")
+    @XmlElement (name = "floating_network_id")
     String floatingNetworkUUID;
 
-    @XmlElement (name="port_id")
+    @XmlElement (name = "port_id")
     String portUUID;
 
-    @XmlElement (name="fixed_ip_address")
+    @XmlElement (name = "fixed_ip_address")
     String fixedIPAddress;
 
-    @XmlElement (name="floating_ip_address")
+    @XmlElement (name = "floating_ip_address")
     String floatingIPAddress;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String tenantUUID;
 
     public NeutronFloatingIP() {
index 350134122782af96ee521e9989a0effca8eacd43..16fd59e4d7d44f8b34d03ee2298eda0abd80d077 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -38,25 +38,25 @@ import java.util.List;
 public class NeutronLoadBalancer implements Serializable {
     private static final long serialVersionUID = 1L;
 
-    @XmlElement(name="id")
+    @XmlElement(name = "id")
     String loadBalancerID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String loadBalancerTenantID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String loadBalancerName;
 
-    @XmlElement (name="description")
+    @XmlElement (name = "description")
     String loadBalancerDescription;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String loadBalancerStatus;
 
-    @XmlElement (name="vip_address")
+    @XmlElement (name = "vip_address")
     String loadBalancerVipAddress;
 
-    @XmlElement (name="vip_subnet_id")
+    @XmlElement (name = "vip_subnet_id")
     String loadBalancerVipSubnetID;
 
     public String getLoadBalancerID() {
index 774bc0cd7773bd2ce875ce2747b9394fb2a1ab5f..ba62046997b9005fc3e43347ea2ccd1ff63fb853 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -47,37 +47,37 @@ public class NeutronLoadBalancerHealthMonitor implements Serializable {
     private static final long serialVersionUID = 1L;
     private static final Logger logger = LoggerFactory.getLogger(NeutronLoadBalancer.class);
 
-    @XmlElement(name="id")
+    @XmlElement(name = "id")
     String loadBalancerHealthMonitorID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String loadBalancerHealthMonitorTenantID;
 
-    @XmlElement (name="type")
+    @XmlElement (name = "type")
     String loadBalancerHealthMonitorType;
 
-    @XmlElement (name="delay")
+    @XmlElement (name = "delay")
     Integer loadBalancerHealthMonitorDelay;
 
-    @XmlElement (name="timeout")
+    @XmlElement (name = "timeout")
     Integer loadBalancerHealthMonitorTimeout;
 
-    @XmlElement (name="max_retries")
+    @XmlElement (name = "max_retries")
     Integer loadBalancerHealthMonitorMaxRetries;
 
-    @XmlElement (name="http_method")
+    @XmlElement (name = "http_method")
     String loadBalancerHealthMonitorHttpMethod;
 
-    @XmlElement (name="url_path")
+    @XmlElement (name = "url_path")
     String loadBalancerHealthMonitorUrlPath;
 
-    @XmlElement (name="expected_codes")
+    @XmlElement (name = "expected_codes")
     String loadBalancerHealthMonitorExpectedCodes;
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean loadBalancerHealthMonitorAdminStateIsUp;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String loadBalancerHealthMonitorStatus;
 
     public String getLoadBalancerHealthMonitorID() {
index b8894173243a0b49d68c58593938ca01f0a982af..6940b26d461e5d88f1b6d24a53dc3be3788cb8ec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -43,37 +43,37 @@ import java.util.List;
 public class NeutronLoadBalancerListener implements Serializable {
     private static final long serialVersionUID = 1L;
 
-    @XmlElement(name="id")
+    @XmlElement(name = "id")
     String loadBalancerListenerID;
 
-    @XmlElement (name="default_pool_id")
+    @XmlElement (name = "default_pool_id")
     String neutronLoadBalancerListenerDefaultPoolID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String loadBalancerListenerTenantID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String loadBalancerListenerName;
 
-    @XmlElement (name="description")
+    @XmlElement (name = "description")
     String loadBalancerListenerDescription;
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean loadBalancerListenerAdminStateIsUp;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String loadBalancerListenerStatus;
 
-    @XmlElement (defaultValue="false", name="shared")
+    @XmlElement (defaultValue = "false", name = "shared")
     Boolean loadBalancerListenerIsShared;
 
-    @XmlElement (name="protocol")
+    @XmlElement (name = "protocol")
     String neutronLoadBalancerListenerProtocol;
 
-    @XmlElement (name="protocol_port")
+    @XmlElement (name = "protocol_port")
     String neutronLoadBalancerListenerProtocolPort;
 
-    @XmlElement (name="load_balancer_id")
+    @XmlElement (name = "load_balancer_id")
     String neutronLoadBalancerListenerLoadBalancerID;
 
 
index f84a4173e39aa82e9818625c881e5deefa479cdb..20bc86ba82d484e43f05ad29932006935c3f19f0 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -42,34 +42,34 @@ import java.util.List;
 public class NeutronLoadBalancerPool implements Serializable {
     private static final long serialVersionUID = 1L;
 
-    @XmlElement(name="id")
+    @XmlElement(name = "id")
     String loadBalancerPoolID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String loadBalancerPoolTenantID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String loadBalancerPoolName;
 
-    @XmlElement (name="description")
+    @XmlElement (name = "description")
     String loadBalancerPoolDescription;
 
-    @XmlElement (name="protocol")
+    @XmlElement (name = "protocol")
     String loadBalancerPoolProtocol;
 
-    @XmlElement (name="lb_algorithm")
+    @XmlElement (name = "lb_algorithm")
     String loadBalancerPoolLbAlgorithm;
 
-    @XmlElement (name="healthmonitor_id")
+    @XmlElement (name = "healthmonitor_id")
     String neutronLoadBalancerPoolHealthMonitorID;
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean loadBalancerPoolAdminStateIsUp;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String loadBalancerPoolStatus;
 
-    @XmlElement(name="members")
+    @XmlElement(name = "members")
     List<NeutronLoadBalancerPoolMember> loadBalancerPoolMembers;
 
     public NeutronLoadBalancerPool() {
index 92f32fb3e7459a6475031c6257e29c564b6bf594..88685c6a3a6080027362d1f740d04ee681409cde 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
@@ -27,28 +27,28 @@ public class NeutronLoadBalancerPoolMember implements Serializable {
     /**
      * TODO: Plumb into LBaaS Pool. Members are nested underneath Pool CRUD.
      */
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String poolMemberID;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String poolMemberTenantID;
 
-    @XmlElement (name="address")
+    @XmlElement (name = "address")
     String poolMemberAddress;
 
-    @XmlElement (name="protocol_port")
+    @XmlElement (name = "protocol_port")
     Integer poolMemberProtoPort;
 
-    @XmlElement (name="admin_state_up")
+    @XmlElement (name = "admin_state_up")
     Boolean poolMemberAdminStateIsUp;
 
-    @XmlElement (name="weight")
+    @XmlElement (name = "weight")
     Integer poolMemberWeight;
 
-    @XmlElement (name="subnet_id")
+    @XmlElement (name = "subnet_id")
     String poolMemberSubnetID;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String poolMemberStatus;
 
     String poolID;
index 7fbe49367a074783ba3d76bc9af509a911156e5c..670af585e880e3fd13d6669818ae42f9ab0fa013 100644 (file)
@@ -27,37 +27,37 @@ public class NeutronNetwork implements Serializable, INeutronObject {
 
     private static final long serialVersionUID = 1L;
 
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String networkUUID;              // network UUID
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String networkName;              // name
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean adminStateUp;             // admin state up (true/false)
 
-    @XmlElement (defaultValue="false", name="shared")
+    @XmlElement (defaultValue = "false", name = "shared")
     Boolean shared;                   // shared network or not
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String tenantID;                 // tenant for this network
 
-    @XmlElement (defaultValue="false", namespace="router", name="external")
+    @XmlElement (defaultValue = "false", namespace = "router", name = "external")
     Boolean routerExternal;           // network external or not
 
-    @XmlElement (defaultValue="flat", namespace="provider", name="network_type")
+    @XmlElement (defaultValue = "flat", namespace = "provider", name = "network_type")
     String providerNetworkType;      // provider network type (flat or vlan)
 
-    @XmlElement (namespace="provider", name="physical_network")
+    @XmlElement (namespace = "provider", name = "physical_network")
     String providerPhysicalNetwork;  // provider physical network (name)
 
-    @XmlElement (namespace="provider", name="segmentation_id")
+    @XmlElement (namespace = "provider", name = "segmentation_id")
     String providerSegmentationID;   // provide segmentation ID (vlan ID)
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String status;                   // status (read-only)
 
-    @XmlElement (name="subnets")
+    @XmlElement (name = "subnets")
     List<String> subnets;            // subnets (read-only)
 
     /* This attribute lists the ports associated with an instance
index ad11d98aa0d92fb2b966eebbde80ea52f449670e..f59eadc5334252102fa5f73646a601e149dcdfff 100644 (file)
@@ -30,49 +30,49 @@ public class NeutronPort implements Serializable, INeutronObject {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String portUUID;
 
-    @XmlElement (name="network_id")
+    @XmlElement (name = "network_id")
     String networkUUID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String name;
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean adminStateUp;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String status;
 
-    @XmlElement (name="mac_address")
+    @XmlElement (name = "mac_address")
     String macAddress;
 
-    @XmlElement (name="fixed_ips")
+    @XmlElement (name = "fixed_ips")
     List<Neutron_IPs> fixedIPs;
 
-    @XmlElement (name="device_id")
+    @XmlElement (name = "device_id")
     String deviceID;
 
-    @XmlElement (name="device_owner")
+    @XmlElement (name = "device_owner")
     String deviceOwner;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String tenantID;
 
-    @XmlElement (name="security_groups")
+    @XmlElement (name = "security_groups")
     List<NeutronSecurityGroup> securityGroups;
 
-    @XmlElement (name="allowed_address_pairs")
+    @XmlElement (name = "allowed_address_pairs")
     List<NeutronPort_AllowedAddressPairs> allowedAddressPairs;
 
-    @XmlElement (namespace= "binding", name="host_id")
+    @XmlElement (namespace = "binding", name = "host_id")
     String bindinghostID;
 
-    @XmlElement (namespace= "binding", name="vnic_type")
+    @XmlElement (namespace = "binding", name = "vnic_type")
     String bindingvnicType;
 
-    @XmlElement (namespace= "binding", name="vif_type")
+    @XmlElement (namespace = "binding", name = "vif_type")
     String bindingvifType;
 
 
index dad5154090ba9dfcbe307d2a35b4d9684e217f66..50507de5edc61a44b165a783431872217b0fc24d 100644 (file)
@@ -20,13 +20,13 @@ import javax.xml.bind.annotation.XmlRootElement;
 public class NeutronPort_AllowedAddressPairs implements Serializable {
     private static final long serialVersionUID = 1L;
 
-    @XmlElement (name="port_id")
+    @XmlElement (name = "port_id")
     String portID;
 
-    @XmlElement (name="mac_address")
+    @XmlElement (name = "mac_address")
     String macAddress;
 
-    @XmlElement (name="ip_address")
+    @XmlElement (name = "ip_address")
     String ipAddress;
 
     public NeutronPort_AllowedAddressPairs() {
index a7088e2f37983203c44cfde3c71cca764008ad4c..66c6e97e24c1f861b0a0c3b2b40afc2b978673bb 100644 (file)
@@ -26,31 +26,31 @@ public class NeutronRouter implements Serializable, INeutronObject {
 
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String routerUUID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String name;
 
-    @XmlElement (defaultValue="true", name="admin_state_up")
+    @XmlElement (defaultValue = "true", name = "admin_state_up")
     Boolean adminStateUp;
 
-    @XmlElement (name="status")
+    @XmlElement (name = "status")
     String status;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String tenantID;
 
-    @XmlElement (name="external_gateway_info", nillable=true)
+    @XmlElement (name = "external_gateway_info", nillable = true)
     NeutronRouter_NetworkReference externalGatewayInfo;
 
-    @XmlElement (name="distributed")
+    @XmlElement (name = "distributed")
     Boolean distributed;
 
-    @XmlElement (name="gw_port_id", nillable=true)
+    @XmlElement (name = "gw_port_id", nillable = true)
     String gatewayPortId;
 
-    @XmlElement (name="routes")
+    @XmlElement (name = "routes")
     List<String> routes;
 
     /* Holds a map of OpenStackRouterInterfaces by subnet UUID
index f5050b63b458ad3c0c89e8c4acfad15c84fb437f..254d3ae19f303b650f28f16cdd33f4e25421194f 100644 (file)
@@ -23,16 +23,16 @@ public class NeutronRouter_Interface implements Serializable {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement (name="subnet_id")
+    @XmlElement (name = "subnet_id")
     String subnetUUID;
 
-    @XmlElement (name="port_id")
+    @XmlElement (name = "port_id")
     String portUUID;
 
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String id;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String tenantID;
 
     public NeutronRouter_Interface() {
index d42bba2093269e7961e4469b4c21591b8ec4587a..639fd0899014cf5dc0dac4b5a69cc52d03160e92 100644 (file)
@@ -24,7 +24,7 @@ public class NeutronRouter_NetworkReference implements Serializable {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement(name="network_id")
+    @XmlElement(name = "network_id")
     String networkID;
 
     public NeutronRouter_NetworkReference() {
index 84d622c8725754300fdb5452e5f59826d6803d16..0fd77524daed71db18572e786282934fe387910c 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index f975bf7b2dd901e20db81bc23b80e39ab843e55f..60459aeaf7aceb14f61fdefac5e1d10fd97f059a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2014 Red Hat, Inc.
+ * Copyright (C) 2014 Red Hat, Inc.  All rights reserved.
  *
  * This program and the accompanying materials are made available under the
  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
index 9fce97eeba303531c93f5bf22b71bb6e4139b328..c6ab06d88d71e6283999bf242c957bfabfa87f09 100644 (file)
@@ -33,43 +33,43 @@ public class NeutronSubnet implements Serializable, INeutronObject {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement (name="id")
+    @XmlElement (name = "id")
     String subnetUUID;
 
-    @XmlElement (name="network_id")
+    @XmlElement (name = "network_id")
     String networkUUID;
 
-    @XmlElement (name="name")
+    @XmlElement (name = "name")
     String name;
 
-    @XmlElement (defaultValue="4", name="ip_version")
+    @XmlElement (defaultValue = "4", name = "ip_version")
     Integer ipVersion;
 
-    @XmlElement (name="cidr")
+    @XmlElement (name = "cidr")
     String cidr;
 
-    @XmlElement (name="gateway_ip")
+    @XmlElement (name = "gateway_ip")
     String gatewayIP;
 
-    @XmlElement (name="dns_nameservers")
+    @XmlElement (name = "dns_nameservers")
     List<String> dnsNameservers;
 
-    @XmlElement (name="allocation_pools")
+    @XmlElement (name = "allocation_pools")
     List<NeutronSubnet_IPAllocationPool> allocationPools;
 
-    @XmlElement (name="host_routes")
+    @XmlElement (name = "host_routes")
     List<NeutronSubnet_HostRoute> hostRoutes;
 
-    @XmlElement (defaultValue="true", name="enable_dhcp")
+    @XmlElement (defaultValue = "true", name = "enable_dhcp")
     Boolean enableDHCP;
 
-    @XmlElement (name="tenant_id")
+    @XmlElement (name = "tenant_id")
     String tenantID;
 
-    @XmlElement (name="ipv6_address_mode", nillable=true)
+    @XmlElement (name = "ipv6_address_mode", nillable = true)
     String ipV6AddressMode;
 
-    @XmlElement (name="ipv6_ra_mode", nillable=true)
+    @XmlElement (name = "ipv6_ra_mode", nillable = true)
     String ipV6RaMode;
 
     /* stores the OpenStackPorts associated with an instance
@@ -285,7 +285,7 @@ public class NeutronSubnet implements Serializable, INeutronObject {
                 // convert to byte array
                 byte[] addrBytes = ((Inet6Address) InetAddress.getByName(parts[0])).getAddress();
                 int i;
-                for (i=length; i<128; i++) { // offset is to ensure proper comparison
+                for (i = length; i < 128; i++) { // offset is to ensure proper comparison
                     if (((((int) addrBytes[i/8]) & 0x000000FF) & (1 << (7-(i%8)))) != 0) {
                         return(false);
                     }
@@ -411,7 +411,7 @@ public class NeutronSubnet implements Serializable, INeutronObject {
                 byte[] cidrBytes = ((Inet6Address) InetAddress.getByName(parts[0])).getAddress();
                 byte[] ipBytes =  ((Inet6Address) InetAddress.getByName(ipAddress)).getAddress();
                 int i;
-                for (i=0; i<length; i++) { // offset is to ensure proper comparison
+                for (i = 0; i < length; i++) { // offset is to ensure proper comparison
                     if (((((int) cidrBytes[i/8]) & 0x000000FF) & (1 << (7-(i%8)))) !=
                         ((((int) ipBytes[i/8]) & 0x000000FF) & (1 << (7-(i%8))))) {
                         return(false);
index 6e58a585c328a45e5b0d62e57c72c92427419aee..01ad97af1c02a6c0cbdc4891d3c9d308b702d258 100644 (file)
@@ -23,12 +23,15 @@ public class NeutronSubnet_HostRoute implements Serializable {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement(name="destination")
+    @XmlElement(name = "destination")
     String destination;
 
-    @XmlElement(name="nexthop")
+    @XmlElement(name = "nexthop")
     String nextHop;
 
+    /**
+     *  HostRoute constructor
+     */
     public NeutronSubnet_HostRoute() { }
 
     @Override
index c0c898d53c7718f39f9d5bbbc6ee5b6658ec9705..fcee54e3483a75b71ee8ab2a2bb933e6df2e239d 100644 (file)
@@ -28,10 +28,10 @@ public class NeutronSubnet_IPAllocationPool implements Serializable {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement(name="start")
+    @XmlElement(name = "start")
     String poolStart;
 
-    @XmlElement(name="end")
+    @XmlElement(name = "end")
     String poolEnd;
 
     public NeutronSubnet_IPAllocationPool() {
@@ -144,7 +144,7 @@ public class NeutronSubnet_IPAllocationPool implements Serializable {
     static String longToIP(long l) {
         int i;
         String[] parts = new String[4];
-        for (i=0; i<4; i++) {
+        for (i = 0; i < 4; i++) {
             parts[3-i] = String.valueOf(l & 255);
             l >>= 8;
         }
@@ -177,10 +177,10 @@ public class NeutronSubnet_IPAllocationPool implements Serializable {
         }
         StringBuilder sb = new StringBuilder();
         int i;
-        for(i=0;i<r.length-1;i++) {
-            sb.append(r[i]+d);
+        for(i = 0;i < r.length - 1;i++) {
+            sb.append(r[i] + d);
         }
-        return sb.toString()+r[i];
+        return sb.toString() + r[i];
     }
 
     /*
@@ -203,7 +203,7 @@ public class NeutronSubnet_IPAllocationPool implements Serializable {
         long i;
         NeutronSubnet_IPAllocationPool p = new NeutronSubnet_IPAllocationPool();
         boolean poolStarted = false;
-        for (i=sIP; i<=eIP; i++) {
+        for (i = sIP; i <= eIP; i++) {
             if (i == sIP) {
                 if (i != gIP) {
                     p.setPoolStart(poolStart);
index 759e3a303b4fce328ace6058f48771bba471190c..8e7a846c754585e8e96c2b094befcc55bfea2e52 100644 (file)
@@ -24,10 +24,10 @@ public class Neutron_IPs implements Serializable {
     // See OpenStack Network API v2.0 Reference for description of
     // annotated attributes
 
-    @XmlElement(name="ip_address")
+    @XmlElement(name = "ip_address")
     String ipAddress;
 
-    @XmlElement(name="subnet_id")
+    @XmlElement(name = "subnet_id")
     String subnetUUID;
 
     public Neutron_IPs() { }