]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/options: add ms_mon_client_mode
authorSage Weil <sage@redhat.com>
Mon, 18 Feb 2019 19:02:16 +0000 (13:02 -0600)
committerSage Weil <sage@redhat.com>
Wed, 20 Feb 2019 18:41:55 +0000 (12:41 -0600)
commitb9c294e7a4c4ee77e691cfea83048c77e006dbe5
tree962d27af4e8e6aec0210e6fd26c6037eb6aaaf55
parent2d530938753313a776258ff9fa8208db637c9d96
common/options: add ms_mon_client_mode

The server now has a list of *allowed* modes (no ordering) and the clients
have a list of modes in order of preference.  Since we want everything
connecting to the mon to be secure by default (think: ceph auth set ...),
we need a separate option to ensure we prefer secure mon connections from
the CLI etc.

Signed-off-by: Sage Weil <sage@redhat.com>
src/auth/AuthRegistry.cc
src/auth/AuthRegistry.h
src/common/options.cc