5 Commits

Author SHA1 Message Date
Chris Yeoh
0d532673d7 Adds ExternalIpAddressExhaustedClient exception
Adds the ExternalIpAddressExhaustedClient exception so
a more specific exception than NeutronClientException is raised
when IPs run out. This will allow for better exception
handling in Nova.

Closes-Bug: 1233143

Change-Id: I9f40bf14eec0f485dfd21b36605a2474b99a8941
2013-09-30 22:30:10 +09:30
Chris Yeoh
16bf2825ad Adds IpAddressGenerationFailureClient exception
Adds the IpAddressGenerationFailureClient exception so
a more specific exception than NeutronClientException is raised
when IPs run out. This will allow for better exception
handling in Nova and help fix nova bug 1212137

Change-Id: I921ba5d5f5ee3dc9620dcdbbd04d6fef824c9a53
Closes-Bug: 1231836
2013-09-27 17:04:44 +09:30
Roman Podolyaka
499ed84bd7 Handle host side SSL certificates validation
- add --os-cacert option which allows to set a file containing
   certificates of root CAs (certificate authorities) that are
   required for validation of HTTPS servers SSL certificates

 - wrap httplib2 SSL certificates validation errors with a
   custom quantumclient exception

Blueprint: quantum-client-ssl

Change-Id: I4e6a7d177ba14314ba9bed613ec2684bffc35222
2013-07-23 16:15:19 +03:00
Aaron Rosen
04178517bc raise better exception for duplicate match
When a duplicate match is found the client previously raised a
NeutronClientException which made it hard for programs using the client
to handle errors. This patch now  makes it raise a
NeutronClientNoUniqueMatch  exception instead.

Fixes bug: 1200323

Change-Id: I6ef6f9a9e257104f676dde7ec26be98417ec70e0
2013-07-16 13:46:01 -07:00
Mark McClain
93ac15bfeb Rename quantumclient to neutronclient
Implements Blueprint: remove-use-of-quantum

Change-Id: Idebe92d56d277435ffd23f292984f9b8b8fdb2df
2013-07-03 11:56:44 -04:00