X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FINeutronRouterCRUD.java;h=37b2c940e0fdf04cbb14eb3eb266d1738c21ce1d;hp=19be16d68e3a1cfba9b88f532c5248b5dd624cfb;hb=9c6e5e0b4e2ce18f73946f80f6a587261740e671;hpb=e40d69673c2529d99069a8a0bafb152a1c11c41a diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronRouterCRUD.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronRouterCRUD.java index 19be16d68e..37b2c940e0 100644 --- a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronRouterCRUD.java +++ b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronRouterCRUD.java @@ -1,93 +1,95 @@ -/* - * 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 - * - */ - -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 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); -} +/* + * 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 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); +}