17 booked for partying ‘illegally’ on city outskirts