Changed the function getFlows, now it does not receives parameters and gets the flows from ALL the interfaces