It's just a sentence writen by someone, but not from a writer or from a poem. Yes, it is about war, but I'm not sure if it's about a war in Tang Dynasty because it didn't tell the time. 长安was the capital of many dynasties.By the way, this sentence is very beautiful. It has classical Chinese beauty. :)