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