public interface SfcOfFlowProgrammerInterface
Modifier and Type | Method and Description |
---|---|
void |
configureArpTransportIngressFlow(String sffNodeName,
String mac) |
void |
configureClassifierTableDpdkInput(String sffNodeName,
Long inPort) |
void |
configureClassifierTableDpdkOutput(String sffNodeName,
Long outPort) |
void |
configureClassifierTableMatchAny(String sffNodeName) |
void |
configureGroup(String sffNodeName,
String openflowNodeId,
String sfgName,
long sfgId,
int groupType,
List<GroupBucketInfo> bucketInfos,
boolean isAddGroup) |
void |
configureGroupNextHopFlow(String sffNodeName,
long sfpId,
String srcMac,
long groupId,
String groupName) |
void |
configureIpv4TransportIngressFlow(String sffNodeName) |
void |
configureMacChainingNextHopFlow(String sffNodeName,
String vmac,
String dstSfMac,
String nextVMac,
boolean l2Tranparent) |
void |
configureMacChainingSfTransportEgressFlow(String sffNodeName,
String dstMac,
String port,
String vmac) |
void |
configureMacChainingTransportIngressFlow(String sffNodeName) |
void |
configureMacNextHopFlow(String sffNodeName,
long sfpId,
String srcMac,
String dstMac) |
void |
configureMplsLastHopTransportEgressFlow(String sffNodeName,
String srcMac,
String dstMac,
long mplsLabel,
String port,
long pathId) |
void |
configureMplsPathMapperFlow(String sffNodeName,
long label,
long pathId,
boolean isSf) |
void |
configureMplsTransportEgressFlow(String sffNodeName,
String srcMac,
String dstMac,
long mplsLabel,
String port,
long pathId) |
void |
configureMplsTransportIngressFlow(String sffNodeName) |
void |
configureNextHopTableMatchAny(String sffNodeName) |
void |
configureNshEthLastHopTransportEgressFlow(String sffNodeName,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress sffIpAddress,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress sfMacAddress,
long nshNsp,
short nshNsi)
Used by logical sff processor in order to write chain egress flows.
|
void |
configureNshEthNextHopFlow(String sffNodeName,
String srcMac,
String dstMac,
long nsp,
short nsi)
Configure nsh next hop flow.
|
void |
configureNshEthTransportEgressFlow(String sffOpenFlowNodeName,
long nshNsp,
short nshNsi,
List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> actionList,
String flowName)
Configure transport egress flows, using a list of externally provided
actions.
|
void |
configureNshEthTransportEgressFlow(String sffNodeName,
long nshNsp,
short nshNsi,
String port) |
void |
configureNshNscTransportEgressFlow(String sffNodeName,
long nshNsp,
short nshNsi,
String switchPort) |
void |
configureNshVxgpeAppCoexistTransportEgressFlow(String sffNodeName,
long nshNsp,
short nshNsi,
String sffIp) |
void |
configureNshVxgpeLastHopTransportEgressFlow(String sffNodeName,
long nshNsp,
short nshNsi,
String port) |
void |
configureNshVxgpeNextHopFlow(String sffNodeName,
String dstIp,
String nshProxyIp,
long nsp,
short nsi) |
void |
configureNshVxgpeSfLoopbackEncapsulatedEgressFlow(String sffNodeName,
String sfIp,
short vxlanUdpPort,
long sffPort) |
void |
configureNshVxgpeSfReturnLoopbackIngressFlow(String sffNodeName,
short vxlanUdpPort,
long sffPort) |
void |
configureNshVxgpeTransportEgressFlow(String sffNodeName,
long nshNsp,
short nshNsi,
String port) |
void |
configureNshVxgpeTransportIngressFlow(String sffNodeName,
long nshNsp,
short nshNsi) |
void |
configurePathMapperAclTableMatchAny(String sffNodeName) |
void |
configurePathMapperTableMatchAny(String sffNodeName) |
void |
configureTransportEgressTableMatchAny(String sffNodeName) |
void |
configureTransportEgressTableMatchAnyResubmit(String sffNodeName,
short nextTableId)
Set the match any flow in the Transport Egress table to resubmit.
|
void |
configureTransportIngressTableMatchAny(String sffNodeName) |
void |
configureTransportIngressTableMatchAnyResubmit(String sffNodeName,
short nextTableId) |
void |
configureVlanLastHopTransportEgressFlow(String sffNodeName,
String srcMac,
String dstMac,
int dstVlan,
String port,
long pathId) |
void |
configureVlanPathMapperFlow(String sffNodeName,
int vlan,
long pathId,
boolean isSf) |
void |
configureVlanSfTransportEgressFlow(String sffNodeName,
String srcMac,
String dstMac,
int dstVlan,
String port,
long pathId,
boolean doPktin) |
void |
configureVlanTransportEgressFlow(String sffNodeName,
String srcMac,
String dstMac,
int dstVlan,
String port,
long pathId) |
void |
configureVlanTransportIngressFlow(String sffNodeName) |
Set<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId> |
deleteRspFlows(long rspId)
Deletes all flows created for a particular RSP and removes initialization
flows from SFFs if the last RSP was removed.
|
void |
flushFlows() |
short |
getMaxTableOffset() |
short |
getTableBase() |
short |
getTableEgress() |
void |
purgeFlows() |
void |
setFlowRspId(Long rspId) |
void |
setFlowWriter(SfcOfFlowWriterInterface sfcOfFlowWriter) |
void |
setTableBase(short tableBase) |
void |
setTableEgress(short tableEgress) |
void |
setTableIndexMapper(SfcTableIndexMapper tableIndexMapper)
Setter for the table index mapper (class which provides the tables to use
for Genius-based application coexistence).
|
void |
shutdown() |
void shutdown() throws ExecutionException, InterruptedException
short getTableBase()
void setTableBase(short tableBase)
short getMaxTableOffset()
short getTableEgress()
void setTableEgress(short tableEgress)
void setFlowRspId(Long rspId)
Set<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId> deleteRspFlows(long rspId)
rspId
- the id of the RSP to be deletedvoid flushFlows()
void purgeFlows()
void setFlowWriter(SfcOfFlowWriterInterface sfcOfFlowWriter)
void configureIpv4TransportIngressFlow(String sffNodeName)
void configureVlanTransportIngressFlow(String sffNodeName)
void configureMacChainingTransportIngressFlow(String sffNodeName)
void configureNshVxgpeSfLoopbackEncapsulatedEgressFlow(String sffNodeName, String sfIp, short vxlanUdpPort, long sffPort)
void configureNshVxgpeSfReturnLoopbackIngressFlow(String sffNodeName, short vxlanUdpPort, long sffPort)
void configureNshVxgpeTransportIngressFlow(String sffNodeName, long nshNsp, short nshNsi)
void configureMplsTransportIngressFlow(String sffNodeName)
void configureArpTransportIngressFlow(String sffNodeName, String mac)
void configureMplsPathMapperFlow(String sffNodeName, long label, long pathId, boolean isSf)
void configureVlanPathMapperFlow(String sffNodeName, int vlan, long pathId, boolean isSf)
void configureMacNextHopFlow(String sffNodeName, long sfpId, String srcMac, String dstMac)
void configureGroupNextHopFlow(String sffNodeName, long sfpId, String srcMac, long groupId, String groupName)
void configureMacChainingNextHopFlow(String sffNodeName, String vmac, String dstSfMac, String nextVMac, boolean l2Tranparent)
void configureNshVxgpeNextHopFlow(String sffNodeName, String dstIp, String nshProxyIp, long nsp, short nsi)
void configureNshEthNextHopFlow(String sffNodeName, String srcMac, String dstMac, long nsp, short nsi)
sffNodeName
- The openflow node namesrcMac
- MAC address used by the openflow port to which the SF is
connecteddstMac
- MAC address used by the SFnsp
- the NSH NSPnsi
- the NSH NSIvoid configureVlanSfTransportEgressFlow(String sffNodeName, String srcMac, String dstMac, int dstVlan, String port, long pathId, boolean doPktin)
void configureVlanTransportEgressFlow(String sffNodeName, String srcMac, String dstMac, int dstVlan, String port, long pathId)
void configureMacChainingSfTransportEgressFlow(String sffNodeName, String dstMac, String port, String vmac)
void configureVlanLastHopTransportEgressFlow(String sffNodeName, String srcMac, String dstMac, int dstVlan, String port, long pathId)
void configureMplsTransportEgressFlow(String sffNodeName, String srcMac, String dstMac, long mplsLabel, String port, long pathId)
void configureMplsLastHopTransportEgressFlow(String sffNodeName, String srcMac, String dstMac, long mplsLabel, String port, long pathId)
void configureNshVxgpeTransportEgressFlow(String sffNodeName, long nshNsp, short nshNsi, String port)
void configureNshVxgpeAppCoexistTransportEgressFlow(String sffNodeName, long nshNsp, short nshNsi, String sffIp)
void configureNshVxgpeLastHopTransportEgressFlow(String sffNodeName, long nshNsp, short nshNsi, String port)
void configureNshNscTransportEgressFlow(String sffNodeName, long nshNsp, short nshNsi, String switchPort)
void configureNshEthTransportEgressFlow(String sffOpenFlowNodeName, long nshNsp, short nshNsi, List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> actionList, String flowName)
sffOpenFlowNodeName
- The openflow identifier for the node on which the flows are to
be writtennshNsp
- NSP to use in the match partnshNsi
- NSI to use in the match partactionList
- List of actions to use in the actions partflowName
- A unique flow name, also used as a flow keyvoid configureNshEthTransportEgressFlow(String sffNodeName, long nshNsp, short nshNsi, String port)
void configureClassifierTableMatchAny(String sffNodeName)
void configureTransportIngressTableMatchAny(String sffNodeName)
void configureTransportIngressTableMatchAnyResubmit(String sffNodeName, short nextTableId)
void configurePathMapperTableMatchAny(String sffNodeName)
void configurePathMapperAclTableMatchAny(String sffNodeName)
void configureNextHopTableMatchAny(String sffNodeName)
void configureTransportEgressTableMatchAny(String sffNodeName)
void configureTransportEgressTableMatchAnyResubmit(String sffNodeName, short nextTableId)
sffNodeName
- - the SFF to write the flow tonextTableId
- - the table to resubmitvoid configureClassifierTableDpdkOutput(String sffNodeName, Long outPort)
void configureClassifierTableDpdkInput(String sffNodeName, Long inPort)
void configureGroup(String sffNodeName, String openflowNodeId, String sfgName, long sfgId, int groupType, List<GroupBucketInfo> bucketInfos, boolean isAddGroup)
void configureNshEthLastHopTransportEgressFlow(String sffNodeName, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.IpAddress sffIpAddress, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress sfMacAddress, long nshNsp, short nshNsi)
sffNodeName
- last openflow node in the chainsffIpAddress
- the sff ip addresssfMacAddress
- the last sf mac addressnshNsp
- nsp for the matchnshNsi
- nsi for the matchvoid setTableIndexMapper(SfcTableIndexMapper tableIndexMapper)
tableIndexMapper
- The table index mapperCopyright © 2017 OpenDaylight. All rights reserved.