Closed lasse-aagren closed 8 years ago
https://github.com/google/seesaw/blob/master/engine/config/engine.go#L85 documents that they're always advertised.
We use them for monitoring - to be able to confirm that BGP advertisements are propagating and such.
But they do need to be configurable.
Currently https://github.com/google/seesaw/blob/master/binaries/seesaw_engine/main.go#L151 only adds to what's hard-coded in the defaults. It should be ok to remove those defaults and allow anyone who wants the same functionality to specify that in the config.
So if I would like to anycast an IP from other segment than 192.168.255.0/24 I need to change:
https://github.com/google/seesaw/blob/master/common/seesaw/util.go#L31
(or add extra_service_anycast to seesaw.cfg) and change:
https://github.com/google/seesaw/blob/master/common/seesaw/util.go#L28
(or fix the code to make it configurable :)) ?
answered
Hi,
By looking into seesaw I found that regardsless how simple your cluster.pb is, TestAnycastHost defined in:
https://github.com/google/seesaw/blob/master/common/seesaw/util.go#L31
used in:
https://github.com/google/seesaw/blob/master/engine/config/engine.go#L48
gets BGP advertised as long as you have
anycast_enabled = true
in seesaw.cfg.Is this intentional, and if so ,why is it needed?