parameters: (self,
                                   fs_name: str,
                                   remote_cluster_spec: str,
                                   remote_fs_name: Optional[str] = None,
                                   remote_mon_host: Optional[str] = None,
                                   cephx_key: Optional[str] = None)
return_statement: return self.fs_snapshot_mirror.peer_add(fs_name, remote_cluster_spec,
                                                  remote_fs_name, remote_conf=conf)
docstring: Add a remote filesystem peer
docstring_summary: Add a remote filesystem peer
docstring_tokens: Add a remote filesystem peer
function: def snapshot_mirorr_peer_add(self,
                                   fs_name: str,
                                   remote_cluster_spec: str,
                                   remote_fs_name: Optional[str] = None,
                                   remote_mon_host: Optional[str] = None,
                                   cephx_key: Optional[str] = None):
          """Add a remote filesystem peer"""
          conf = {}
          if remote_mon_host and cephx_key:
              conf['mon_host'] = remote_mon_host
              conf['key'] = cephx_key
          return self.fs_snapshot_mirror.peer_add(fs_name, remote_cluster_spec,
                                                  remote_fs_name, remote_conf=conf)
function_tokens: def snapshot_mirorr_peer_add ( self , fs_name : str , remote_cluster_spec : str , remote_fs_name : Optional [ str ] = None , remote_mon_host : Optional [ str ] = None , cephx_key : Optional [ str ] = None ) : conf = { } if remote_mon_host and cephx_key : conf [ 'mon_host' ] = remote_mon_host conf [ 'key' ] = cephx_key return self . fs_snapshot_mirror . peer_add ( fs_name , remote_cluster_spec , remote_fs_name , remote_conf = conf )