implement function load_topo.load_topo