Class FlowUtils
- java.lang.Object
-
- org.opendaylight.openflowplugin.learningswitch.FlowUtils
-
public final class FlowUtils extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FlowBuilder
createDirectMacToMacFlow(org.opendaylight.yangtools.yang.common.Uint8 tableId, org.opendaylight.yangtools.yang.common.Uint16 priority, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress srcMac, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress dstMac, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef dstPort)
Returns aFlowBuilder
forwarding all packets to controller port.static FlowBuilder
createFwdAllToControllerFlow(org.opendaylight.yangtools.yang.common.Uint8 tableId, org.opendaylight.yangtools.yang.common.Uint16 priority, FlowId flowId)
Returns aFlowBuilder
forwarding all packets to controller port.
-
-
-
Method Detail
-
createDirectMacToMacFlow
public static FlowBuilder createDirectMacToMacFlow(org.opendaylight.yangtools.yang.common.Uint8 tableId, org.opendaylight.yangtools.yang.common.Uint16 priority, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress srcMac, org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.MacAddress dstMac, org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeConnectorRef dstPort)
Returns aFlowBuilder
forwarding all packets to controller port.
-
createFwdAllToControllerFlow
public static FlowBuilder createFwdAllToControllerFlow(org.opendaylight.yangtools.yang.common.Uint8 tableId, org.opendaylight.yangtools.yang.common.Uint16 priority, FlowId flowId)
Returns aFlowBuilder
forwarding all packets to controller port.
-
-