'Returns the migrating host_id from the migrating profile.'

def _get_dvr_migrating_service_port_hostid(self, context, port_id, port=None):

    port_db = (port or self._core_plugin.get_port(context, port_id))
    port_profile = port_db.get(portbindings.PROFILE)
    port_dest_host = None
    if port_profile:
        port_dest_host = port_profile.get('migrating_to')
        return port_dest_host
