dbe_read will raise this if object not available and caller
will determine if this can be gracefully handled.
Handled with 404 in GET/PUT/DEL for object in URL.
Handled with 500 if a parent/referred object is missing.
Database errors remapped to DatabaseUnavailable exception.
Reviewed: https:/ /review. opencontrail. org/19420 github. org/Juniper/ contrail- controller/ commit/ ea2951a950b020f 391001897fc66ee dc790288c4
Committed: http://
Submitter: Zuul
Branch: R2.20
commit ea2951a950b020f 391001897fc66ee dc790288c4
Author: Hampapur Ajay <email address hidden>
Date: Mon Jun 22 11:24:17 2015 -0700
config-exception: Handle dbe_read raising NoIdError
dbe_read will raise this if object not available and caller
will determine if this can be gracefully handled.
Handled with 404 in GET/PUT/DEL for object in URL.
Handled with 500 if a parent/referred object is missing.
Database errors remapped to DatabaseUnavailable exception.
Partial-Bug: #1452835
Conflicts: api-server/ tests/test_ ip_alloc. py api-server/ vnc_addr_ mgmt.py api-server/ vnc_cfg_ api_server. py api-server/ vnc_cfg_ ifmap.py api-server/ vnc_cfg_ types.py common/ tests/test_ common. py
src/config/
src/config/
src/config/
src/config/
src/config/
src/config/
Change-Id: I991e311c20d702 0bc84cd571f6484 349cdabcfaa 118c80561cd2eed 9ec9ee562b)
(cherry picked from commit c8744187390fec8