Neutron configure a trunk-sub port. The parent-port and sub-port located
in different network. there is a vm attached to parent port. And no vm
attached to the network of sub-port in the same chassis. In this
situation, the ovn-controller can not get the configuration info of
sub-port.
The reason is that ovn-controller does not monitor the port-binding with
parent.
This patch fix this bug.
Signed-off-by: wangqianyu <wang.qianyu@zte.com.cn>
Signed-off-by: Ben Pfaff <blp@ovn.org>
const char *name;
SSET_FOR_EACH (name, local_ifaces) {
sbrec_port_binding_add_clause_logical_port(&pb, OVSDB_F_EQ, name);
+ sbrec_port_binding_add_clause_parent_port(&pb, OVSDB_F_EQ, name);
}
}
if (local_datapaths) {