<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 30 March 2016 at 13:40, Sean Dague <span dir="ltr"><<a href="mailto:sean@dague.net" target="_blank">sean@dague.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/29/2016 09:55 PM, Matt Riedemann wrote:<br>
<snip><br>
<span class="">><br>
> Yup, HenryG walked me through the cases on IRC today.<br>
><br>
> The more I think about option (b) above, the less I like that idea given<br>
> how much work goes into the allocate_for_instance code in nova where<br>
> it's already building the list of possible networks that will be used<br>
> for creating/updating ports, we'd essentially have to duplicate that<br>
> logic in a separate method to get an idea of what security groups would<br>
> be applied.<br>
><br>
> I'd prefer to be lazy and go with option (a) and just say nova doesn't<br>
> return security-groups in the REST API when creating a server and<br>
> neutron is the network API. That would require a microversion probably,<br>
> but it would still be easy to do. I'm not sure if that's the best user<br>
> experience though.<br>
><br>
<br>
</span>Is there a sane resource on the neutron side we could link to? Today<br>
security_groups are returned with a name from nova, which made sense<br>
when it was an internal structure, but makes way less sense now.<br>
<br>
"security_groups": [<br>
       {<br>
                "href": "....",<br>
        }<br>
]<br>
<br>
Where the link is to a neutron resource (and we could do a local link<br>
for the few nova net folks) might be more appropriate.<br></blockquote><div><br></div><div>Not that I could think of, though the extra level of indirection to solve this issue is kind of a neat idea.</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<span class="HOEnZb"><font color="#888888"><br>
        -Sean<br>
<br>
--<br>
Sean Dague<br>
<a href="http://dague.net" rel="noreferrer" target="_blank">http://dague.net</a><br>
</font></span><div class="HOEnZb"><div class="h5"><br>
__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div></div>