add switch support to the npe driver