(uri)
return {"version":
            {"status": "SUPPORTED",
             "updated": "2011-01-21T11:33:21Z",
             "links": [{"href": uri,
                        "rel": "self"},
                       {"href": "http://docs.openstack.org/",
                        "type": "text/html",
                        "rel": "describedby"}],
             "min_version": "",
             "version": "",
             "media-types":
             [{
                 "base": "application/json",
                 "type": "application/vnd.openstack.compute+json;version=2"
             }],
             }
            }
Canned response nova v2 version.

    Cf: http://developer.openstack.org/api-ref-compute-v2.1.html
    #listVersionsv2.1
Canned response nova v2 version.
Canned response nova v2 version .
def get_version_v2(uri):
    """
    Canned response nova v2 version.

    Cf: http://developer.openstack.org/api-ref-compute-v2.1.html
    #listVersionsv2.1
    """
    return {"version":
            {"status": "SUPPORTED",
             "updated": "2011-01-21T11:33:21Z",
             "links": [{"href": uri,
                        "rel": "self"},
                       {"href": "http://docs.openstack.org/",
                        "type": "text/html",
                        "rel": "describedby"}],
             "min_version": "",
             "version": "",
             "media-types":
             [{
                 "base": "application/json",
                 "type": "application/vnd.openstack.compute+json;version=2"
             }],
             }
            }
def get_version_v2 ( uri ) : return { "version" : { "status" : "SUPPORTED" , "updated" : "2011-01-21T11:33:21Z" , "links" : [ { "href" : uri , "rel" : "self" } , { "href" : "http://docs.openstack.org/" , "type" : "text/html" , "rel" : "describedby" } ] , "min_version" : "" , "version" : "" , "media-types" : [ { "base" : "application/json" , "type" : "application/vnd.openstack.compute+json;version=2" } ] , } }