public class LogicallyAttachedClassifier extends Object implements ClassifierInterface
Constructor and Description |
---|
LogicallyAttachedClassifier(LogicalClassifierDataGetter theDataGetter) |
Modifier and Type | Method and Description |
---|---|
FlowDetails |
createClassifierInFlow(String flowKey,
SfcNshHeader sfcNshHeader,
Long outPort,
String nodeName) |
FlowDetails |
createClassifierOutFlow(String flowKey,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match match,
SfcNshHeader sfcNshHeader,
String classifierNodeName)
Create the flows for the genius integrated classifier.
|
FlowDetails |
createClassifierRelayFlow(String flowKey,
SfcNshHeader sfcNshHeader,
String nodeName) |
List<FlowDetails> |
createDpdkFlows(String nodeName,
long rspPathId) |
Optional<Long> |
getInPort(String ifName,
String nodeName)
Get the input openflow port, given an interface name, and a nodeName, if
any.
|
Optional<String> |
getNodeName(String theInterfaceName)
Get the name of the compute node connected to the supplied interfaceName.
|
FlowDetails |
initClassifierTable(String nodeName) |
public LogicallyAttachedClassifier(LogicalClassifierDataGetter theDataGetter)
public FlowDetails initClassifierTable(String nodeName)
initClassifierTable
in interface ClassifierInterface
public FlowDetails createClassifierOutFlow(String flowKey, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match match, SfcNshHeader sfcNshHeader, String classifierNodeName)
createClassifierOutFlow
in interface ClassifierInterface
flowKey
- the key for the flow objectsmatch
- the Match objectsfcNshHeader
- all related NSH info is encapsulated within this objectclassifierNodeName
- the node name of the classifier (ex: "openflow:dpnID")public FlowDetails createClassifierInFlow(String flowKey, SfcNshHeader sfcNshHeader, Long outPort, String nodeName)
createClassifierInFlow
in interface ClassifierInterface
public FlowDetails createClassifierRelayFlow(String flowKey, SfcNshHeader sfcNshHeader, String nodeName)
createClassifierRelayFlow
in interface ClassifierInterface
public List<FlowDetails> createDpdkFlows(String nodeName, long rspPathId)
createDpdkFlows
in interface ClassifierInterface
public Optional<String> getNodeName(String theInterfaceName)
getNodeName
in interface ClassifierInterface
theInterfaceName
- the interface name.public Optional<Long> getInPort(String ifName, String nodeName)
getInPort
in interface ClassifierInterface
ifName
- the name of the neutron portnodeName
- the name of the node (ex: "openflow:xxx")Copyright © 2017 OpenDaylight. All rights reserved.