mirror of
https://github.com/ceph/ceph
synced 2025-02-28 13:32:27 +00:00
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> |
||
---|---|---|
.. | ||
async | ||
simple | ||
xio | ||
Connection.h | ||
Dispatcher.h | ||
DispatchQueue.cc | ||
DispatchQueue.h | ||
DispatchStrategy.h | ||
FastStrategy.h | ||
Message.cc | ||
Message.h | ||
Messenger.cc | ||
Messenger.h | ||
msg_types.cc | ||
msg_types.h | ||
QueueStrategy.cc | ||
QueueStrategy.h | ||
SimplePolicyMessenger.h |