Hello, I'm have a problem with OVN. I'm using a build version of master, last commit was: a36bb33445acdbc5bfc30ecab8408dac9a99913e
I have ovn up and running, but it looks like it is generating the ovs flows incorrectly. (you can fast forward to the PROBLEMS section at the bottom of the email) I have a ovs/ovn env with one vm acting as a switch (a simple setup just to demonstrate the problem), two nics that need to be bridged: VM ------------------ | | | ovn/ovs | <--ens8 <----------->ens9 --> | | ------------------ (keeping it as simple as possible to make it less complicated) I'm setting it up: ovn-nbctl lswitch-add sw0 ovn-nbctl lport-add sw0 lport8 ovn-nbctl lport-add sw0 lport9 ovs-vsctl add-port br-int ens8 -- set Interface ens8 external_ids:iface-id=lport8 ovs-vsctl add-port br-int ens9 -- set Interface ens9 external_ids:iface-id=lport9 ovs-ofctl show br-int shows: 26(ens8): addr:52:54:00:ab:40:83 27(ens9): addr:52:54:00:47:15:4f ovs-ofctl dump-flows br-int: NXST_FLOW reply (xid=0x4): cookie=0x0, duration=13.930s, table=0, n_packets=17, n_bytes=1020, idle_age=0, priority=100,in_port=26 actions=load:0x1->NXM_NX_REG5[],load:0x5->OXM_OF_METADATA[],load:0x1->NXM_NX_REG6[],resubmit(,16) cookie=0x0, duration=13.919s, table=0, n_packets=7, n_bytes=420, idle_age=1, priority=100,in_port=27 actions=load:0x2->NXM_NX_REG5[],load:0x5->OXM_OF_METADATA[],load:0x2->NXM_NX_REG6[],resubmit(,16) cookie=0x0, duration=13.942s, table=16, n_packets=0, n_bytes=0, idle_age=13, priority=100,metadata=0x5,dl_src=01:00:00:00:00:00/01:00:00:00:00:00 actions=drop cookie=0x0, duration=13.942s, table=16, n_packets=0, n_bytes=0, idle_age=13, priority=100,metadata=0x5,vlan_tci=0x1000/0x1000 actions=drop cookie=0x0, duration=13.942s, table=16, n_packets=17, n_bytes=1020, idle_age=0, priority=50,reg6=0x1,metadata=0x5 actions=resubmit(,17) cookie=0x0, duration=13.939s, table=16, n_packets=7, n_bytes=420, idle_age=1, priority=50,reg6=0x2,metadata=0x5 actions=resubmit(,17) cookie=0x0, duration=13.942s, table=17, n_packets=24, n_bytes=1440, idle_age=0, priority=0,metadata=0x5 actions=resubmit(,18) cookie=0x0, duration=13.943s, table=18, n_packets=24, n_bytes=1440, idle_age=0, priority=0,metadata=0x5 actions=resubmit(,19) cookie=0x0, duration=13.942s, table=19, n_packets=24, n_bytes=1440, idle_age=0, priority=100,metadata=0x5,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=load:0xffff->NXM_NX_REG7[],resubmit(,32) cookie=0x0, duration=13.930s, table=33, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg7=0x1,metadata=0x5 actions=load:0x1->NXM_NX_REG5[],resubmit(,34) cookie=0x0, duration=13.931s, table=33, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg7=0xffff,metadata=0x5 actions=load:0x2->NXM_NX_REG5[],load:0x2->NXM_NX_REG7[],resubmit(,34),load:0x1->NXM_NX_REG5[],load:0x1->NXM_NX_REG7[],resubmit(,34),load:0xffff->NXM_NX_REG7[] cookie=0x0, duration=13.919s, table=33, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg7=0x2,metadata=0x5 actions=load:0x2->NXM_NX_REG5[],resubmit(,34) cookie=0x0, duration=13.930s, table=34, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg6=0x1,reg7=0x1,metadata=0x5 actions=drop cookie=0x0, duration=13.919s, table=34, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg6=0x2,reg7=0x2,metadata=0x5 actions=drop cookie=0x0, duration=13.919s, table=48, n_packets=0, n_bytes=0, idle_age=13, priority=0,metadata=0x5 actions=resubmit(,49) cookie=0x0, duration=13.919s, table=49, n_packets=0, n_bytes=0, idle_age=13, priority=0,metadata=0x5 actions=resubmit(,50) cookie=0x0, duration=13.919s, table=50, n_packets=0, n_bytes=0, idle_age=13, priority=100,metadata=0x5,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,64) cookie=0x0, duration=13.919s, table=50, n_packets=0, n_bytes=0, idle_age=13, priority=50,reg7=0x1,metadata=0x5 actions=resubmit(,64) cookie=0x0, duration=13.919s, table=50, n_packets=0, n_bytes=0, idle_age=13, priority=50,reg7=0x2,metadata=0x5 actions=resubmit(,64) cookie=0x0, duration=13.930s, table=64, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg7=0x1,metadata=0x5 actions=output:26 cookie=0x0, duration=13.919s, table=64, n_packets=0, n_bytes=0, idle_age=13, priority=100,reg7=0x2,metadata=0x5 actions=output:27 ============================= PROBLEMS: Now there are multiple problems with the generated flows: TABLE 19: filter dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 does not include my ports and drops my traffic TABLE 19: resubmits to TABLE 32, but TABLE 32 does not exist TABLE 33: looks like this does not assing REGs correctly (I had to replace it to make it work, althought I am not really sure what the exact problem here is) TABLE 34: only contains DROP actions TABLE 64: output ports are incorrect, reg7=0x1 should have output:27 and reg7=0x2 should have output:26 After fixing the above manually, it starts working. Can you please advise? Thanks, Marcin _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss