def failover(self, sync=None, force=None):
req_body = self._cli.make_body(sync=sync, force=force)<EOL>resp = self.action('<STR_LIT>', **req_body)<EOL>resp.raise_if_err()<EOL>return resp<EOL>
Fails over a replication session.

:param sync: True - sync the source and destination resources before
    failing over the asynchronous replication session or keep them in
    sync after failing over the synchronous replication session.
    False - don't sync.
:param force: True - skip pre-checks on file system(s) replication
    sessions of a NAS server when a replication failover is issued from
    the source NAS server.
    False - don't skip pre-checks.