Hmmm, I could use the dictionary easily from the lb, then have to create another dict from combinations of the servers ips and ports (in the group) and use sets to compare them. I used lists instead. Do you think using dictionary is a better choice? Also, this will work if the lbaas_ids are in any order.