public final class SfcOpenflowUtils extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ARP_REPLY |
static int |
ARP_REQUEST |
static int |
ETHERTYPE_ARP |
static int |
ETHERTYPE_IPV4 |
static int |
ETHERTYPE_IPV6 |
static int |
ETHERTYPE_MPLS_MCAST |
static int |
ETHERTYPE_MPLS_UCAST |
static int |
ETHERTYPE_NSH |
static int |
ETHERTYPE_VLAN |
static short |
IP_PROTOCOL_ICMP |
static short |
IP_PROTOCOL_SCTP |
static short |
IP_PROTOCOL_TCP |
static short |
IP_PROTOCOL_UDP |
static int |
PKT_LENGTH_IP_HEADER |
static int |
TCP_FLAG_SYN |
Modifier and Type | Method and Description |
---|---|
static void |
addMatchArpRequest(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match) |
static void |
addMatchArpRequestAndTpa(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String requestedIp) |
static void |
addMatchDscp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
short dscpVal) |
static void |
addMatchDstIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix dstIp) |
static void |
addMatchDstIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String dstIpStr,
int netmask) |
static void |
addMatchDstIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix dstIp) |
static void |
addMatchDstIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String dstIpStr,
int netmask) |
static void |
addMatchDstMac(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String dstMac) |
static void |
addMatchDstSctpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int portNum) |
static void |
addMatchDstTcpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int portNum) |
static void |
addMatchDstUdpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int portNum) |
static void |
addMatchEncapEthDst(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String mac) |
static void |
addMatchEncapEthSrc(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String mac) |
static void |
addMatchEncapEthType(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int ethType) |
static void |
addMatchEtherType(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
long etherType)
Add an etherType match to an existing MatchBuilder.
|
static void |
addMatchInPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnId) |
static void |
addMatchInPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId,
long inPort) |
static void |
addMatchInPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String nodeName,
int value) |
static void |
addMatchIpProtocol(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
short ipProtocol) |
static void |
addMatchMetada(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
BigInteger metadataValue,
BigInteger metadataMask) |
static void |
addMatchMplsLabel(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
long label) |
static void |
addMatchNshMdtype(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
short nshMdtype) |
static void |
addMatchNshNp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
short nshNp) |
static void |
addMatchNshNsc1(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
long nsc) |
static void |
addMatchNshNsc2(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
long nsc) |
static void |
addMatchNshNsi(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
short nsi) |
static void |
addMatchNshNsp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
long nsp) |
static void |
addMatchReg0(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int value) |
static void |
addMatchSrcIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix srcIp) |
static void |
addMatchSrcIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String srcIpStr,
int netmask) |
static void |
addMatchSrcIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix srcIp) |
static void |
addMatchSrcIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String srcIpStr,
int netmask) |
static void |
addMatchSrcMac(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
String srcMac) |
static void |
addMatchSrcSctpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int portNum) |
static void |
addMatchSrcTcpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int portNum) |
static void |
addMatchSrcUdpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int portNum) |
static void |
addMatchTcpSyn(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match) |
static void |
addMatchTunGpeNp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
short tunGpeNp) |
static void |
addMatchVlan(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
int vlan) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder |
appendGotoTableInstruction(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb,
short nextTableId)
Creates a GotoTable instruction, and appends it to the supplied
InstructionsBuilder object.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder |
appendMetadataInstruction(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb,
BigInteger theMetadata,
BigInteger metadataMask)
Creates a WriteMetadata instruction, and appends it to the supplied
InstructionsBuilder object.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionDecNwTtl(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionDropPacket(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.go.to.table._case.GoToTableBuilder |
createActionGotoTable(short toTable) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNormal(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadArpOpAction(int value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadArpShaAction(String mac,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadArpSpaAction(String ip,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadEncapEthDst(String mac,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadEncapEthSrc(String value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNshc1(long value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNshc2(long value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNshc3(long value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNshc4(long value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNshMdtype(short value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNshNp(short value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNsi(short value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadNsp(int value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadReg0(int value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadTunGpeNp(short value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadTunId(long value,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxLoadTunIpv4Dst(String ipStr,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveArpShaToArpThaAction(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveArpSpaToArpTpaAction(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveArpTpaToRegAction(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveEthDstToEncapEthDst(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveEthSrcToEncapEthSrc(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveEthSrcToEthDstAction(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsc1(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsc1ToTunIpv4DstRegister(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsc2(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsc2ToTunIdRegister(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsc3(int order)
Create action to move NSH C3.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsc4(int order)
Create action to move NSH C4.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNshMdtype(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNshNp(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsi(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveNsp(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveRegToArpSpaAction(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveTunGpeNp(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveTunIdRegister(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxMoveTunIpv4Dst(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxPopNsh(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxPushNsh(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxResubmit(int inPort,
short table,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetNshc1(Long c1,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetNshc2(Long c2,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetNshc3(Long c3,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetNshc4(Long c4,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetNsi(Short nsi,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetNsp(Long nsp,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionNxSetTunIpv4Dst(String ipStr,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionOutPort(int portUri,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionOutPort(String portUri,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionPktIn(int pktLength,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionPopMpls(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionPopVlan(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionPushMpls(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionPushVlan(int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionResubmitTable(short toTable,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionSetDlDst(String dstMac,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionSetDlSrc(String srcMac,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionSetEtherType(long etherType,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionSetMplsLabel(long label,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionSetNwDst(String ipStr,
int netmask,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionSetVlanId(int vlan,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionBuilder |
createActionsInstructionBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action... actions) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action |
createActionWriteDscp(short dscpVal,
int order) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction |
createAddMetadataInstruction(BigInteger theMetadata,
BigInteger metadataMask,
int order)
Create a WriteMetadata instruction.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createFlowBuilder(short table,
int priority,
BigInteger cookieValue,
String flowName,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder |
createFlowBuilder(short table,
int priority,
String flowName,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> |
createFlowPath(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table> table,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
Creates a path for particular flow, by appending flow-specific
information to table path.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> |
createFlowPath(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table> table,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey)
Creates a path for particular flow, by appending flow-specific
information to table path.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction |
createGotoTableInstruction(short nextTableId,
int order)
Create a GotoTable instruction.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.group.action._case.GroupActionBuilder |
createGroupAction(long groupId) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.WriteMetadataCase |
createInstructionMetadata(int order,
BigInteger metadataVal,
BigInteger metadataMask) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder |
createInstructionsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionBuilder... ibs) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder |
createInstructionsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionBuilder ib) |
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> |
createNodePath(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
Creates an Instance Identifier (path) for node with specified id.
|
static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table> |
createTablePath(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId,
short tableId)
Creates a table path from a node ID and table ID.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder |
getNshMatches(long nsp)
Create a MatchBuilder object that builds matches for the given NSP.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder |
getNshMatches(long nsp,
short nsi)
Create a MatchBuilder object that builds matches for the given NSP and
NSI.
|
static boolean |
isSffOpenFlowCapable(String sffName) |
static String |
macStringFromBigInteger(BigInteger value) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action |
nxLoadRegAction(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.dst.choice.grouping.DstChoice dstChoice,
BigInteger value,
int endOffset,
boolean groupBucket) |
static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action |
nxMoveRegAction(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.src.choice.grouping.SrcChoice srcChoice,
org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.dst.choice.grouping.DstChoice dstChoice,
int endOffset,
boolean groupBucket) |
static boolean |
removeFlowFromDataStore(String nodeName,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.TableKey tableKey,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey)
remove a flow from the DataStore.
|
static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder |
wrapActionsIntoApplyActionsInstruction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> theActions)
Wrap the supplied actions in an apply-actions instruction.
|
static boolean |
writeFlowToDataStore(String nodeName,
org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder flow)
Write a flow to the DataStore.
|
public static final int ETHERTYPE_IPV4
public static final int ETHERTYPE_VLAN
public static final int ETHERTYPE_IPV6
public static final int ETHERTYPE_MPLS_UCAST
public static final int ETHERTYPE_MPLS_MCAST
public static final int ETHERTYPE_ARP
public static final int ETHERTYPE_NSH
public static final short IP_PROTOCOL_ICMP
public static final short IP_PROTOCOL_TCP
public static final short IP_PROTOCOL_UDP
public static final short IP_PROTOCOL_SCTP
public static final int PKT_LENGTH_IP_HEADER
public static final int TCP_FLAG_SYN
public static final int ARP_REQUEST
public static final int ARP_REPLY
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createFlowBuilder(short table, int priority, BigInteger cookieValue, String flowName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder createFlowBuilder(short table, int priority, String flowName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb)
public static void addMatchEtherType(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, long etherType)
match
- the Match object to which we want to add an EtherTypeMatchetherType
- the Ethernet typepublic static void addMatchSrcMac(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String srcMac)
public static void addMatchDstMac(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String dstMac)
public static void addMatchIpProtocol(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, short ipProtocol)
public static void addMatchTcpSyn(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match)
public static void addMatchDscp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, short dscpVal)
public static void addMatchSrcUdpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int portNum)
public static void addMatchDstUdpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int portNum)
public static void addMatchSrcTcpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int portNum)
public static void addMatchDstTcpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int portNum)
public static void addMatchSrcSctpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int portNum)
public static void addMatchDstSctpPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int portNum)
public static void addMatchMplsLabel(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, long label)
public static void addMatchVlan(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int vlan)
public static void addMatchArpRequest(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match)
public static void addMatchArpRequestAndTpa(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String requestedIp)
public static void addMatchSrcIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String srcIpStr, int netmask)
public static void addMatchSrcIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix srcIp)
public static void addMatchDstIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String dstIpStr, int netmask)
public static void addMatchDstIpv4(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv4Prefix dstIp)
public static void addMatchSrcIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String srcIpStr, int netmask)
public static void addMatchSrcIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix srcIp)
public static void addMatchDstIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String dstIpStr, int netmask)
public static void addMatchDstIpv6(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.inet.types.rev130715.Ipv6Prefix dstIp)
public static void addMatchMetada(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, BigInteger metadataValue, BigInteger metadataMask)
public static void addMatchNshNsp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, long nsp)
public static void addMatchNshNsi(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, short nsi)
public static void addMatchNshNsc1(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, long nsc)
public static void addMatchNshNsc2(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, long nsc)
public static void addMatchInPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId, long inPort)
public static void addMatchInPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorId nodeConnId)
public static void addMatchInPort(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String nodeName, int value)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.go.to.table._case.GoToTableBuilder createActionGotoTable(short toTable)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionResubmitTable(short toTable, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.action.group.action._case.GroupActionBuilder createGroupAction(long groupId)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionOutPort(int portUri, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionOutPort(String portUri, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionSetEtherType(long etherType, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionWriteDscp(short dscpVal, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionPktIn(int pktLength, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNormal(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionSetDlSrc(String srcMac, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionSetDlDst(String dstMac, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionSetNwDst(String ipStr, int netmask, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionPopVlan(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionPushVlan(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionSetVlanId(int vlan, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionPushMpls(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionSetMplsLabel(long label, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionPopMpls(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionDropPacket(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionDecNwTtl(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxPushNsh(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxPopNsh(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action nxLoadRegAction(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.dst.choice.grouping.DstChoice dstChoice, BigInteger value, int endOffset, boolean groupBucket)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.Action nxMoveRegAction(org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.src.choice.grouping.SrcChoice srcChoice, org.opendaylight.yang.gen.v1.urn.opendaylight.openflowplugin.extension.nicira.action.rev140714.dst.choice.grouping.DstChoice dstChoice, int endOffset, boolean groupBucket)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetTunIpv4Dst(String ipStr, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveTunIdRegister(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveTunIpv4Dst(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsc1(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsc2(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsc3(int order)
order
- the order in which we want to execute this actionpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsc4(int order)
order
- the order in which we want to execute this actionpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsi(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsp(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveTunGpeNp(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNshMdtype(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNshNp(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsc2ToTunIdRegister(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveNsc1ToTunIpv4DstRegister(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadArpOpAction(int value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveArpShaToArpThaAction(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveEthSrcToEthDstAction(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNshMdtype(short value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNshNp(short value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadTunGpeNp(short value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNsp(int value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNsi(short value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNshc1(long value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNshc2(long value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNshc3(long value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadNshc4(long value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadEncapEthSrc(String value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadEncapEthDst(String mac, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadTunId(long value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadTunIpv4Dst(String ipStr, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxResubmit(int inPort, short table, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveEthSrcToEncapEthSrc(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveEthDstToEncapEthDst(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadArpShaAction(String mac, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveArpTpaToRegAction(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadArpSpaAction(String ip, int order)
public static void addMatchEncapEthType(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int ethType)
public static void addMatchEncapEthSrc(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String mac)
public static void addMatchEncapEthDst(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, String mac)
public static void addMatchNshMdtype(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, short nshMdtype)
public static void addMatchNshNp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, short nshNp)
public static void addMatchTunGpeNp(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, short tunGpeNp)
public static void addMatchReg0(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder match, int value)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveArpSpaToArpTpaAction(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxMoveRegToArpSpaAction(int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxLoadReg0(int value, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetNsp(Long nsp, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetNsi(Short nsi, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetNshc1(Long c1, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetNshc2(Long c2, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetNshc3(Long c3, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action createActionNxSetNshc4(Long c4, int order)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.instruction.WriteMetadataCase createInstructionMetadata(int order, BigInteger metadataVal, BigInteger metadataMask)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder createInstructionsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionBuilder ib)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder createInstructionsBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionBuilder... ibs)
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.InstructionBuilder createActionsInstructionBuilder(org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action... actions)
public static boolean writeFlowToDataStore(String nodeName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowBuilder flow)
nodeName
- which node to write the flow toflow
- details of the flow to be writtenpublic static boolean removeFlowFromDataStore(String nodeName, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.TableKey tableKey, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey)
nodeName
- which node to write the flow totableKey
- table KeyflowKey
- flow keypublic static boolean isSffOpenFlowCapable(String sffName)
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node> createNodePath(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId)
nodeId
- the ID of the nodeInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table> createTablePath(org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId nodeId, short tableId)
nodeId
- the ID of the nodetableId
- the ID of the tableInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> createFlowPath(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table> table, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.FlowKey flowKey)
table
- the table iidflowKey
- the flow keyInstanceIdentifier
public static org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.table.Flow> createFlowPath(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.tables.Table> table, org.opendaylight.yang.gen.v1.urn.opendaylight.flow.inventory.rev130819.FlowId flowId)
table
- the table iidflowId
- the flow idInstanceIdentifier
public static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder wrapActionsIntoApplyActionsInstruction(List<org.opendaylight.yang.gen.v1.urn.opendaylight.action.types.rev131112.action.list.Action> theActions)
theActions
- a list of actionspublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder getNshMatches(long nsp, short nsi)
nsp
- the network service path we want to matchnsi
- the network service index we want to matchpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.MatchBuilder getNshMatches(long nsp)
nsp
- the network service path we want to matchpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder appendGotoTableInstruction(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb, short nextTableId)
isb
- an InstructionsBuilder object, to which we will append a
GotoTable instructionnextTableId
- the table that will feature in the GotoTable instructionpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction createGotoTableInstruction(short nextTableId, int order)
nextTableId
- the table to which we want to go toorder
- the order in which the instruction will be executedpublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder appendMetadataInstruction(org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.flow.InstructionsBuilder isb, BigInteger theMetadata, BigInteger metadataMask)
isb
- an InstructionsBuilder object, to which we will append a
WriteMetadata instructiontheMetadata
- the metadata that we want to writemetadataMask
- the metadata mask, specifying the relevant bits of theMetadatapublic static org.opendaylight.yang.gen.v1.urn.opendaylight.flow.types.rev131026.instruction.list.Instruction createAddMetadataInstruction(BigInteger theMetadata, BigInteger metadataMask, int order)
theMetadata
- the metadata that we want to writemetadataMask
- the metadata mask, specifying the relevant bits of theMetadataorder
- the order in which the instruction will be executedpublic static String macStringFromBigInteger(BigInteger value)
Copyright © 2017 OpenDaylight. All rights reserved.