Add function do_generate_topology() to the nmap2db shell