Comment 3 for bug 1705663

Revision history for this message
jichenjc (jichenjc) wrote :

[root@OSPRUI ~] # curl -g -i --cacert "/data/PKIcerts/certs/cacert.pem" -X GET https://9.60.29.98:8774/compute/v2.0 -H "OpenStack-API-Version: compute 2.37" -H "User-Agent: python-novaclient" -H "Accept: application/json" -H "X-OpenStack-Nova-API-Version: 2.37" -H "X-Auth-Token: 28cf476873b14b6088e9c575e9be3afe"
HTTP/1.1 300 Multiple Choices
Content-Length: 465
Content-Type: application/json
Date: Thu, 27 Jul 2017 08:17:30 GMT

{"choices": [{"status": "SUPPORTED", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2"}], "id": "v2.0", "links": [{"href": "https://9.60.29.98:8774/v2/compute/v2.0", "rel": "self"}]}, {"status": "CURRENT", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.compute+json;version=2.1"}], "id": "v2.1", "links": [{"href": "https://9.60.29.98:8774/v2.1/compute/v2.0", "rel": "self"}]}]}[root@OSPRUI ~] #