<p dir="ltr">Looks like Manila is using the service name instead of type (X-OpenStack-Manila-API-Version) according to this link anyway: <a href="http://docs.openstack.org/developer/manila/devref/api_microversion_dev.html">http://docs.openstack.org/developer/manila/devref/api_microversion_dev.html</a></p>
<p dir="ltr">Keystone can follow the cross project spec and use the service type (Identity instead of Keystone). </p>
<div class="gmail_quote">On Jun 17, 2016 12:44 PM, "Ed Leafe" <<a href="mailto:ed@leafe.com">ed@leafe.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Jun 17, 2016, at 11:29 AM, Henry Nash <<a href="mailto:henrynash9@mac.com">henrynash9@mac.com</a>> wrote:<br>
<br>
> We are currently in the process of implementing microversion support in keystone - and are obviously trying to follow the cross-projec spec for this (<a href="http://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html" rel="noreferrer" target="_blank">http://specs.openstack.org/openstack/api-wg/guidelines/microversion_specification.html</a>).<br>
><br>
> One thing I noticed was that the header specified in this spec is of the form:<br>
><br>
> OpenStack-API-Version: [SERVICE_TYPE] [X,Y]<br>
><br>
> for example:<br>
><br>
> OpenStack-API-Version: identity 3.7<br>
><br>
> However, from what i can see of the current implementations I have seen of microversioning in OpenStack (Nova, Manilla), they use service-specific headers, e.g.<br>
><br>
> X-OpenStack-Nova-API-Version: 2.12<br>
><br>
> My question is whether there a plan to converge on the generalized header format….or are we keep with the service-specific headers? I’d obviously like to implement the correct one for keystone.<br>
<br>
Yes, the plan is to converge on the more generic headers. The Nova headers (don’t know about Manilla) pre-date the API WG spec, and were the motivation for development of that spec. We’ve even made it possible to accept both header formats [0] until things can be migrated to the recommended format.<br>
<br>
[0] <a href="https://review.openstack.org/#/c/300077/" rel="noreferrer" target="_blank">https://review.openstack.org/#/c/300077/</a><br>
<br>
-- Ed Leafe<br>
<br>
<br>
<br>
<br>
<br>
<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>
</blockquote></div>