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 public interface INeutronLoadBalancerPoolMemberCRUD {
14
15     /**
16      * Applications call this interface method to determine if a particular
17      *NeutronLoadBalancerPoolMember object exists
18      *
19      * @param uuid
20      *            UUID of the NeutronLoadBalancerPoolMember object
21      * @return boolean
22      */
23
24     public boolean neutronLoadBalancerPoolMemberExists(String uuid);
25
26     /**
27      * Applications call this interface method to return if a particular
28      * NeutronLoadBalancerPoolMember object exists
29      *
30      * @param uuid
31      *            UUID of the NeutronLoadBalancerPoolMember object
32      * @return {@link org.opendaylight.controller.networkconfig.neutron.NeutronLoadBalancerPoolMember}
33      *          OpenStackNeutronLoadBalancerPoolMember class
34      */
35
36     public NeutronLoadBalancerPoolMember getNeutronLoadBalancerPoolMember(String uuid);
37
38     /**
39      * Applications call this interface method to return all NeutronLoadBalancerPoolMember objects
40      *
41      * @return List of OpenStackNetworks objects
42      */
43
44     public List<NeutronLoadBalancerPoolMember> getAllNeutronLoadBalancerPoolMembers();
45
46     /**
47      * Applications call this interface method to add a NeutronLoadBalancerPoolMember object to the
48      * concurrent map
49      *
50      * @param input
51      *            OpenStackNetwork object
52      * @return boolean on whether the object was added or not
53      */
54
55     public boolean addNeutronLoadBalancerPoolMember(NeutronLoadBalancerPoolMember input);
56
57     /**
58      * Applications call this interface method to remove a Neutron NeutronLoadBalancerPoolMember object to the
59      * concurrent map
60      *
61      * @param uuid
62      *            identifier for the NeutronLoadBalancerPoolMember object
63      * @return boolean on whether the object was removed or not
64      */
65
66     public boolean removeNeutronLoadBalancerPoolMember(String uuid);
67
68     /**
69      * Applications call this interface method to edit a NeutronLoadBalancerPoolMember object
70      *
71      * @param uuid
72      *            identifier of the NeutronLoadBalancerPoolMember object
73      * @param delta
74      *            OpenStackNeutronLoadBalancerPoolMember object containing changes to apply
75      * @return boolean on whether the object was updated or not
76      */
77
78     public boolean updateNeutronLoadBalancerPoolMember(String uuid, NeutronLoadBalancerPoolMember delta);
79
80     /**
81      * Applications call this interface method to see if a MAC address is in use
82      *
83      * @param uuid
84      *            identifier of the NeutronLoadBalancerPoolMember object
85      * @return boolean on whether the macAddress is already associated with a
86      * port or not
87      */
88
89     public boolean neutronLoadBalancerPoolMemberInUse(String uuid);
90
91 }