| 128 | } |
| 129 | |
| 130 | void dump(ceph::Formatter *f) const { |
| 131 | f->dump_stream("name") << name; |
| 132 | f->dump_stream("entity_name") << entity_name; |
| 133 | f->dump_object("addrs", addrs); |
| 134 | f->dump_object("socket_addr", socket_addr); |
| 135 | f->dump_string("con_type", ceph_entity_type_name(con_type)); |
| 136 | f->dump_unsigned("con_features", con_features); |
| 137 | f->dump_stream("con_features_hex") << std::hex << con_features << std::dec; |
| 138 | f->dump_string("con_features_release", |
| 139 | ceph_release_name(ceph_release_from_features(con_features))); |
| 140 | f->dump_bool("open", !closed); |
| 141 | f->dump_object("caps", caps); |
| 142 | f->dump_bool("authenticated", authenticated); |
| 143 | f->dump_unsigned("global_id", global_id); |
| 144 | f->dump_stream("global_id_status") << global_id_status; |
| 145 | f->dump_unsigned("osd_epoch", osd_epoch); |
| 146 | f->dump_string("remote_host", remote_host); |
| 147 | } |
| 148 | }; |
| 149 | |
| 150 |
nothing calls this directly
no test coverage detected