VPP-18: Creating tap interface through API broken. Fixed and removed duplicate code...