LODGE: LOcal Decisions on Global statEs in progrananaable data planes