Yes. You can use the registers as part of output specification.

For example, this following rule works:

# If reg0 is 1 and reg1 is 1, then output such packet via reg0
# reg0 and reg1 would have been set via learn operations earlier
ovs-ofctl add-flow br0 table=4 reg0=1,reg1=1 actions=output:reg0

*Vasu Dasari*


On Tue, Mar 8, 2022 at 4:58 PM Ashish Varma <[email protected]>
wrote:

> I am trying to find the meaning of the following statement in the
> ovs-actions man page:
>
> "Output to a register is an OpenFlow extension introduced in Open vSwitch
> 1.3."
>
> Does this mean that we can specify an action like: "output:<RegisterName>"
> and the value of the output port would be taken from the given register?
> (Just like "output:field")
>
> Thanks,
> Ashish
> _______________________________________________
> discuss mailing list
> [email protected]
> https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
>
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to