Class FlowUtils
java.lang.Object
org.opendaylight.openflowplugin.learningswitch.FlowUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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, 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 Details
-
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, 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.
-