commit 46a121339ffee90154cfc900a8991735746a4c11
Author: Amit Bose <email address hidden>
Date: Fri Dec 4 11:30:16 2015 -0800
Avoid allocating multiple router gateway IPs
When an L3Policy is implicitly associated with the
'default' external-segment, multiple IP addresses
get allocated for the gateway port. This happens
because update-postcommit is called before
create-postcommit during the creation of L3Policy.
This change avoids the update-postcommit;
instead we set things up in the DB and request
context in a way so that create-postcommit behaves
as if the 'default' external-segment was specified
as part of the create request.
Closes-Bug: 1522554
Change-Id: Iebea8cf315d2ed7acbf4994940ccd57a93133475
Signed-off-by: Amit Bose <email address hidden>
Reviewed: https:/ /review. openstack. org/253664 /git.openstack. org/cgit/ openstack/ group-based- policy/ commit/ ?id=46a121339ff ee90154cfc900a8 991735746a4c11
Committed: https:/
Submitter: Jenkins
Branch: master
commit 46a121339ffee90 154cfc900a89917 35746a4c11
Author: Amit Bose <email address hidden>
Date: Fri Dec 4 11:30:16 2015 -0800
Avoid allocating multiple router gateway IPs
When an L3Policy is implicitly associated with the postcommit during the creation of L3Policy.
'default' external-segment, multiple IP addresses
get allocated for the gateway port. This happens
because update-postcommit is called before
create-
This change avoids the update-postcommit;
instead we set things up in the DB and request
context in a way so that create-postcommit behaves
as if the 'default' external-segment was specified
as part of the create request.
Closes-Bug: 1522554
Change-Id: Iebea8cf315d2ed 7acbf4994940ccd 57a93133475
Signed-off-by: Amit Bose <email address hidden>