-/*\r
- * Copyright IBM Corporation, 2013. All rights reserved.\r
- *\r
- * This program and the accompanying materials are made available under the\r
- * terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
- * and is available at http://www.eclipse.org/legal/epl-v10.html\r
- */\r
-\r
-package org.opendaylight.controller.networkconfig.neutron;\r
-\r
-import java.util.List;\r
-\r
-/**\r
- * This interface defines the methods for CRUD of NB Subnet objects\r
- *\r
- */\r
-\r
-public interface INeutronSubnetCRUD {\r
- /**\r
- * Applications call this interface method to determine if a particular\r
- * Subnet object exists\r
- *\r
- * @param uuid\r
- * UUID of the Subnet object\r
- * @return boolean\r
- */\r
-\r
- public boolean subnetExists(String uuid);\r
-\r
- /**\r
- * Applications call this interface method to return if a particular\r
- * Subnet object exists\r
- *\r
- * @param uuid\r
- * UUID of the Subnet object\r
- * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronSubnet.OpenStackSubnets}\r
- * OpenStack Subnet class\r
- */\r
-\r
- public NeutronSubnet getSubnet(String uuid);\r
-\r
- /**\r
- * Applications call this interface method to return all Subnet objects\r
- *\r
- * @return List of OpenStackSubnets objects\r
- */\r
-\r
- public List<NeutronSubnet> getAllSubnets();\r
-\r
- /**\r
- * Applications call this interface method to add a Subnet object to the\r
- * concurrent map\r
- *\r
- * @param input\r
- * OpenStackSubnet object\r
- * @return boolean on whether the object was added or not\r
- */\r
-\r
- public boolean addSubnet(NeutronSubnet input);\r
-\r
- /**\r
- * Applications call this interface method to remove a Subnet object to the\r
- * concurrent map\r
- *\r
- * @param uuid\r
- * identifier for the Subnet object\r
- * @return boolean on whether the object was removed or not\r
- */\r
-\r
- public boolean removeSubnet(String uuid);\r
-\r
- /**\r
- * Applications call this interface method to edit a Subnet object\r
- *\r
- * @param uuid\r
- * identifier of the Subnet object\r
- * @param delta\r
- * OpenStackSubnet object containing changes to apply\r
- * @return boolean on whether the object was updated or not\r
- */\r
-\r
- public boolean updateSubnet(String uuid, NeutronSubnet delta);\r
-\r
- /**\r
- * Applications call this interface method to determine if a Subnet object\r
- * is use\r
- *\r
- * @param subnetUUID\r
- * identifier of the subnet object\r
- *\r
- * @return boolean on whether the subnet is in use or not\r
- */\r
-\r
- public boolean subnetInUse(String subnetUUID);\r
-}\r
+/*
+ * Copyright IBM Corporation, 2013. 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.controller.networkconfig.neutron;
+
+import java.util.List;
+
+/**
+ * This interface defines the methods for CRUD of NB Subnet objects
+ *
+ */
+
+public interface INeutronSubnetCRUD {
+ /**
+ * Applications call this interface method to determine if a particular
+ * Subnet object exists
+ *
+ * @param uuid
+ * UUID of the Subnet object
+ * @return boolean
+ */
+
+ public boolean subnetExists(String uuid);
+
+ /**
+ * Applications call this interface method to return if a particular
+ * Subnet object exists
+ *
+ * @param uuid
+ * UUID of the Subnet object
+ * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronSubnet.OpenStackSubnets}
+ * OpenStack Subnet class
+ */
+
+ public NeutronSubnet getSubnet(String uuid);
+
+ /**
+ * Applications call this interface method to return all Subnet objects
+ *
+ * @return List of OpenStackSubnets objects
+ */
+
+ public List<NeutronSubnet> getAllSubnets();
+
+ /**
+ * Applications call this interface method to add a Subnet object to the
+ * concurrent map
+ *
+ * @param input
+ * OpenStackSubnet object
+ * @return boolean on whether the object was added or not
+ */
+
+ public boolean addSubnet(NeutronSubnet input);
+
+ /**
+ * Applications call this interface method to remove a Subnet object to the
+ * concurrent map
+ *
+ * @param uuid
+ * identifier for the Subnet object
+ * @return boolean on whether the object was removed or not
+ */
+
+ public boolean removeSubnet(String uuid);
+
+ /**
+ * Applications call this interface method to edit a Subnet object
+ *
+ * @param uuid
+ * identifier of the Subnet object
+ * @param delta
+ * OpenStackSubnet object containing changes to apply
+ * @return boolean on whether the object was updated or not
+ */
+
+ public boolean updateSubnet(String uuid, NeutronSubnet delta);
+
+ /**
+ * Applications call this interface method to determine if a Subnet object
+ * is use
+ *
+ * @param subnetUUID
+ * identifier of the subnet object
+ *
+ * @return boolean on whether the subnet is in use or not
+ */
+
+ public boolean subnetInUse(String subnetUUID);
+}