implemented get_links_for_switch_and_port at DM
Discovery changes is threadsafe - project woks