Qantas will ground 100 aircraft for up to 12 months, including most of its international fleet.