<div dir="ltr">If I understand the main issue with using regular callbacks, it's mainly just that the flavor assignment itself is in a callback, right?<div><br></div><div>If so, couldn't we solve the problem by just moving flavor assignment to an explicit call before emitting the callbacks? Or would that still result in other ordering issues?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 3:01 AM, Takashi Yamamoto <span dir="ltr"><<a href="mailto:yamamoto@midokura.com" target="_blank">yamamoto@midokura.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">hi,<br>
<br>
today i managed to play with l3 flavors.<br>
i wrote a crude patch to implement midonet flavor. [1]<br>
<br>
[1] <a href="https://review.openstack.org/#/c/483174/" rel="noreferrer" target="_blank">https://review.openstack.org/#<wbr>/c/483174/</a><br>
<br>
a good news is it's somehow working.<br>
<br>
a bad news is it has a lot of issues, as you can see in TODO comments<br>
in the patch.<br>
given these issues, now i tend to think it's cleaner to introduce<br>
ml2-like precommit/postcommit driver api (or its equivalent via<br>
callbacks) rather than using these existing notifications.<br>
<br>
how do you think?<br>
</blockquote></div><br></div>