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
8 package org.opendaylight.neutron.spi;
10 import java.util.List;
13 * This interface defines the methods for CRUD of NB OpenStack LoadBalancerPool objects.
15 public interface INeutronLoadBalancerPoolCRUD extends INeutronCRUD<NeutronLoadBalancerPool> {
18 * Applications call this interface method to determine if a particular
19 * NeutronLoadBalancerPoolMember object exists.
22 * UUID of the NeutronLoadBalancerPool object
24 * UUID of the NeutronLoadBalancerPoolMember object
27 boolean neutronLoadBalancerPoolMemberExists(String poolUuid, String uuid);
30 * Applications call this interface method to return if a particular
31 * NeutronLoadBalancerPoolMember object exists.
34 * UUID of the NeutronLoadBalancerPool object
36 * UUID of the NeutronLoadBalancerPoolMember object
37 * @return {@link org.opendaylight.neutron.spi.NeutronLoadBalancerPoolMember}
38 * OpenStackNeutronLoadBalancerPoolMember class
40 NeutronLoadBalancerPoolMember getNeutronLoadBalancerPoolMember(String poolUuid, String uuid);
43 * Applications call this interface method to return all NeutronLoadBalancerPoolMember objects.
46 * UUID of the NeutronLoadBalancerPool object
47 * @return List of OpenStackNetworks objects
49 List<NeutronLoadBalancerPoolMember> getAllNeutronLoadBalancerPoolMembers(String poolUuid);
52 * Applications call this interface method to add a NeutronLoadBalancerPoolMember object to the
56 * UUID of the NeutronLoadBalancerPool object
58 * OpenStackNetwork object
59 * @return boolean on whether the object was added or not
61 boolean addNeutronLoadBalancerPoolMember(String poolUuid, NeutronLoadBalancerPoolMember input);
64 * Applications call this interface method to remove a Neutron NeutronLoadBalancerPoolMember object to the
68 * UUID of the NeutronLoadBalancerPool object
70 * identifier for the NeutronLoadBalancerPoolMember object
71 * @return boolean on whether the object was removed or not
73 boolean removeNeutronLoadBalancerPoolMember(String poolUuid, String uuid);
76 * Applications call this interface method to edit a NeutronLoadBalancerPoolMember object.
79 * identifier of the NeutronLoadBalancerPool object
81 * identifier of the NeutronLoadBalancerPoolMember object
83 * OpenStackNeutronLoadBalancerPoolMember object containing changes to apply
84 * @return boolean on whether the object was updated or not
86 boolean updateNeutronLoadBalancerPoolMember(String poolUuid, String uuid, NeutronLoadBalancerPoolMember delta);
89 * Applications call this interface method to see if a MAC address is in use.
92 * identifier of the NeutronLoadBalancerPool object
94 * identifier of the NeutronLoadBalancerPoolMember object
95 * @return boolean on whether the macAddress is already associated with a
98 boolean neutronLoadBalancerPoolMemberInUse(String poolUuid, String uuid);