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
8 package org.opendaylight.neutron.spi;
11 * This interface defines the methods for CRUD of NB OpenStack Tap Flow objects.
13 public interface INeutronTapFlowCRUD extends INeutronCRUD<NeutronTapFlow> {
16 * Applications call this interface method to check if a NeutronTapFlow object exists.
18 * @param tapServiceUUID
22 * @return boolean on whether the object was added or not
25 boolean tapFlowExists(String tapServiceUUID, String tapFlowUUID);
28 * Applications call this interface method to get a NeutronTapFlow object.
30 * @param tapServiceUUID
34 * @return NeutronTapFlow object
37 NeutronTapFlow getTapFlow(String tapServiceUUID, String tapFlowUUID);
40 * Applications call this interface method to add a NeutronTapFlow object to the
44 * OpenStackNetwork object
45 * @return boolean on whether the object was added or not
48 boolean addTapFlow(NeutronTapFlow input);
51 * Applications call this interface method to update a NeutronTapFlow object to the
55 * OpenStackNetwork object
56 * @return boolean on whether the object was added or not
59 boolean updateTapFlow(NeutronTapFlow input);
62 * Applications call this interface method to delete a NeutronTapFlow object.
64 * @param tapServiceUUID
68 * @return boolean on whether the object was added or not
71 boolean deleteTapFlow(String tapServiceUUID, String tapFlowUUID);