-/*\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 Router objects\r
- *\r
- */\r
-\r
-public interface INeutronRouterCRUD {\r
- /**\r
- * Applications call this interface method to determine if a particular\r
- * Router object exists\r
- *\r
- * @param uuid\r
- * UUID of the Router object\r
- * @return boolean\r
- */\r
-\r
- public boolean routerExists(String uuid);\r
-\r
- /**\r
- * Applications call this interface method to return if a particular\r
- * Router object exists\r
- *\r
- * @param uuid\r
- * UUID of the Router object\r
- * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronRouter.OpenStackRouters}\r
- * OpenStack Router class\r
- */\r
-\r
- public NeutronRouter getRouter(String uuid);\r
-\r
- /**\r
- * Applications call this interface method to return all Router objects\r
- *\r
- * @return List of OpenStackRouters objects\r
- */\r
-\r
- public List<NeutronRouter> getAllRouters();\r
-\r
- /**\r
- * Applications call this interface method to add a Router object to the\r
- * concurrent map\r
- *\r
- * @param input\r
- * OpenStackRouter object\r
- * @return boolean on whether the object was added or not\r
- */\r
-\r
- public boolean addRouter(NeutronRouter input);\r
-\r
- /**\r
- * Applications call this interface method to remove a Router object to the\r
- * concurrent map\r
- *\r
- * @param uuid\r
- * identifier for the Router object\r
- * @return boolean on whether the object was removed or not\r
- */\r
-\r
- public boolean removeRouter(String uuid);\r
-\r
- /**\r
- * Applications call this interface method to edit a Router object\r
- *\r
- * @param uuid\r
- * identifier of the Router object\r
- * @param delta\r
- * OpenStackRouter object containing changes to apply\r
- * @return boolean on whether the object was updated or not\r
- */\r
-\r
- public boolean updateRouter(String uuid, NeutronRouter delta);\r
-\r
- /**\r
- * Applications call this interface method to check if a router is in use\r
- *\r
- * @param uuid\r
- * identifier of the Router object\r
- * @return boolean on whether the router is in use or not\r
- */\r
-\r
- public boolean routerInUse(String routerUUID);\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 Router objects
+ *
+ * @deprecated Replaced by {@link org.opendaylight.neutron.neutron.spi.INeutronRouterCRUD}
+ */
+
+@Deprecated
+public interface INeutronRouterCRUD {
+ /**
+ * Applications call this interface method to determine if a particular
+ * Router object exists
+ *
+ * @param uuid
+ * UUID of the Router object
+ * @return boolean
+ */
+
+ public boolean routerExists(String uuid);
+
+ /**
+ * Applications call this interface method to return if a particular
+ * Router object exists
+ *
+ * @param uuid
+ * UUID of the Router object
+ * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronRouter.OpenStackRouters}
+ * OpenStack Router class
+ */
+
+ public NeutronRouter getRouter(String uuid);
+
+ /**
+ * Applications call this interface method to return all Router objects
+ *
+ * @return List of OpenStackRouters objects
+ */
+
+ public List<NeutronRouter> getAllRouters();
+
+ /**
+ * Applications call this interface method to add a Router object to the
+ * concurrent map
+ *
+ * @param input
+ * OpenStackRouter object
+ * @return boolean on whether the object was added or not
+ */
+
+ public boolean addRouter(NeutronRouter input);
+
+ /**
+ * Applications call this interface method to remove a Router object to the
+ * concurrent map
+ *
+ * @param uuid
+ * identifier for the Router object
+ * @return boolean on whether the object was removed or not
+ */
+
+ public boolean removeRouter(String uuid);
+
+ /**
+ * Applications call this interface method to edit a Router object
+ *
+ * @param uuid
+ * identifier of the Router object
+ * @param delta
+ * OpenStackRouter object containing changes to apply
+ * @return boolean on whether the object was updated or not
+ */
+
+ public boolean updateRouter(String uuid, NeutronRouter delta);
+
+ /**
+ * Applications call this interface method to check if a router is in use
+ *
+ * @param uuid
+ * identifier of the Router object
+ * @return boolean on whether the router is in use or not
+ */
+
+ public boolean routerInUse(String routerUUID);
+}