<div dir="ltr">Agreed with Kevin and Sumit here. As a subgroup we talked about Nova integration, and the preliminary idea, as Bob alluded to, is to add "endpoint" as an option in place of Neutron port. But if we can make Nova EPG-aware, it would be great.</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 5, 2014 at 12:54 PM, Sumit Naiksatam <span dir="ltr"><<a href="mailto:sumitnaiksatam@gmail.com" target="_blank">sumitnaiksatam@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">That's right Kevin, EPG (and its association to the L2/3_Policy)<br>
capture the attributes which would represent the "network-template"<br>
being referenced here.<br>
<br>
Jay, what Bob mentioned here was an option to use the "endpoint" as a<br>
one-to-one replacement for the option of using a Neutron port. This is<br>
more so in the context of providing an evolutionary path (from the way<br>
Nova currently does it using a pre-defined port). However, if it makes<br>
sense to make Nova aware of the EPG right at the outset, then that is<br>
even better.<br>
<br>
I have also noted your suggestion on clarifying the "endpoint"<br>
terminology. This was already done in one of the patches you had<br>
reviewed earlier, and will do that in the first patch as well (where<br>
you pointed it out now).<br>
<br>
Thanks,<br>
~Sumit.<br>
<div class="HOEnZb"><div class="h5"><br>
On Tue, Aug 5, 2014 at 12:24 PM, Kevin Benton <<a href="mailto:blak111@gmail.com">blak111@gmail.com</a>> wrote:<br>
> Specifying an endpoint group would achieve the --networking-template effects<br>
> you described. The endpoint group would have all of the security policies,<br>
> IP allocation policies, connectivity policies, etc. already setup.<br>
><br>
><br>
> On Tue, Aug 5, 2014 at 1:04 PM, Jay Pipes <<a href="mailto:jaypipes@gmail.com">jaypipes@gmail.com</a>> wrote:<br>
>><br>
>> On 08/05/2014 01:13 PM, Robert Kukura wrote:<br>
>>><br>
>>><br>
>>> On 8/5/14, 11:04 AM, Gary Kotton wrote:<br>
>>>><br>
>>>> Hi,<br>
>>>> Is there any description of how this will be consumed by Nova. My<br>
>>>> concern is this code landing there.<br>
>>><br>
>>> Hi Gary,<br>
>>><br>
>>> Initially, an endpoint's port_id is passed to Nova using "nova boot ...<br>
>>> --nic port-id=<port-uuid> ...", requiring no changes to Nova. Later,<br>
>>> slight enhancements to Nova would allow using commands such as "nova<br>
>>> boot ... --nic ep-id=<endpoint-uuid> ..." or "nova boot ... --nic<br>
>>> epg-id=<endpoint-group-uuid> ...".<br>
>><br>
>><br>
>> Hi Bob,<br>
>><br>
>> How exactly is the above a friendlier API for the main user of Neutron,<br>
>> which is Nova? I thought one of the main ideas behind the GBP stuff was to<br>
>> create a more declarative and intuitive API for users of Neutron -- i.e.<br>
>> Nova -- to use in constructing needed networking objects. The above just<br>
>> seems to me to be exchanging one low-level object (port) with another<br>
>> low-level object (endpoint or endpoint group)?<br>
>><br>
>> Perhaps the disconnect is due to the term "endpoint" being used, which,<br>
>> everywhere else in the OpenStack universe, means something entirely<br>
>> different from GBP.<br>
>><br>
>> I guess, based on my understanding of the *intent* of the GBP API, I would<br>
>> have expected an API more like:<br>
>><br>
>>  nova boot ... --networking-template <UUID><br>
>><br>
>> where --networking-template would refer to a network, subnet topology, IP<br>
>> assignment policy, collection of security groups and firewall policies that<br>
>> the tenant had established prior to booting an instance... thereby making<br>
>> the API more intuitive and less cluttered.<br>
>><br>
>> Or is it that I just don't understand this new "endpoint" terminology?<br>
>><br>
>> Best,<br>
>> -jay<br>
>><br>
>><br>
>> _______________________________________________<br>
>> OpenStack-dev mailing list<br>
>> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
>> <a 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>
><br>
><br>
><br>
> --<br>
> Kevin Benton<br>
><br>
> _______________________________________________<br>
> OpenStack-dev mailing list<br>
> <a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
> <a 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>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a 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>
</div></div></blockquote></div><br></div>