Merge "BUG 2412 - restconf @GET getModule(identifier,uri) method migration"
[controller.git] / opendaylight / networkconfiguration / neutron / src / main / java / org / opendaylight / controller / networkconfig / neutron / INeutronLoadBalancerPoolMemberCRUD.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
3  *
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
7  */
8
9 package org.opendaylight.controller.networkconfig.neutron;
10
11 import java.util.List;
12
13 /**
14  * This interface defines the methods for CRUD of NB OpenStack INeutronLoadBalancerPoolMemberCRUD objects
15  *
16  * @deprecated Replaced by {@link org.opendaylight.neutron.neutron.spi.INeutronLoadBalancerPoolMemberCRUD}
17  */
18
19 @Deprecated
20 public interface INeutronLoadBalancerPoolMemberCRUD {
21
22     /**
23      * Applications call this interface method to determine if a particular
24      *NeutronLoadBalancerPoolMember object exists
25      *
26      * @param uuid
27      *            UUID of the NeutronLoadBalancerPoolMember object
28      * @return boolean
29      */
30
31     public boolean neutronLoadBalancerPoolMemberExists(String uuid);
32
33     /**
34      * Applications call this interface method to return if a particular
35      * NeutronLoadBalancerPoolMember object exists
36      *
37      * @param uuid
38      *            UUID of the NeutronLoadBalancerPoolMember object
39      * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronLoadBalancerPoolMember}
40      *          OpenStackNeutronLoadBalancerPoolMember class
41      */
42
43     public NeutronLoadBalancerPoolMember getNeutronLoadBalancerPoolMember(String uuid);
44
45     /**
46      * Applications call this interface method to return all NeutronLoadBalancerPoolMember objects
47      *
48      * @return List of OpenStackNetworks objects
49      */
50
51     public List<NeutronLoadBalancerPoolMember> getAllNeutronLoadBalancerPoolMembers();
52
53     /**
54      * Applications call this interface method to add a NeutronLoadBalancerPoolMember object to the
55      * concurrent map
56      *
57      * @param input
58      *            OpenStackNetwork object
59      * @return boolean on whether the object was added or not
60      */
61
62     public boolean addNeutronLoadBalancerPoolMember(NeutronLoadBalancerPoolMember input);
63
64     /**
65      * Applications call this interface method to remove a Neutron NeutronLoadBalancerPoolMember object to the
66      * concurrent map
67      *
68      * @param uuid
69      *            identifier for the NeutronLoadBalancerPoolMember object
70      * @return boolean on whether the object was removed or not
71      */
72
73     public boolean removeNeutronLoadBalancerPoolMember(String uuid);
74
75     /**
76      * Applications call this interface method to edit a NeutronLoadBalancerPoolMember object
77      *
78      * @param uuid
79      *            identifier of the NeutronLoadBalancerPoolMember object
80      * @param delta
81      *            OpenStackNeutronLoadBalancerPoolMember object containing changes to apply
82      * @return boolean on whether the object was updated or not
83      */
84
85     public boolean updateNeutronLoadBalancerPoolMember(String uuid, NeutronLoadBalancerPoolMember delta);
86
87     /**
88      * Applications call this interface method to see if a MAC address is in use
89      *
90      * @param uuid
91      *            identifier of the NeutronLoadBalancerPoolMember object
92      * @return boolean on whether the macAddress is already associated with a
93      * port or not
94      */
95
96     public boolean neutronLoadBalancerPoolMemberInUse(String uuid);
97
98 }