]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Relabelling API version to 1.0!
authorSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Thu, 4 Aug 2011 16:42:23 +0000 (17:42 +0100)
committerSalvatore Orlando <salvatore.orlando@eu.citrix.com>
Thu, 4 Aug 2011 16:42:23 +0000 (17:42 +0100)
etc/quantum.conf
quantum/api/versions.py

index ba96a9a275f7e1abd490d4dcc31827fd255cf249..336dd5b8f1b4d2eac6d1996ced48f219547a7a3e 100644 (file)
@@ -14,7 +14,7 @@ bind_port = 9696
 [composite:quantum]
 use = egg:Paste#urlmap
 /: quantumversions
-/v0.1: quantumapi
+/v1.0: quantumapi
 
 [app:quantumversions]
 paste.app_factory = quantum.api.versions:Versions.factory
index 18635040a06a8673285b7dbf304c2b78147f5b35..2fd6812e293db9afb9b15312d463a4fd59769165 100644 (file)
@@ -31,11 +31,11 @@ class Versions(wsgi.Application):
         """Respond to a request for all Quantum API versions."""
         version_objs = [
             {
-                "id": "v0.1",
+                "id": "v1.0",
                 "status": "CURRENT",
             },
             {
-                "id": "v1.0",
+                "id": "v1.1",
                 "status": "FUTURE",
             },
         ]