* Construct a GBP bridge_domain
*/
gbp_bridge_domain(const bridge_domain& bd, const interface& bvi);
- gbp_bridge_domain(const bridge_domain& bd);
gbp_bridge_domain(const bridge_domain& bd,
const interface& bvi,
const interface& uu_fwd);
, m_table_id(route::DEFAULT_TABLE)
, m_l2_address(l2_address_t::ZERO, rc_t::UNSET)
, m_stats_type(stats_type_t::NORMAL)
+ , m_stats({})
+ , m_listener(nullptr)
, m_oper(oper_state_t::DOWN)
, m_tag(tag)
{
, m_table_id(m_rd->table_id())
, m_l2_address(l2_address_t::ZERO, rc_t::UNSET)
, m_stats_type(stats_type_t::NORMAL)
+ , m_stats({})
+ , m_listener(nullptr)
, m_oper(oper_state_t::DOWN)
, m_tag(tag)
{
, m_table_id(o.m_table_id)
, m_l2_address(o.m_l2_address)
, m_stats_type(o.m_stats_type)
+ , m_stats(o.m_stats)
+ , m_listener(o.m_listener)
, m_oper(o.m_oper)
, m_tag(o.m_tag)
{
}
if (m_listener) {
- disable_stats();
+ disable_stats_i();
}
// If the interface is up, bring it down
void
stat_reader::registers(const interface& intf)
{
- m_stat_itf_indexes.insert(intf.handle().value());
+ m_stat_itf_indexes.insert(intf.handle_i().value());
}
void
stat_reader::unregisters(const interface& intf)
{
- m_stat_itf_indexes.erase(intf.handle().value());
+ m_stat_itf_indexes.erase(intf.handle_i().value());
}
void