ceph/src/msg
Bassam Tabbara bf49385679 mon: add support public_bind_addr option
To support running in dynamic enviornments (like Kubernetes) the mon needs
to be able to advertise and ip address that is different from the ip address
that it listens on locally.

Added a new config option "public_bind_addr" which if set becomes the address
that the mon will bind to locally. If empty (the default) the public_addr
will be used to bind locally.

added a new function on Messenger to set_addr which is called by ceph-mon to set
the advertised address after doing the bind.

also relaxed the "wrong node!" errors in AsyncMessenger and SimpleMessenger as
its now valid to talk to a peer whose peer_addr_of_me is different from what
we expect.

Signed-off-by: Bassam Tabbara <bassam.tabbara@quantum.com>
2017-07-14 10:41:49 -07:00
..
async mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
simple mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
xio mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
Connection.h
Dispatcher.h
DispatchQueue.cc
DispatchQueue.h
DispatchStrategy.h
FastStrategy.h
Message.cc mon: new health check framework 2017-07-12 12:51:30 -04:00
Message.h mon: new health check framework 2017-07-12 12:51:30 -04:00
Messenger.cc
Messenger.h mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
msg_types.cc
msg_types.h
QueueStrategy.cc msg: QueueStrategy::wait() joins all threads 2017-07-06 17:11:52 -04:00
QueueStrategy.h msg: QueueStrategy::wait() joins all threads 2017-07-06 17:11:52 -04:00
SimplePolicyMessenger.h