During router create, if we are also updating external gateway, we were updating the logical_router object without reading it. This could clobber the id_perms on the server. We should read before updating the object. Ideally, we should protect against this in api server.
Change-Id: I529b7f9e0b2ab3b635809af8678addc34467422c
Closes-Bug: 1373257
(cherry picked from commit f1342cfddd940e85c08d763d935db12f7aa66d91)
Reviewed: https:/ /review. opencontrail. org/3224 github. org/Juniper/ contrail- controller/ commit/ 0f245ac6ea7f607 e462478d3a4136f 7aef7286ce
Committed: http://
Submitter: Zuul
Branch: master
commit 0f245ac6ea7f607 e462478d3a4136f 7aef7286ce
Author: Sachin Bansal <email address hidden>
Date: Fri Sep 26 15:48:25 2014 -0700
During router create, if we are also updating external gateway, we were updating the logical_router object without reading it. This could clobber the id_perms on the server. We should read before updating the object. Ideally, we should protect against this in api server.
Change-Id: I529b7f9e0b2ab3 b635809af8678ad dc34467422c 5c08d763d935db1 2f7aa66d91)
Closes-Bug: 1373257
(cherry picked from commit f1342cfddd940e8