]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/tools/rbd_mirror/Types.cc
import 15.2.0 Octopus source
[ceph.git] / ceph / src / tools / rbd_mirror / Types.cc
index 74fe318ebcae51b33f442399a2ca62c001d45462..aa9bc7c3fe55f556d0e27563f79f49b7799514ca 100644 (file)
@@ -11,6 +11,17 @@ std::ostream &operator<<(std::ostream &os, const ImageId &image_id) {
             << "id=" << image_id.id;
 }
 
+std::ostream& operator<<(std::ostream& lhs,
+                         const LocalPoolMeta& rhs) {
+  return lhs << "mirror_uuid=" << rhs.mirror_uuid;
+}
+
+std::ostream& operator<<(std::ostream& lhs,
+                         const RemotePoolMeta& rhs) {
+  return lhs << "mirror_uuid=" << rhs.mirror_uuid << ", "
+                "mirror_pool_uuid=" << rhs.mirror_peer_uuid;
+}
+
 std::ostream& operator<<(std::ostream& lhs, const PeerSpec &peer) {
   return lhs << "uuid: " << peer.uuid
             << " cluster: " << peer.cluster_name