This test clearly demonstrates the bit order of labels in the OpenFlow wire format.
Signed-off-by: Jarno Rajahalme <[email protected]> --- tests/ofp-actions.at | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/ofp-actions.at b/tests/ofp-actions.at index 6f9f5c1..11b3653 100644 --- a/tests/ofp-actions.at +++ b/tests/ofp-actions.at @@ -192,6 +192,11 @@ ffff 0018 00002320 0007 001f 0001d604 000000000000f009 ffff 0030 00002320 0023 0003 00000000 0000 FF 000000 0000 dnl ffff 0018 00002320 0007 001f 0001d604 000000000000f009 +# actions=ct(commit,exec(load:0->NXM_NX_CT_LABEL[64..127],load:0x1d->NXM_NX_CT_LABEL[0..63])) +ffff 0048 00002320 0023 0001 00000000 0000 FF 000000 0000 dnl +ffff 0018 00002320 0007 103f 0001d810 0000 0000 0000 0000 dnl +ffff 0018 00002320 0007 003f 0001d810 0000 0000 0000 001d + # bad OpenFlow10 actions: OFPBAC_BAD_SET_ARGUMENT & ofp_actions|WARN|cannot set CT fields outside of ct action ffff 0018 00002320 0007 001f 0001d604 000000000000f009 -- 2.1.4 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
