X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=extras%2Fvom%2Fvom%2Fbridge_domain.cpp;h=a2cf656a6ad843df7e9f45fcdb0bcec691ddc04a;hb=762d83c198c6c24cce4eb94a6d027f520d0b8383;hp=b8c89e10bd96d59a0fcdea420d6f17971944a1f4;hpb=539663c401b087e4576e41af35144e73e1907c9d;p=vpp.git diff --git a/extras/vom/vom/bridge_domain.cpp b/extras/vom/vom/bridge_domain.cpp index b8c89e10bd9..a2cf656a6ad 100644 --- a/extras/vom/vom/bridge_domain.cpp +++ b/extras/vom/vom/bridge_domain.cpp @@ -209,6 +209,14 @@ bridge_domain::event_handler::handle_populate(const client_db::key_t& key) */ OM::commit(key, bd); + std::shared_ptr uu_fwd_itf = + interface::find(payload.uu_fwd_sw_if_index); + if (uu_fwd_itf) { + l2_binding l2(*uu_fwd_itf, bd, + l2_binding::l2_port_type_t::L2_PORT_TYPE_UU_FWD); + OM::commit(key, l2); + } + /** * For each interface in the BD construct an l2_binding */