Added utility function to retrieve role, traffic-type pairs