Closed asskss closed 1 day ago
@asskss, IPAM allocation is no different in BGP setup. Calico CNI is responsible to IP allocation in all networking options. CNI source: https://github.com/projectcalico/calico/tree/master/cni-plugin
In BGP case, ConfD is responsible for watching for resources like nodes, allocations, and also for generating BIRD configs from predefined templates. BIRD templates: https://github.com/projectcalico/calico/tree/master/confd/etc/calico/confd/templates ConfD: https://github.com/projectcalico/calico/tree/master/confd
It's hard to get into the detail of your question in a GH issue. I suggest to join Calico slack channel (https://calicousers.slack.com/) and ask specific questions about this matter there.
@asskss, IPAM allocation is no different in BGP setup. Calico CNI is responsible to IP allocation in all networking options. CNI source: https://github.com/projectcalico/calico/tree/master/cni-plugin
In BGP case, ConfD is responsible for watching for resources like nodes, allocations, and also for generating BIRD configs from predefined templates. BIRD templates: https://github.com/projectcalico/calico/tree/master/confd/etc/calico/confd/templates ConfD: https://github.com/projectcalico/calico/tree/master/confd
It's hard to get into the detail of your question in a GH issue. I suggest to join Calico slack channel (https://calicousers.slack.com/) and ask specific questions about this matter there.
thanks
I hope to learn the principles of Calico BGP through source code
ippool
birdcl -s /var/run/calico/bird.ctl show route | grep 10.128.121 | grep 122.48
From the above example, it can be seen that the block size is/27, but the BGP routing can allocate/32. Why is this? If we start learning this from the source code, where should we start?