Atharvaveda Parishishta (Jyotisha Selections) · by Vedic sages (Atharvaveda)
Chapter 3 · Planetary War
ग्रहयुद्ध
दिवाकरश्चैव शनैश्चरस्तथा बृहस्पतिश्चैव बुधश्च नागराः ।प्रजापतिः केतुरथापि चन्द्रमास्तथैव राहूशनसौ च यायिनः ॥
In the full Atharvaveda Parishishta this is Parishishta 51, 2.1.
The Sun, Saturn, Jupiter and Mercury are nagara (city planets). Prajapati, Ketu, the Moon, Rahu and Venus are yayin (invading planets).
Simple meaning: Sun, Saturn, Jupiter and Mercury defend the city; Prajapati, Ketu, Moon, Rahu and Venus march to attack.
यदा ग्रहो नागर एव नागरं विजेष्यते याय्यथ वापि यायिनम् ।
City planet beating city planet, or invader beating invader, tends to show the same among kings.
आरोहणं च भेदश्च लेखनं सव्यदक्षिणम् ।
War between planets has four kinds: splitting, grazing, the left pass and mingling of rays; mounting is also named.
प्रसव्ये विग्रहं ब्रूयात्संग्रामं रश्मिसंगमे ।
The left pass tends to mean strife, rays meeting battle, grazing trouble for ministers, splitting loss of people.