2 * Copyright (c) 2015 Dell, Inc. 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.ovsdb.openstack.netvirt.sfc;
11 import org.opendaylight.ovsdb.openstack.netvirt.sfc.workaround.services.SfcClassifierService;
12 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev150317.access.lists.Acl;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.classifier.rev150105.classifiers.classifier.Bridges;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.classifier.rev150105.classifiers.classifier.bridges.Bridge;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.netvirt.sfc.classifier.rev150105.classifiers.classifier.sffs.Sff;
16 import org.osgi.framework.ServiceReference;
19 * Open vSwitch OpenFlow 1.3 Networking Provider for Netvirt SFC
22 public interface INetvirtSfcOF13Provider {
25 * Method installs the OF rules corresponding to rules within ACL
26 * on a given Service Function Forwarder. DataObject which is identified by InstanceIdentifier.
28 * @param bridge - Service Function Forwarder
29 * @param acl - Access list includes rules that need to be installed in a SFF.
31 void addClassifierRules(Bridge bridge, Acl acl);
32 void addClassifierRules(Bridges bridges, Acl acl);
35 * Method removes the OF rules corresponding to rules within ACL
36 * on a given Service Function Forwarder. DataObject which is identified by InstanceIdentifier.
38 * @param sff - Service Function Forwarder
39 * @param acl - Access list includes rules that need to be installed in a SFF.
41 void removeClassifierRules(Sff sff, Acl acl);
43 void addClassifierRules(Acl acl);
44 void removeClassifierRules(Acl acl);
46 void setSfcClassifierService(ISfcClassifierService sfcClassifierService);
47 public void setDependencies(ServiceReference serviceReference);