public class OpenflowClassifierProcessor extends Object
| Constructor and Description |
|---|
OpenflowClassifierProcessor(org.opendaylight.controller.md.sal.binding.api.WriteTransaction theTx,
LogicallyAttachedClassifier theLogicClassifier,
BareClassifier theBareClassifier) |
| Modifier and Type | Method and Description |
|---|---|
List<FlowDetails> |
processAce(Optional<String> itfName,
ServiceFunctionForwarder theSff,
String theScfName,
String aclName,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace theAce)
Install an ACE entry, belonging to the given ACL, on the SFF identified
through the specified nodeName.
|
List<FlowDetails> |
processClassifier(SclServiceFunctionForwarder theClassifier,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl theAcl,
boolean addClassifierScenario)
Process an Scf object, adding or removing the OF rules into the
respective OVS This method is called on result of classifier addition /
removal.
|
List<FlowDetails> |
processClassifierList(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl theAcl,
boolean addClassifier,
List<SclServiceFunctionForwarder> classifierList)
Process a list of classifier switches objects, adding or removing flows
for the entire impacted RSP.
|
void |
refreshTransaction(org.opendaylight.controller.md.sal.binding.api.WriteTransaction theTx)
Handler method of the
class. |
public OpenflowClassifierProcessor(org.opendaylight.controller.md.sal.binding.api.WriteTransaction theTx,
LogicallyAttachedClassifier theLogicClassifier,
BareClassifier theBareClassifier)
public List<FlowDetails> processClassifierList(org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl theAcl, boolean addClassifier, List<SclServiceFunctionForwarder> classifierList)
theAcl - the ACL object to installaddClassifier - true when adding the classifier flows, false when deleting
themclassifierList - the list of SclServiceFunctionForwarder in which the
classifier flows will be installedpublic List<FlowDetails> processClassifier(SclServiceFunctionForwarder theClassifier, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.Acl theAcl, boolean addClassifierScenario)
theClassifier - the classifier node to be addedtheAcl - the ACL we want to install in the classifierFlowDetails having all the generated flows,
which will be later installedpublic List<FlowDetails> processAce(Optional<String> itfName, ServiceFunctionForwarder theSff, String theScfName, String aclName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace theAce)
theSff - the SFF to which the classifier is connectedtheScfName - the name of the classifieraclName - the name of the ACLitfName - the interface we want to classifytheAce - the ACEFlowDetails having all the generated flows,
which will be later installedpublic void refreshTransaction(org.opendaylight.controller.md.sal.binding.api.WriteTransaction theTx)
class.theTx - the new transaction being used by the OpenflowWriter to which
this class is subscribedCopyright © 2017 OpenDaylight. All rights reserved.