Hello,
I am using NSH to find a problem.
Log file /usr/local/var/log/openvswitch/ovs-vswitchd.log

2018-12-21T13:25:53.116Z|00077|dpif(handler23)|WARN|system@ovs-system: failed 
to put[create] (Invalid argument) ufid:06d864f1-b4fc-438e-a934-e36230c20d81 
recirc_id(0),dp_hash(0/0),skb_priority(0/0),in_port(2),skb_mark(0/0),ct_state(0/0),ct_zone(0/0),ct_mark(0/0),ct_label(0/0),eth(src=11:22:33:44:55:66/00:00:00:00:00:00,dst=66:55:44:33:22:11/00:00:00:00:00:00),eth_type(0x0806),arp(sip=1.1.1.200/0.0.0.0,tip=1.1.1.100/0.0.0.0,op=1/0,sha=00:0c:29:21:7f:b9/00:00:00:00:00:00,tha=00:00:00:00:00:00/00:00:00:00:00:00),actions:push_nsh(flags=0,ttl=63,mdtype=1,np=3,spi=0x0,si=255,c1=0x0,c2=0x0,c3=0x0,c4=0x0),push_eth(src=00:00:00:00:00:00,dst=00:00:00:00:00:00),pop_eth,pop_nsh(),recirc(0x27)


My operation is as follows:
ovs-vsctl add-br br0
ip link add veth1 type veth peer name veth2
ip link add veth3 type veth peer name veth4
ifconfig veth1 up
  ifconfig veth2 up
ifconfig veth3 up
ifconfig veth4 up
ovs-vsctl add-port br0 veth2
ovs-vsctl add-port br0 veth4
ovs-ofctl del-flows br0
ovs-ofctl add-flow br0 'table=0, in_port=veth2 actions=encap(nsh(md_type=1)),   
   encap(ethernet),decap(),decap(),normal' -O open flow13
[root@localhost ~]# ovs-ofctl dump-flows br0 -O openflow13
cookie=0x0,duration=936.036s,table=0,n_packets=500,n_bytes=21000,in_port=veth2actions=encap(nsh(md_type=1)),encap(ethernet),
 decap(),decap(),NORMAL

I just want to encapsulate the NSH and then decapsulate it. I don't know how to 
solve it, ask for help.

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

Reply via email to