merge multihost mode https://review.openstack.org/#/c/24771/