add halo master switch

Change-Id: Ib440ef680b2d1cf4753647b53d53b9beb8b3578e