dpi: integrated REST-API and Ryu-app