support ssl in quantum client
make sure quantum client support ssl quantum server
Blueprint information
- Status:
- Complete
- Approver:
- yong sheng gong
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- Accepted for 2.0
- Implementation:
- Implemented
- Milestone target:
- 2.2.1-2.2.6
- Started by
- Akihiro Motoki
- Completed by
- Akihiro Motoki
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Handle SSL certificates validation properly.
Addressed by: https:/
Don't convert httplib2 exceptions to status codes
[yong sheng gong]: I think 27270 is safe to get in (I mean the compatibility):
before it:
>>> from quantumclient.
>>> quantum = client.
>>> quantum.
REQ: curl -i http://
RESP:{'status': '400', 'content-length': 34, 'content-type': 'text/plain'} Unable to find the server at test4
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "quantumclient/
ret = self.function(
File "quantumclient/
return self.post(
File "quantumclient/
headers=
File "quantumclient/
self.
File "quantumclient/
exception_
File "quantumclient/
message=
quantumclient.
after it:
>>> from quantumclient.
>>> quantum = client.
>>> quantum.
REQ: curl -i http://
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "quantumclient/
ret = self.function(
File "quantumclient/
return self.post(
File "quantumclient/
headers=
File "quantumclient/
resp, replybody = self.httpclient
File "quantumclient/
**kwargs)
File "quantumclient/
raise exceptions.
quantumclient.