Update for using endpoint_type to create client

To create client using endpoint_type conf value.

Related-bug: #2092514
Change-Id: I57598f07dc9fd55b00f043f564414f222b8765d9
1 file changed