2 * Copyright (c) 2015 IBM Corporation and others. 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;
13 public interface INeutronMeteringLabelCRUD
14 extends INeutronCRUD<NeutronMeteringLabel> {
17 * Applications call this interface method to determine if a particular
18 *NeutronMeteringLabel object exists
21 * UUID of the NeutronMeteringLabel object
25 boolean neutronMeteringLabelExists(String uuid);
28 * Applications call this interface method to return if a particular
29 * NeutronMeteringLabel object exists
32 * UUID of the NeutronMeteringLabel object
33 * @return {@link org.opendaylight.neutron.spi.NeutronMeteringLabel}
34 * OpenStackNeutronMeteringLabel class
37 NeutronMeteringLabel getNeutronMeteringLabel(String uuid);
40 * Applications call this interface method to return all NeutronMeteringLabel objects
42 * @return List of OpenStackNetworks objects
45 List<NeutronMeteringLabel> getAllNeutronMeteringLabels();
48 * Applications call this interface method to add a NeutronMeteringLabel object to the
52 * OpenStackNetwork object
53 * @return boolean on whether the object was added or not
56 boolean addNeutronMeteringLabel(NeutronMeteringLabel input);
59 * Applications call this interface method to remove a Neutron NeutronMeteringLabel object to the
63 * identifier for the NeutronMeteringLabel object
64 * @return boolean on whether the object was removed or not
67 boolean removeNeutronMeteringLabel(String uuid);
70 * Applications call this interface method to edit a NeutronMeteringLabel object
73 * identifier of the NeutronMeteringLabel object
75 * OpenStackNeutronMeteringLabel object containing changes to apply
76 * @return boolean on whether the object was updated or not
79 boolean updateNeutronMeteringLabel(String uuid, NeutronMeteringLabel delta);
82 * Applications call this interface method to see if a MAC address is in use
85 * identifier of the NeutronMeteringLabel object
86 * @return boolean on whether the macAddress is already associated with a
90 boolean neutronMeteringLabelInUse(String uuid);