MT#10493 tt2-daemon: give the client a copy of the config

This will avoid changes on the config inside one template to be spread to the rest

Change-Id: I7d000914d3c95d0fa8e1daa185e24ec1bd7fcd68
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