def _get_migrate_command():
 if __salt__['config.option']('virt.tunnel'):
  return 'virsh migrate --p2p --tunnelled --live --persistent --undefinesource '
 return 'virsh migrate --live --persistent --undefinesource '

def _get_migrate_command ( ) : if __salt__ [ 'config.option' ] ( 'virt.tunnel' ) : return 'virsh migrate --p2p --tunnelled --live --persistent --undefinesource ' return 'virsh migrate --live --persistent --undefinesource '
returns the command shared by the different migration types .