func (br *BGPReflector) HandlesEvent(event controller.Event) bool {
	if !br.ContivConf.GetIPAMConfig().UseExternalIPAM {
		return false
	}
	if event.Method() != controller.Update {
		return true
	}
	if _, isBGPRouteChange := event.(*BGPRouteUpdate); isBGPRouteChange {
		return true
	}
	return false
}
HandlesEvent selects:
- any Resync event
- BGPRouteUpdate
package bgpreflector
import (
	"fmt"
	"net"
	"golang.org/x/sys/unix"
	"github.com/vishvananda/netlink"
	"go.ligato.io/cn-infra/v2/infra"
	"go.ligato.io/vpp-agent/v3/pkg/models"
	vpp_l3 "go.ligato.io/vpp-agent/v3/proto/ligato/vpp/l3"
	"github.com/contiv/vpp/plugins/contivconf"
	controller "github.com/contiv/vpp/plugins/controller/api"
)
const (
	birdRouteProtoNumber = 12
)
type BGPReflector struct {
	Deps
	routeUpdateCh   chan netlink.RouteUpdate
	routeSubsDoneCh chan struct{}
}
type Deps struct {
	infra.PluginDeps
	ContivConf contivconf.API
	EventLoop  controller.EventLoop
}
func (br *BGPReflector) Init() (err error) {
	return nil
}