Iran says it does not want war but reserves the right to take all appropriate measures against any hostile act.