Peter
Судя по этому https://numans.blog/2016/08/09/native-dhcp-support-in-ovn/ информация о dhcp должна добавляться в table=10(ls_in_dhcp_options) и table=11(ls_in_dhcp_response), но у меня там пусто.
# ovn-sbctl lflow-list 8823692e-c0c3-451f-8959-88d5059df084
Datapath: "sw1" (8823692e-c0c3-451f-8959-88d5059df084) Pipeline: ingress
table=0 (ls_in_port_sec_l2 ), priority=100 , match=(eth.src[40]), action=(drop;)
table=0 (ls_in_port_sec_l2 ), priority=100 , match=(vlan.present), action=(drop;)
table=0 (ls_in_port_sec_l2 ), priority=50 , match=(inport == "b71994c8-2719-11ea-abe6-3c07542c942f"), action=(next;)
table=0 (ls_in_port_sec_l2 ), priority=50 , match=(inport == "sw1gw-attachment"), action=(next;)
table=1 (ls_in_port_sec_ip ), priority=0 , match=(1), action=(next;)
table=2 (ls_in_port_sec_nd ), priority=0 , match=(1), action=(next;)
table=3 (ls_in_pre_acl ), priority=0 , match=(1), action=(next;)
table=4 (ls_in_pre_lb ), priority=0 , match=(1), action=(next;)
table=5 (ls_in_pre_stateful ), priority=100 , match=(reg0[0] == 1), action=(ct_next;)
table=5 (ls_in_pre_stateful ), priority=0 , match=(1), action=(next;)
table=6 (ls_in_acl ), priority=0 , match=(1), action=(next;)
table=7 (ls_in_lb ), priority=0 , match=(1), action=(next;)
table=8 (ls_in_stateful ), priority=100 , match=(reg0[1] == 1), action=(ct_commit(ct_label=0/1); next;)
table=8 (ls_in_stateful ), priority=100 , match=(reg0[2] == 1), action=(ct_lb;)
table=8 (ls_in_stateful ), priority=0 , match=(1), action=(next;)
table=9 (ls_in_arp_rsp ), priority=100 , match=(arp.tpa == 192.168.39.1 && arp.op == 1 && inport == "sw1gw-attachment"), action=(next;)
table=9 (ls_in_arp_rsp ), priority=50 , match=(arp.tpa == 192.168.39.1 && arp.op == 1), action=(eth.dst = eth.src; eth.src = 52:54:00:93:05:30; arp.op = 2; /* ARP reply */ arp.tha = arp.sha; arp.sha = 52:54:00:93:05:30; arp.tpa = arp.spa; arp.spa = 192.168.39.1; outport = inport; flags.loopback = 1; output;)
table=9 (ls_in_arp_rsp ), priority=0 , match=(1), action=(next;)
table=10(ls_in_dhcp_options ), priority=0 , match=(1), action=(next;)
table=11(ls_in_dhcp_response), priority=0 , match=(1), action=(next;)
table=12(ls_in_l2_lkup ), priority=100 , match=(eth.mcast), action=(outport = "_MC_flood"; output;)
table=12(ls_in_l2_lkup ), priority=50 , match=(eth.dst == 52:54:00:93:05:27), action=(outport = "b71994c8-2719-11ea-abe6-3c07542c942f"; output;)
table=12(ls_in_l2_lkup ), priority=50 , match=(eth.dst == 52:54:00:93:05:30), action=(outport = "sw1gw-attachment"; output;)
Datapath: "sw1" (8823692e-c0c3-451f-8959-88d5059df084) Pipeline: egress
table=0 (ls_out_pre_lb ), priority=0 , match=(1), action=(next;)
table=1 (ls_out_pre_acl ), priority=0 , match=(1), action=(next;)
table=2 (ls_out_pre_stateful), priority=100 , match=(reg0[0] == 1), action=(ct_next;)
table=2 (ls_out_pre_stateful), priority=0 , match=(1), action=(next;)
table=3 (ls_out_lb ), priority=0 , match=(1), action=(next;)
table=4 (ls_out_acl ), priority=0 , match=(1), action=(next;)
table=5 (ls_out_stateful ), priority=100 , match=(reg0[1] == 1), action=(ct_commit(ct_label=0/1); next;)
table=5 (ls_out_stateful ), priority=100 , match=(reg0[2] == 1), action=(ct_lb;)
table=5 (ls_out_stateful ), priority=0 , match=(1), action=(next;)
table=6 (ls_out_port_sec_ip ), priority=0 , match=(1), action=(next;)
table=7 (ls_out_port_sec_l2 ), priority=100 , match=(eth.mcast), action=(output;)
table=7 (ls_out_port_sec_l2 ), priority=50 , match=(outport == "b71994c8-2719-11ea-abe6-3c07542c942f"), action=(output;)
table=7 (ls_out_port_sec_l2 ), priority=50 , match=(outport == "sw1gw-attachment"), action=(output;)