From: Sage Weil Date: Thu, 28 Sep 2017 21:47:17 +0000 (-0400) Subject: common/pick_address: add {public,cluster}_network_interface option X-Git-Tag: v13.0.1~658^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=95cc790acddb597d6fef2d9e444f0b6e0436f16f;p=ceph.git common/pick_address: add {public,cluster}_network_interface option Add _interfaces option to constrain the choice of IPs in the network list to those on interfaces matching the provided list of interface names. The _interfaces options only work in concert with the _network options, so you must also specify a list of networks if you want to use a specific interface, e.g., by specifying a broad network like "::" or "0.0.0.0/0". Signed-off-by: Sage Weil --- diff --git a/src/common/options.cc b/src/common/options.cc index 0ecb876ad4fe..ea14ae936fb9 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -181,12 +181,24 @@ std::vector