MT#10591 lib/get_all_cluster_set_[shared]_ip*: add role and type args

Now be can select the type of the interfaces we want

Change-Id: I4a8d188e338110a31b2edb3d799427803a785912
(cherry picked from commit b68b1c487b5c3b6a8ee11540d8826c163e2335f5)
MT#10635 add get_all_cluster_set[_shared]ip_for_host remove argv.host from get_all_cluster_set[_shared]ip

Split the logic between for_host or all

Change-Id: Ice280f5b261b93f8abf92fb2bc357dacbcaa39f4
(cherry picked from commit ff80f075aa215bd118f16c4115f8d9cd463922a4)