Library for configure virtual networks