| 91 | } |
| 92 | |
| 93 | int MonClient::build_initial_monmap() |
| 94 | { |
| 95 | ldout(cct, 10) << __func__ << dendl; |
| 96 | int r = monmap.build_initial(cct, false, std::cerr); |
| 97 | ldout(cct,10) << "monmap:\n"; |
| 98 | monmap.print(*_dout); |
| 99 | *_dout << dendl; |
| 100 | return r; |
| 101 | } |
| 102 | |
| 103 | int MonClient::get_monmap() |
| 104 | { |