X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FINeutronFloatingIPCRUD.java;h=e416ee7d2f31efb450fc4c6795a687c95eb25591;hb=d71e327e51db32e967f7ebcb186e148f37f28117;hp=7443deec6e9f97f19906574cd702b157918d3fc6;hpb=e40d69673c2529d99069a8a0bafb152a1c11c41a;p=controller.git diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronFloatingIPCRUD.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronFloatingIPCRUD.java index 7443deec6e..e416ee7d2f 100644 --- a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronFloatingIPCRUD.java +++ b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronFloatingIPCRUD.java @@ -1,83 +1,83 @@ -/* - * 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 FloatingIP objects - * - */ - -public interface INeutronFloatingIPCRUD { - /** - * Applications call this interface method to determine if a particular - * FloatingIP object exists - * - * @param uuid - * UUID of the FloatingIP object - * @return boolean - */ - - public boolean floatingIPExists(String uuid); - - /** - * Applications call this interface method to return if a particular - * FloatingIP object exists - * - * @param uuid - * UUID of the FloatingIP object - * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronFloatingIP.OpenStackFloatingIPs} - * OpenStack FloatingIP class - */ - - public NeutronFloatingIP getFloatingIP(String uuid); - - /** - * Applications call this interface method to return all FloatingIP objects - * - * @return a Set of OpenStackFloatingIPs objects - */ - - public List getAllFloatingIPs(); - - /** - * Applications call this interface method to add a FloatingIP object to the - * concurrent map - * - * @param input - * OpenStackFloatingIP object - * @return boolean on whether the object was added or not - */ - - public boolean addFloatingIP(NeutronFloatingIP input); - - /** - * Applications call this interface method to remove a FloatingIP object to the - * concurrent map - * - * @param uuid - * identifier for the FloatingIP object - * @return boolean on whether the object was removed or not - */ - - public boolean removeFloatingIP(String uuid); - - /** - * Applications call this interface method to edit a FloatingIP object - * - * @param uuid - * identifier of the FloatingIP object - * @param delta - * OpenStackFloatingIP object containing changes to apply - * @return boolean on whether the object was updated or not - */ - - public boolean updateFloatingIP(String uuid, NeutronFloatingIP delta); -} +/* + * 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 FloatingIP objects + * + */ + +public interface INeutronFloatingIPCRUD { + /** + * Applications call this interface method to determine if a particular + * FloatingIP object exists + * + * @param uuid + * UUID of the FloatingIP object + * @return boolean + */ + + public boolean floatingIPExists(String uuid); + + /** + * Applications call this interface method to return if a particular + * FloatingIP object exists + * + * @param uuid + * UUID of the FloatingIP object + * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronFloatingIP.OpenStackFloatingIPs} + * OpenStack FloatingIP class + */ + + public NeutronFloatingIP getFloatingIP(String uuid); + + /** + * Applications call this interface method to return all FloatingIP objects + * + * @return a Set of OpenStackFloatingIPs objects + */ + + public List getAllFloatingIPs(); + + /** + * Applications call this interface method to add a FloatingIP object to the + * concurrent map + * + * @param input + * OpenStackFloatingIP object + * @return boolean on whether the object was added or not + */ + + public boolean addFloatingIP(NeutronFloatingIP input); + + /** + * Applications call this interface method to remove a FloatingIP object to the + * concurrent map + * + * @param uuid + * identifier for the FloatingIP object + * @return boolean on whether the object was removed or not + */ + + public boolean removeFloatingIP(String uuid); + + /** + * Applications call this interface method to edit a FloatingIP object + * + * @param uuid + * identifier of the FloatingIP object + * @param delta + * OpenStackFloatingIP object containing changes to apply + * @return boolean on whether the object was updated or not + */ + + public boolean updateFloatingIP(String uuid, NeutronFloatingIP delta); +}