Fix netvirtsfc flows
[ovsdb.git] / openstack / net-virt-sfc / impl / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / sfc / openflow13 / INetvirtSfcOF13Provider.java
1 /*
2  * Copyright (c) 2015 Dell, Inc. and others. All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.ovsdb.openstack.netvirt.sfc.openflow13;
10
11 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev150317.access.lists.Acl;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.classifier.rev150105.classifiers.classifier.bridges.Bridge;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.classifier.rev150105.classifiers.classifier.sffs.Sff;
14
15 /**
16  * Open vSwitch OpenFlow 1.3 Networking Provider for Netvirt SFC
17  * @author Arun Yerra
18  */
19 public interface INetvirtSfcOF13Provider {
20
21     /**
22      * Method installs the OF rules corresponding to rules within ACL
23      * on a given Service Function Forwarder. DataObject which is identified by InstanceIdentifier.
24      *
25      * @param sff - Service Function Forwarder
26      * @param acl - Access list includes rules that need to be installed in a SFF.
27      */
28     public void addClassifierRules(Sff sff, Acl acl);
29     public void addClassifierRules(Bridge bridge, Acl acl);
30
31     /**
32      * Method removes the OF rules corresponding to rules within ACL
33      * on a given Service Function Forwarder. DataObject which is identified by InstanceIdentifier.
34      *
35      * @param sff - Service Function Forwarder
36      * @param acl - Access list includes rules that need to be installed in a SFF.
37      */
38     public void removeClassifierRules(Sff sff, Acl acl);
39 }