public final class SfcScfOfUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
FLOW_PRIORITY_CLASSIFIER |
static int |
FLOW_PRIORITY_MATCH_ANY |
static short |
NSH_MDTYPE_ONE |
static short |
NSH_NP_ETH |
Modifier and Type | Method and Description |
---|---|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createClassifierInFlow(String flowKey,
SfcNshHeader sfcNshHeader,
Long outPort)
Get a FlowBuilder object w/ the classifier 'in' flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createClassifierMacChainingRelayFlow(String nodeName,
String flowKey,
String outPort,
Long pathId,
short startIndex,
short lastIndex)
create classifier relay flow for MAC Chaining.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createClassifierOutFlow(String flowKey,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match match,
SfcNshHeader sfcNshHeader,
Long outPort)
create classifier out flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createClassifierRelayFlow(String flowKey,
SfcNshHeader sfcNshHeader)
Get a FlowBuilder object w/ the classifier relay flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createMacChainClassifierInFlow(String nodeName,
String flowKey,
String outPort,
String gwMac,
Long pathId,
short startIndex)
create classifier out flow for MAC Chaining.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createMacChainClassifierOutFlow(String nodeName,
String flowKey,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match match,
String outPort,
Long pathId,
short startIndex)
create classifier out flow for MAC Chaining.
|
static boolean |
deleteClassifierFlow(String nodeName,
String flowKey)
delete classifier flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
initClassifierDpdkInputFlow(String nodeName,
Long inPort)
create classifier DPDK input flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
initClassifierDpdkOutputFlow(Long outPort)
create classifier DPDK output flow.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
initClassifierTable()
Get a FlowBuilder object that install the table-miss in the classifier
table.
|
public static final int FLOW_PRIORITY_CLASSIFIER
public static final int FLOW_PRIORITY_MATCH_ANY
public static final short NSH_MDTYPE_ONE
public static final short NSH_NP_ETH
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder initClassifierTable()
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder initClassifierDpdkOutputFlow(Long outPort)
outPort
- flow out portFlowBuilder
objectpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder initClassifierDpdkInputFlow(String nodeName, Long inPort)
nodeName
- flow table node nameinPort
- flow in portFlowBuilder
objectpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createClassifierOutFlow(String flowKey, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match match, SfcNshHeader sfcNshHeader, Long outPort)
flowKey
- flow keymatch
- flow matchsfcNshHeader
- nsh headeroutPort
- flow out portpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createClassifierInFlow(String flowKey, SfcNshHeader sfcNshHeader, Long outPort)
flowKey
- flow keysfcNshHeader
- nsh headeroutPort
- flow out portpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createClassifierRelayFlow(String flowKey, SfcNshHeader sfcNshHeader)
flowKey
- flow keysfcNshHeader
- nsh headerpublic static boolean deleteClassifierFlow(String nodeName, String flowKey)
nodeName
- flow table node nameflowKey
- flow keypublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createMacChainClassifierOutFlow(String nodeName, String flowKey, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.Match match, String outPort, Long pathId, short startIndex)
nodeName
- flow table node nameflowKey
- flow keymatch
- flow matchoutPort
- flow out portpathId
- chain path IDstartIndex
- Firt hop in the chainpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createClassifierMacChainingRelayFlow(String nodeName, String flowKey, String outPort, Long pathId, short startIndex, short lastIndex)
nodeName
- flow table node nameflowKey
- flow keyoutPort
- flow out portpathId
- chain path IDstartIndex
- Firt hop in the chainlastIndex
- Last hop in the chainpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createMacChainClassifierInFlow(String nodeName, String flowKey, String outPort, String gwMac, Long pathId, short startIndex)
nodeName
- flow table node nameflowKey
- flow keyoutPort
- flow out portgwMac
- Gateway MAC to recovery original MAC addressespathId
- chain path IDstartIndex
- Firt hop in the chainCopyright © 2017 OpenDaylight. All rights reserved.