Merge "Refactor SubnetConfig"
[controller.git] / opendaylight / northbound / subnets / src / main / java / org / opendaylight / controller / subnets / northbound / SubnetConfigs.java
index 3361f1b3d29cfdf38527d0589774b9129cb278a3..31dd76faa52f4ed5c1ee07cbaa96960932d4ce73 100644 (file)
@@ -17,13 +17,14 @@ import javax.xml.bind.annotation.XmlRootElement;
 
 import org.opendaylight.controller.switchmanager.SubnetConfig;
 
-@XmlRootElement
+@XmlRootElement (name = "list")
 @XmlAccessorType(XmlAccessType.NONE)
 
 public class SubnetConfigs {
         @XmlElement
         List<SubnetConfig> subnetConfig;
         //To satisfy JAXB
+        @SuppressWarnings("unused")
         private SubnetConfigs() {
 
         }