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.
Reviewed: https:/ /review. opencontrail. org/3223 github. org/Juniper/ contrail- controller/ commit/ f1342cfddd940e8 5c08d763d935db1 2f7aa66d91
Committed: http://
Submitter: Zuul
Branch: R1.10
commit f1342cfddd940e8 5c08d763d935db1 2f7aa66d91
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
Closes-Bug: 1373257