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%2FINeutronLoadBalancerPoolMemberCRUD.java;fp=opendaylight%2Fnetworkconfiguration%2Fneutron%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fnetworkconfig%2Fneutron%2FINeutronLoadBalancerPoolMemberCRUD.java;h=c1f5c7003ce87750d1cff33649e367eedbf94e4f;hp=0000000000000000000000000000000000000000;hb=6bdfe303cd11f54a9e4a8e2d64b81ed5f5d0d257;hpb=75ab6ca68d3af902bb48fdbd01df03214ff20454 diff --git a/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronLoadBalancerPoolMemberCRUD.java b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronLoadBalancerPoolMemberCRUD.java new file mode 100644 index 0000000000..c1f5c7003c --- /dev/null +++ b/opendaylight/networkconfiguration/neutron/src/main/java/org/opendaylight/controller/networkconfig/neutron/INeutronLoadBalancerPoolMemberCRUD.java @@ -0,0 +1,91 @@ +/* + * Copyright (C) 2014 Red Hat, Inc. + * + * 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; + +public interface INeutronLoadBalancerPoolMemberCRUD { + + /** + * Applications call this interface method to determine if a particular + *NeutronLoadBalancerPoolMember object exists + * + * @param uuid + * UUID of the NeutronLoadBalancerPoolMember object + * @return boolean + */ + + public boolean neutronLoadBalancerPoolMemberExists(String uuid); + + /** + * Applications call this interface method to return if a particular + * NeutronLoadBalancerPoolMember object exists + * + * @param uuid + * UUID of the NeutronLoadBalancerPoolMember object + * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronLoadBalancerPoolMember} + * OpenStackNeutronLoadBalancerPoolMember class + */ + + public NeutronLoadBalancerPoolMember getNeutronLoadBalancerPoolMember(String uuid); + + /** + * Applications call this interface method to return all NeutronLoadBalancerPoolMember objects + * + * @return List of OpenStackNetworks objects + */ + + public List getAllNeutronLoadBalancerPoolMembers(); + + /** + * Applications call this interface method to add a NeutronLoadBalancerPoolMember object to the + * concurrent map + * + * @param input + * OpenStackNetwork object + * @return boolean on whether the object was added or not + */ + + public boolean addNeutronLoadBalancerPoolMember(NeutronLoadBalancerPoolMember input); + + /** + * Applications call this interface method to remove a Neutron NeutronLoadBalancerPoolMember object to the + * concurrent map + * + * @param uuid + * identifier for the NeutronLoadBalancerPoolMember object + * @return boolean on whether the object was removed or not + */ + + public boolean removeNeutronLoadBalancerPoolMember(String uuid); + + /** + * Applications call this interface method to edit a NeutronLoadBalancerPoolMember object + * + * @param uuid + * identifier of the NeutronLoadBalancerPoolMember object + * @param delta + * OpenStackNeutronLoadBalancerPoolMember object containing changes to apply + * @return boolean on whether the object was updated or not + */ + + public boolean updateNeutronLoadBalancerPoolMember(String uuid, NeutronLoadBalancerPoolMember delta); + + /** + * Applications call this interface method to see if a MAC address is in use + * + * @param uuid + * identifier of the NeutronLoadBalancerPoolMember object + * @return boolean on whether the macAddress is already associated with a + * port or not + */ + + public boolean neutronLoadBalancerPoolMemberInUse(String uuid); + +} \ No newline at end of file