Skip to contentSkip to conversation

'mon_addr' vs 'public_addr'

DISCUSSION Joao Eduardo Luis 2 participants 2 messages Feb 23, 2016

lore
Share & tools
lore
#0 lore raw

Hi all,

does anyone remember the rationale behind not simply relying on 'public_addr' instead of 'mon_addr' for the monitors?

I keep coming back to this, and I keep thinking this must be an artefact of some long-gone era, during which public_addr maybe didn't exist? I tried to backtrace its inception and ended up all the way in af870763 back from 2009, but the commit itself didn't help much.

Any thoughts?

-Joao

#1 lore raw
Quoted 7 lines · Joao Eduardo Luis

Hi all,

does anyone remember the rationale behind not simply relying on 'public_addr' instead of 'mon_addr' for the monitors?

I keep coming back to this, and I keep thinking this must be an artefact of some long-gone era, during which public_addr maybe didn't exist? I

Yes.

Quoted 4 lines

tried to backtrace its inception and ended up all the way in af870763 back from 2009, but the commit itself didn't help much.

Any thoughts?

It's slightly tricky because we need to make mon addr still work.. but we can move all the docs refer to public_addr instead and make mon_addr override that if it is non-empty.

sage