[ovs-discuss] [ovs-nsh]How to implement NSH function

2019-06-18 Thread Ziyu Wu via discuss
Hi experts,



Good days.



I want to test NSH features as OVS 2.9+ has been added NSH support.

But I don’t know how to write the flow entries(actions/fields, As mentioned by 
Jaime, It’s different from nsh-patch version).

Where can I get some further instructions/examples for reference?

I currently found only one sample flow entries like below.

“
table=0,in_port=1,dl_type=0x894f,nsh_ttl=63,nsh_mdtype=1,nsh_np=3,nsh_spi=0x123456,nsh_si=255,nsh_c1=0x11223344,actions=set_field:0x2->nsh_flags,set_field:254->nsh_si,set_field:0x44332211->nsh_c1,2

”



Appreciate your reply.



Best wishes,

Ziyu
___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss


Re: [ovs-discuss] [ovs-nsh]How to implement NSH function

2019-06-18 Thread Ziyu Wu via discuss
Hi Ben,

I found it now, Thanks a lot ;)


On Tue, Jun 18, 2019 at 04:14:15PM +, Ziyu Wu via discuss wrote:
> I want to test NSH features as OVS 2.9+ has been added NSH support.
> 
> But I don’t know how to write the flow entries(actions/fields, As 
mentioned by Jaime, It’s different from nsh-patch version).
> 
> Where can I get some further instructions/examples for reference?
> 
> I currently found only one sample flow entries like below.
> 
> “
> 
table=0,in_port=1,dl_type=0x894f,nsh_ttl=63,nsh_mdtype=1,nsh_np=3,nsh_spi=0x123456,nsh_si=255,nsh_c1=0x11223344,actions=set_field:0x2->nsh_flags,set_field:254->nsh_si,set_field:0x44332211->nsh_c1,2
> 
> ”

Did you read ovs-fields(7)?


___
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss