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 LoadBalancerHealthMonitor objects
18 public interface INeutronLoadBalancerHealthMonitorCRUD
19 extends INeutronCRUD<NeutronLoadBalancerHealthMonitor> {
21 * Applications call this interface method to determine if a particular
22 *LoadBalancerHealthMonitor object exists
25 * UUID of the LoadBalancerHealthMonitor object
29 boolean neutronLoadBalancerHealthMonitorExists(String uuid);
32 * Applications call this interface method to return if a particular
33 * LoadBalancerHealthMonitor object exists
36 * UUID of the LoadBalancerHealthMonitor object
37 * @return {@link NeutronLoadBalancerHealthMonitor}
38 * OpenStackLoadBalancerHealthMonitor class
41 NeutronLoadBalancerHealthMonitor getNeutronLoadBalancerHealthMonitor(String uuid);
44 * Applications call this interface method to return all LoadBalancerHealthMonitor objects
46 * @return List of OpenStackNetworks objects
49 List<NeutronLoadBalancerHealthMonitor> getAllNeutronLoadBalancerHealthMonitors();
52 * Applications call this interface method to add a LoadBalancerHealthMonitor object to the
56 * OpenStackNetwork object
57 * @return boolean on whether the object was added or not
60 boolean addNeutronLoadBalancerHealthMonitor(NeutronLoadBalancerHealthMonitor input);
63 * Applications call this interface method to remove a Neutron LoadBalancerHealthMonitor object to the
67 * identifier for the LoadBalancerHealthMonitor object
68 * @return boolean on whether the object was removed or not
71 boolean removeNeutronLoadBalancerHealthMonitor(String uuid);
74 * Applications call this interface method to edit a LoadBalancerHealthMonitor object
77 * identifier of the LoadBalancerHealthMonitor object
79 * OpenStackLoadBalancerHealthMonitor object containing changes to apply
80 * @return boolean on whether the object was updated or not
83 boolean updateNeutronLoadBalancerHealthMonitor(String uuid, NeutronLoadBalancerHealthMonitor delta);
86 * Applications call this interface method to see if a MAC address is in use
89 * identifier of the LoadBalancerHealthMonitor object
90 * @return boolean on whether the macAddress is already associated with a
94 boolean neutronLoadBalancerHealthMonitorInUse(String uuid);