dispersion: add endpoint_type parameter

This parameter is needed to perform a clean object dispersion.

Change-Id: I1c17f49b22fd2b30c022d27a2bc20ce0bd150240
(cherry picked from commit 6aa573e49af596fd31b01b8f88563ef29876e765)