|
|
|
@ -92,7 +92,8 @@ def http_error_to_exception(status_code, error_code, related_error_codes=None):
|
|
|
|
|
'500105': exceptions.NsxOverlapAddresses, |
|
|
|
|
'500232': exceptions.StaleRevision, # Missing dependent objects |
|
|
|
|
'503040': exceptions.NsxSegemntWithVM, |
|
|
|
|
'100148': exceptions.StaleRevision}, |
|
|
|
|
'100148': exceptions.StaleRevision, |
|
|
|
|
'500012': exceptions.NsxInvalidPath}, |
|
|
|
|
requests.codes.CONFLICT: exceptions.StaleRevision, |
|
|
|
|
requests.codes.PRECONDITION_FAILED: exceptions.StaleRevision, |
|
|
|
|
requests.codes.INTERNAL_SERVER_ERROR: |
|
|
|
|