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

Ben Pfaff blp at ovn.org
Tue Jun 18 16:45:30 UTC 2019


On Tue, Jun 18, 2019 at 04:14:15PM +0000, 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)?


More information about the discuss mailing list