public class MacChainingProcessor extends Object implements ClassifierProcessorInterface
Constructor and Description |
---|
MacChainingProcessor(ClassifierHandler classifierHandler,
MacChainingClassifier macChainingClassifier,
boolean addClassifier) |
Modifier and Type | Method and Description |
---|---|
List<FlowDetails> |
processAceByProcessor(String nodeName,
ServiceFunctionForwarder theSff,
String theScfName,
String aclName,
String theIfName,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace theAce,
Optional<RspName> rspName)
Install an ACE entry, belonging to the given ACL, on the SFF identified through the specified nodeName.
|
protected List<FlowDetails> |
processReverseRsp(RspName theRspName,
String theScfName,
String theAclName,
String theNodeName,
String theRuleName,
long port,
ServiceFunctionForwarder theSff)
Add the classifier flows for reverse RSPs.
|
protected Optional<FlowDetails> |
processReverseRspRelayFlow(String nodeName,
String classifierName,
RspName reverseRspName,
String theFlowKey)
Return a FlowDetails object that represent the relay flow - i.e.
|
public MacChainingProcessor(ClassifierHandler classifierHandler, MacChainingClassifier macChainingClassifier, boolean addClassifier)
public List<FlowDetails> processAceByProcessor(String nodeName, ServiceFunctionForwarder theSff, String theScfName, String aclName, String theIfName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.access.control.list.rev160218.access.lists.acl.access.list.entries.Ace theAce, Optional<RspName> rspName)
processAceByProcessor
in interface ClassifierProcessorInterface
nodeName
- the compute node data-plane ID where the ACL is about to be writtentheSff
- the SFF to which the classifier is connectedtheScfName
- the name of the classifieraclName
- the name of the ACLtheIfName
- the interface we want to classifytheAce
- the ACEFlowDetails
having all the generated flows, which will be later installedprotected List<FlowDetails> processReverseRsp(RspName theRspName, String theScfName, String theAclName, String theNodeName, String theRuleName, long port, ServiceFunctionForwarder theSff)
theRspName
- the RSP from which we want to derive the reverse RSPtheScfName
- the name of the classifier who will process this reverse RSP traffictheAclName
- the name of the ACLtheNodeName
- the compute node name where we will install the classifier flows for the reverse RSPtheRuleName
- the name of the ACEport
- the output port of the classifier nodetheSff
- the SFF to which the classifier is connectedFlowDetails
having all the generated flows, which will be later installedprotected Optional<FlowDetails> processReverseRspRelayFlow(String nodeName, String classifierName, RspName reverseRspName, String theFlowKey)
nodeName
- the nodeName where the flow will be installed. Should be on the first SFF of the
chain - last of the reverse chain.classifierName
- the classifier namereverseRspName
- the reverse RSP nametheFlowKey
- the name of the analogous 'in' flowFlowDetails
object if possible, and empty Optional otherwiseCopyright © 2017 OpenDaylight. All rights reserved.