Signed-off-by: Darrell Ball <db...@vmware.com> --- ovn/controller/physical.c | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/ovn/controller/physical.c b/ovn/controller/physical.c index 5156a9b..5ed5f8e 100644 --- a/ovn/controller/physical.c +++ b/ovn/controller/physical.c @@ -169,6 +169,8 @@ physical_run(struct controller_ctx *ctx, enum mf_field_id mff_ovn_geneve, "ovn-localnet-port"); const char *logpatch = smap_get(&port_rec->external_ids, "ovn-logical-patch-port"); + const char *gateway_patch = smap_get(&port_rec->external_ids, + "ovn-gateway-patch-port"); for (int j = 0; j < port_rec->n_interfaces; j++) { const struct ovsrec_interface *iface_rec = port_rec->interfaces[j]; @@ -189,6 +191,9 @@ physical_run(struct controller_ctx *ctx, enum mf_field_id mff_ovn_geneve, /* localnet patch ports can be handled just like VIFs. */ simap_put(&localvif_to_ofport, localnet, ofport); break; + } else if (is_patch && gateway_patch) { + /* gateway patch ports can be handled just like VIFs. */ + simap_put(&localvif_to_ofport, gateway_patch, ofport); } else if (is_patch && logpatch) { /* Logical patch ports can be handled just like VIFs. */ simap_put(&localvif_to_ofport, logpatch, ofport); -- 1.9.1 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev