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: v12.2.2~172^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f99fe83a37241fe1c616ecb854b5196112985861;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 (cherry picked from commit 95cc790acddb597d6fef2d9e444f0b6e0436f16f) --- diff --git a/src/common/options.cc b/src/common/options.cc index cb4aadb47cdf..605cbc8d170e 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -160,12 +160,24 @@ std::vector