2 * Copyright (c) 2017 Intel Corporation. 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;
12 * This interface defines the methods for CRUD of NB OpenStack Tap Flow objects.
15 public interface INeutronTapFlowCRUD extends INeutronCRUD<NeutronTapFlow> {
17 * Applications call this interface method to check if a NeutronTapFlow object exists.
19 * @param tapServiceUUID
23 * @return boolean on whether the object was added or not
26 boolean tapFlowExists(String tapServiceUUID, String tapFlowUUID);
29 * Applications call this interface method to get a NeutronTapFlow object.
31 * @param tapServiceUUID
35 * @return NeutronTapFlow object
38 NeutronTapFlow getTapFlow(String tapServiceUUID, String tapFlowUUID);
41 * Applications call this interface method to add a NeutronTapFlow object to the
45 * OpenStackNetwork object
46 * @return boolean on whether the object was added or not
49 boolean addTapFlow(NeutronTapFlow input);
52 * Applications call this interface method to update a NeutronTapFlow object to the
56 * OpenStackNetwork object
57 * @return boolean on whether the object was added or not
60 boolean updateTapFlow(NeutronTapFlow input);
63 * Applications call this interface method to delete a NeutronTapFlow object.
65 * @param tapServiceUUID
69 * @return boolean on whether the object was added or not
72 boolean deleteTapFlow(String tapServiceUUID, String tapFlowUUID);