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 INeutronVPNIPSECPolicyCRUD
14 extends INeutronCRUD<NeutronVPNIPSECPolicy> {
17 * Applications call this interface method to determine if a particular
18 *NeutronVPNIPSECPolicy object exists
21 * UUID of the NeutronVPNIPSECPolicy object
25 boolean neutronVPNIPSECPolicyExists(String uuid);
28 * Applications call this interface method to return if a particular
29 * NeutronVPNIPSECPolicy object exists
32 * UUID of the NeutronVPNIPSECPolicy object
33 * @return {@link org.opendaylight.neutron.spi.NeutronVPNIPSECPolicy}
34 * OpenStackNeutronVPNIPSECPolicy class
37 NeutronVPNIPSECPolicy getNeutronVPNIPSECPolicy(String uuid);
40 * Applications call this interface method to return all NeutronVPNIPSECPolicy objects
42 * @return List of OpenStackNetworks objects
45 List<NeutronVPNIPSECPolicy> getAllNeutronVPNIPSECPolicies();
48 * Applications call this interface method to add a NeutronVPNIPSECPolicy object to the
52 * OpenStackNetwork object
53 * @return boolean on whether the object was added or not
56 boolean addNeutronVPNIPSECPolicy(NeutronVPNIPSECPolicy input);
59 * Applications call this interface method to remove a Neutron NeutronVPNIPSECPolicy object to the
63 * identifier for the NeutronVPNIPSECPolicy object
64 * @return boolean on whether the object was removed or not
67 boolean removeNeutronVPNIPSECPolicy(String uuid);
70 * Applications call this interface method to edit a NeutronVPNIPSECPolicy object
73 * identifier of the NeutronVPNIPSECPolicy object
75 * OpenStackNeutronVPNIPSECPolicy object containing changes to apply
76 * @return boolean on whether the object was updated or not
79 boolean updateNeutronVPNIPSECPolicy(String uuid, NeutronVPNIPSECPolicy delta);
82 * Applications call this interface method to see if a MAC address is in use
85 * identifier of the NeutronVPNIPSECPolicy object
86 * @return boolean on whether the macAddress is already associated with a
90 boolean neutronVPNIPSECPolicyInUse(String uuid);