Add aggregation by network (inside/outside), at least in tests.