<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 20, 2013, at 11:14 AM, Aaron Rosen <<a href="mailto:arosen@nicira.com">arosen@nicira.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hi, <div><br></div><div>Just to align this thread again here is what i'm thinking. In the current nova api when launching an instance it takes the following params related to networks: </div><div><br></div>
<div> curl -i <a href="http://10.34.104.185:8774/v2/d4e4332d5f8c4a8eab9fcb1345406cb0/servers">http://10.34.104.185:8774/v2/d4e4332d5f8c4a8eab9fcb1345406cb0/servers</a> -X POST <br></div><div>{<snip/> "networks": [{"port": "44f789ec-612d-46c5-befc-2706df3ab0d2"}]}}<br>
</div><div>{<snip/> "networks": [{"uuid": "e6a6b169-ce03-450b-9046-0f7b08528dde"}]}}' <-- if this is passed in nova-compute calls into quantum to create the port. <br></div><div>
<br></div><div>(I believe fixed_ip is also an option but quantum doesn't use that so i'm leaving it out)<br></div><div><br></div><div>I think moving forward we should change horizon to create a port in quantum and then pass the port-id to nova-api (thus not slowing down nova-api). In order to continue supporting the current api if a request is made passing in 'networks': [{'uuid': .. we should create the port from nova-api. Doing both of these will solve the quota issue. (Changing horizon to create the ports ahead of time will allow nova-api to not be slowed down unless someone passes in a network). </div>
<div><br></div><div><br></div><div>Then, moving forward in the nova v3 api we should only accept port's and not networks to the nova-api therefore requiring someone to create a port in quantum and pass that to nova. </div>
<div><br></div><div style="">What do you guys think?</div></div></blockquote><div><br></div><div>My gut response without giving it a tremendous amount of thought is that I like this idea.</div><div><br></div><div>- Chris</div><div><br></div><div><br></div></div></body></html>