Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
GBP: fix dump and VOM populate
[vpp.git]
/
extras
/
vom
/
vom
/
bridge_domain.cpp
diff --git
a/extras/vom/vom/bridge_domain.cpp
b/extras/vom/vom/bridge_domain.cpp
index
a2cf656
..
1cc5531
100644
(file)
--- a/
extras/vom/vom/bridge_domain.cpp
+++ b/
extras/vom/vom/bridge_domain.cpp
@@
-215,6
+215,9
@@
bridge_domain::event_handler::handle_populate(const client_db::key_t& key)
l2_binding l2(*uu_fwd_itf, bd,
l2_binding::l2_port_type_t::L2_PORT_TYPE_UU_FWD);
OM::commit(key, l2);
l2_binding l2(*uu_fwd_itf, bd,
l2_binding::l2_port_type_t::L2_PORT_TYPE_UU_FWD);
OM::commit(key, l2);
+ } else {
+ VOM_LOG(log_level_t::ERROR) << "no uu-fwd interface:"
+ << payload.uu_fwd_sw_if_index;
}
/**
}
/**
@@
-226,6
+229,9
@@
bridge_domain::event_handler::handle_populate(const client_db::key_t& key)
if (itf) {
l2_binding l2(*itf, bd);
OM::commit(key, l2);
if (itf) {
l2_binding l2(*itf, bd);
OM::commit(key, l2);
+ } else {
+ VOM_LOG(log_level_t::ERROR) << "no interface:"
+ << payload.sw_if_details[ii].sw_if_index;
}
}
}
}
}
}