Library for controlling team network device