support multi hosts, switch, add, delete