Class FlowUtils


  • public final class FlowUtils
    extends Object
    • 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 a FlowBuilder 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.