> @@ -41,7 +40,7 @@
>  /**
>   * Provides access to the OpenStack Networking (Neutron) v2 API.
>   */
> -@Path("{" + Constants.PROPERTY_API_VERSION + "}")
> +@Path("v2.0")

It does not backspace over this, exactly. The service-side API will always have 
a v2.0 in the path.
However, the endpoint will sometimes contain a v2.0 and sometimes it will not.
The annotation here ensures the path is always added. The 
VersionAwareRegionToEndpoint ensures that the endpoint will always look the 
same.
It is a minimal hack to get things working until versioning can be improved in 
the KeystoneModule and base tests (my guess). 
For now, I will add more comments!

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-openstack/pull/169/files#r20211786

Reply via email to