2 * Copyright (C) 2014 Red Hat, Inc. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
9 package org.opendaylight.neutron.spi;
11 import java.util.List;
14 * This interface defines the methods for CRUD of NB OpenStack LoadBalancerPool objects
18 public interface INeutronLoadBalancerPoolCRUD extends INeutronCRUD<NeutronLoadBalancerPool> {
20 * Applications call this interface method to determine if a particular
21 *NeutronLoadBalancerPoolMember object exists
24 * UUID of the NeutronLoadBalancerPool object
26 * UUID of the NeutronLoadBalancerPoolMember object
30 boolean neutronLoadBalancerPoolMemberExists(String poolUuid, String uuid);
33 * Applications call this interface method to return if a particular
34 * NeutronLoadBalancerPoolMember object exists
37 * UUID of the NeutronLoadBalancerPool object
39 * UUID of the NeutronLoadBalancerPoolMember object
40 * @return {@link org.opendaylight.neutron.spi.NeutronLoadBalancerPoolMember}
41 * OpenStackNeutronLoadBalancerPoolMember class
44 NeutronLoadBalancerPoolMember getNeutronLoadBalancerPoolMember(String poolUuid, String uuid);
47 * Applications call this interface method to return all NeutronLoadBalancerPoolMember objects
50 * UUID of the NeutronLoadBalancerPool object
51 * @return List of OpenStackNetworks objects
54 List<NeutronLoadBalancerPoolMember> getAllNeutronLoadBalancerPoolMembers(String poolUuid);
57 * Applications call this interface method to add a NeutronLoadBalancerPoolMember object to the
61 * UUID of the NeutronLoadBalancerPool object
63 * OpenStackNetwork object
64 * @return boolean on whether the object was added or not
67 boolean addNeutronLoadBalancerPoolMember(String poolUuid, NeutronLoadBalancerPoolMember input);
70 * Applications call this interface method to remove a Neutron NeutronLoadBalancerPoolMember object to the
74 * UUID of the NeutronLoadBalancerPool object
76 * identifier for the NeutronLoadBalancerPoolMember object
77 * @return boolean on whether the object was removed or not
80 boolean removeNeutronLoadBalancerPoolMember(String poolUuid, String uuid);
83 * Applications call this interface method to edit a NeutronLoadBalancerPoolMember object
86 * identifier of the NeutronLoadBalancerPool object
88 * identifier of the NeutronLoadBalancerPoolMember object
90 * OpenStackNeutronLoadBalancerPoolMember object containing changes to apply
91 * @return boolean on whether the object was updated or not
94 boolean updateNeutronLoadBalancerPoolMember(String poolUuid, String uuid, NeutronLoadBalancerPoolMember delta);
97 * Applications call this interface method to see if a MAC address is in use
100 * identifier of the NeutronLoadBalancerPool object
102 * identifier of the NeutronLoadBalancerPoolMember object
103 * @return boolean on whether the macAddress is already associated with a
107 boolean neutronLoadBalancerPoolMemberInUse(String poolUuid, String uuid);