auto-generate router_portmap