In any case, check out Abe Greenwald, at Commentary, "The Deal Wasn’t About Iran’s Nukes":
If you think the United States just struck a poor nuclear deal with Iran, you’re right; but if that’s your key takeaway, you’re missing the point. Iran’s nuclear program was last on the list of the Obama administration’s priorities in talking to Tehran. The administration readily caved on Iran’s nukes because it viewed the matter only as a timely pretense for achieving other cherished aims. These were: (1) preventing an Israeli attack on Iran; (2) transforming the United States into a more forgiving, less imposing power; (3) establishing diplomacy as a great American good in itself; (4) making Iran into a great regional power; and (5), ensuring the legacies of the president and secretary of state as men of vision and peace.Continue reading.
The administration has always viewed Israel as an intractable troublemaker and the main catalyst for the region’s woes. An Israeli strike on Iran, especially if supported by the United States, would have been yet another display of destabilizing Israeli aggression that put Middle East peace further out of reach. Barack Obama, therefore, repeatedly warned Israel against attacking Iran. Benjamin Netanyahu complied, and for his compliance White House officials taunted him in 2014 as a “chickenshit” whose window of opportunity had closed. That window is now barred. The Iran deal states that the U.S. will train Iranians to counter any sabotage attempts on its nuclear facilities and systems. This is aimed at frustrating Israeli action...
from American Power http://americanpowerblog.blogspot.com/2015/07/obamas-iran-deal-wasnt-about-thwarting.html