If provider net attributes are in update request body,
do an additional check to see if the values are actually
different. Only raise exception if values are different.
This backport partially picks change:
I2595335d6fbc51562b070f14eaeaadf49cf7c418. Specifically
the refactoring replacing the neutron.extensions.providernet
_raise_if_updates_provider_attributes method with the
neutron.plugins.ml2.plugin _update_provider_network_attributes
method.
Reviewed: https:/ /review. openstack. org/650238 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=234fcd61aa0 ed195639769c746 acc0e6d318b154
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 234fcd61aa0ed19 5639769c746acc0 e6d318b154
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Apr 2 16:57:17 2019 +0100
Allow provider net attr in update if no change
If provider net attributes are in update request body,
do an additional check to see if the values are actually
different. Only raise exception if values are different.
This backport partially picks change: bc51562b070f14e aeaadf49cf7c418 . Specifically extensions. providernet if_updates_ provider_ attributes method with the plugins. ml2.plugin _update_ provider_ network_ attributes
I2595335d6f
the refactoring replacing the neutron.
_raise_
neutron.
method.
Conflicts:
neutron/ extensions/ providernet. py plugins/ ml2/plugin. py tests/unit/ plugins/ ml2/test_ plugin. py
neutron/
neutron/
Closes-Bug: #1822100
Co-Authored-By: Rodolfo Alonso Hernandez <email address hidden>
Change-Id: I4ac11299375d1d 3a7d2013f1fdc17 42920d884a9 7a2cff074bb2c87 7ea36c5914)
(cherry picked from commit 20743350b9b40fd