]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
common/pick_address: fill in ipv4/6 and msgr1/msgr2 via config options
authorSage Weil <sage@redhat.com>
Fri, 1 Jun 2018 19:13:29 +0000 (14:13 -0500)
committerSage Weil <sage@redhat.com>
Tue, 3 Jul 2018 18:01:23 +0000 (13:01 -0500)
commitff76ac43fca365311b1e2eb77e1e0f2a4be7b8cb
treeccfdbe91a491c14e0d3c196c6bb6805343d079ca
parent9b7e49828b7e34e47e4b0145e375eb7ac9d70e09
common/pick_address: fill in ipv4/6 and msgr1/msgr2 via config options

This allows users to simply pass in CLUSTER or PUBLIC and the function
fills in the rest.  (Or, if the caller is particular, they can pass in
the other flags too.)

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