ceph/src/msg/async
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
..
dpdk src: put-to operator function - const input cleanup 2017-05-31 12:08:01 +05:30
rdma msg/async/rdma: return stored errno on error 2017-07-14 00:40:38 +08:00
AsyncConnection.cc mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
AsyncConnection.h msg/async: s/atomic_t/atomic<>/ 2017-06-08 11:51:06 +08:00
AsyncMessenger.cc mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
AsyncMessenger.h mon: add support public_bind_addr option 2017-07-14 10:41:49 -07:00
Event.cc
Event.h
EventEpoll.cc
EventEpoll.h
EventKqueue.cc
EventKqueue.h
EventSelect.cc
EventSelect.h
net_handler.cc
net_handler.h
PosixStack.cc msg: make listen backlog become a option, increase from 128 to 512 2017-06-17 11:57:33 +08:00
PosixStack.h
Stack.cc msg/async: add assert of ms_async_op_threads > 0 2017-06-12 19:38:37 +08:00
Stack.h msg/async: Postpone bind if network stack is not ready 2017-05-23 17:04:32 +03:00