migrate from if to case
get_bridge_name() for calculating bridge names dynamicaly