Signed-off-by: Sage Weil <sage@redhat.com>
* If the cluster log is directed at syslog, the entries are now
prefixed by both the string-form name and the rank-form name (e.g.,
``mgr.x mgr.12345 ...`` instead of just ``mgr.12345 ...``).
+
+* The JSON output of the ``osd find`` command has replaced the ``ip``
+ field with an ``addrs`` section to reflect that OSDs may bind to
+ multiple addresses.
boost::scoped_ptr<Formatter> f(Formatter::create(format, "json-pretty", "json-pretty"));
f->open_object_section("osd_location");
f->dump_int("osd", osd);
- f->dump_stream("ip") << osdmap.get_addr(osd);
+ f->dump_object("addrs", osdmap.get_addrs(osd));
f->open_object_section("crush_location");
map<string,string> loc = osdmap.crush->get_full_location(osd);
for (map<string,string>::iterator p = loc.begin(); p != loc.end(); ++p)