Re: [ovs-dev] [PATCH] tests: Add test for CT action with setting labels.

2017-04-12 Thread Jarno Rajahalme

> On Apr 12, 2017, at 2:06 PM, Joe Stringer  wrote:
> 
> On 21 March 2017 at 15:51, Jarno Rajahalme  wrote:
>> This test clearly demonstrates the bit order of labels in the OpenFlow
>> wire format.
>> 
>> Signed-off-by: Jarno Rajahalme 
> 
> Acked-by: Joe Stringer 

Thanks for the review! Pushed to master,

  Jarno

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


Re: [ovs-dev] [PATCH] tests: Add test for CT action with setting labels.

2017-04-12 Thread Joe Stringer
On 21 March 2017 at 15:51, Jarno Rajahalme  wrote:
> This test clearly demonstrates the bit order of labels in the OpenFlow
> wire format.
>
> Signed-off-by: Jarno Rajahalme 

Acked-by: Joe Stringer 
___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev


[ovs-dev] [PATCH] tests: Add test for CT action with setting labels.

2017-03-21 Thread Jarno Rajahalme
This test clearly demonstrates the bit order of labels in the OpenFlow
wire format.

Signed-off-by: Jarno Rajahalme 
---
 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 @@  0018 2320 0007 001f 0001d604 f009
  0030 2320 0023 0003   FF 00  dnl
  0018 2320 0007 001f 0001d604 f009
 
+# 
actions=ct(commit,exec(load:0->NXM_NX_CT_LABEL[64..127],load:0x1d->NXM_NX_CT_LABEL[0..63]))
+ 0048 2320 0023 0001   FF 00  dnl
+ 0018 2320 0007 103f 0001d810     dnl
+ 0018 2320 0007 003f 0001d810    001d
+
 # bad OpenFlow10 actions: OFPBAC_BAD_SET_ARGUMENT
 & ofp_actions|WARN|cannot set CT fields outside of ct action
  0018 2320 0007 001f 0001d604 f009
-- 
2.1.4

___
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev