Use latest sfc-model
[netvirt.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.sffs.Sff;
13
14 /**
15  * Open vSwitch OpenFlow 1.3 Networking Provider for Netvirt SFC
16  * @author Arun Yerra
17  */
18 public interface INetvirtSfcOF13Provider {
19
20     /**
21      * Method installs the OF rules corresponding to rules within ACL
22      * on a given Service Function Forwarder. DataObject which is identified by InstanceIdentifier.
23      *
24      * @param sff - Service Function Forwarder
25      * @param acl - Access list includes rules that need to be installed in a SFF.
26      */
27     public void addClassifierRules(Sff sff, Acl acl);
28
29     /**
30      * Method removes the OF rules corresponding to rules within ACL
31      * on a given Service Function Forwarder. DataObject which is identified by InstanceIdentifier.
32      *
33      * @param sff - Service Function Forwarder
34      * @param acl - Access list includes rules that need to be installed in a SFF.
35      */
36     public void removeClassifierRules(Sff sff, Acl acl);
37 }