<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 05/16/2013 05:02 PM, Aaron Rosen wrote:
    <blockquote
cite="mid:CANAD0X-g+02f-pp3J72PgWrXwuJzPTjR5b61eVdq6z5kC=7quQ@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <br>
          <div class="gmail_quote">On Wed, May 15, 2013 at 10:59 PM,
            Gary Kotton <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:gkotton@redhat.com" target="_blank">gkotton@redhat.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>
                  <div class="h5"> On 05/15/2013 10:53 PM, Aaron Rosen
                    wrote:
                    <blockquote type="cite">
                      <div dir="ltr">
                        <div>Hi, <br>
                          <br>
                        </div>
                        I created the following blueprint and wanted to
                        hear what the community though before starting
                        on it. <br>
                        <div>
                          <div><br>
                            <a moz-do-not-send="true"
href="https://blueprints.launchpad.net/nova/+spec/nova-api-quantum-create-port"
                              target="_blank">https://blueprints.launchpad.net/nova/+spec/nova-api-quantum-create-port</a><br>
                          </div>
                        </div>
                      </div>
                    </blockquote>
                    <br>
                  </div>
                </div>
                In the BP you wrote: "The only downside I see of moving
                this logic into nova-api is that we would slow down the
                response time from nova-api to provision instances."<br>
                <br>
                This can be addressed by nova prefetching quantum ports.
                When nova needs a port is can be retrieved from a cached
                pool. This may be a way of addressing this at a later
                stage if the nova api is indeed a bottleneck when it
                comes to the quantum interface (please note that this
                currently happens on the compute node at the moment)<br>
                <br>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>If there are ports that are preallocated and cached in
              a pool of available ports on the nova-api node this won't
              work if running multiple nova-api nodes with a load
              balancer in front. <br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Why? It is just an implementation detail. This information can be
    maintained in the nova database.<br>
    <br>
    <blockquote
cite="mid:CANAD0X-g+02f-pp3J72PgWrXwuJzPTjR5b61eVdq6z5kC=7quQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">
            <div>
            </div>
            <div> </div>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000"> Thanks<br>
                Gary<br>
                <br>
                <blockquote type="cite">
                  <div dir="ltr">
                    <div>
                      <div> <br>
                      </div>
                      <div>Thanks, <br>
                        <br>
                        Aaron<br>
                      </div>
                    </div>
                  </div>
                  <br>
                  <fieldset></fieldset>
                  <br>
                  <pre>_______________________________________________
OpenStack-dev mailing list
<a moz-do-not-send="true" href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a>
<a moz-do-not-send="true" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
                </blockquote>
                <br>
              </div>
              <br>
              _______________________________________________<br>
              OpenStack-dev mailing list<br>
              <a moz-do-not-send="true"
                href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
              <a moz-do-not-send="true"
                href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev"
                target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
              <br>
            </blockquote>
          </div>
          <br>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>