bio-routing / tflow2

Apache License 2.0
73 stars 7 forks source link

[annotation.go:88] Unable to annotate #19

Open funzoneq opened 6 years ago

funzoneq commented 6 years ago

Hi,

Can you share an example bird.conf? From what I read through bird.go I understand that the protocol should be named: nf(ip of peer).replace(".", ""):

template bgp Neighbors {
        local as 1234;          # our own as

        import all;
        export none;
    multihop;
}

protocol bgp nf_12_12_12_12 from Neighbors {
        description "bb01.fra";

        neighbor 12.12.12.12 as 1234;
}

But I keep getting unable to annotate.

taktv6 commented 6 years ago

Your naming scheme looks fine if 12.12.12.12 is the source IP address of incoming Netflow/IPFIX packets. However this integration is brittle and honestly sucks. I'm currently working on an integrated BGP speaker so we can avoid this hassle.