what does north korea have to do with this?
Very simple.
if you are IRI decision makers seats, you look at what happened to Iraq and Libia.
You realize that surrender and negotiation with west is not gone bare any fruits for your governing regime other than internal division.
on the other hand North Korea acquired real leverage. and has managed to bring three different U.S administrations to negotiating table to concede points to its regime.
IRI realizes that it is not a North Korea situation and it will never be.
so on an off it has negotiated with powers running the world.
When IRI managed to bring Obama Admin to negotiation table, it had some leverage and it was its so called three month break out time.
the Americans had the leverage of oil exports sanctions around iran's noose.
back to today.
Iran is still exporting 2.3 million of oil. and it is likely that china will always provide a floor of 1 million barrels.
on other hand Iran's break out time is now something like 2 years thanks JCPOA. so currently America has upper hand but not a full house by any means.
so what we will likely see (If iran's internal politics allows) is a return to iran trying to ramp up its enrichment activity.
America will tighten the noose around iran's neck with sanctions and the two governments after some 5 years or something will again negotiate.
of course a misstep by both sides is possible.
but currently no side has enough cocering power to force the other to negotiate as an underdog.