LODGE: LOcal Decisions on Global statEs in programmable data planes