[ovn]: gracefully handle logical switch ports with tag set to None
AddLSwitchPortCommand takes kwargs as columns and tag is one of them.
It is possible that tag is provided with the value None and that is
not valid. The proposed change gracefully handles such cases so the
transaction is not aborted.
Change-Id: I0f3cb6f534072e166610b417059acbe89302473a
Closes-Bug: #1888736
(cherry picked from commit fe440bdd6be190588ec4310ef9630285c0acfec6)
Reviewed: https:/ /review. opendev. org/747365 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=423e3907bc3 e911f5f728cef66 8fad1b38dd25d9
Committed: https:/
Submitter: Zuul
Branch: stable/ussuri
commit 423e3907bc3e911 f5f728cef668fad 1b38dd25d9
Author: Flavio Fernandes <email address hidden>
Date: Thu Jul 23 19:02:34 2020 -0400
[ovn]: gracefully handle logical switch ports with tag set to None
AddLSwitchP ortCommand takes kwargs as columns and tag is one of them.
It is possible that tag is provided with the value None and that is
not valid. The proposed change gracefully handles such cases so the
transaction is not aborted.
Change-Id: I0f3cb6f534072e 166610b417059ac be89302473a 88ec4310ef96302 85c0acfec6)
Closes-Bug: #1888736
(cherry picked from commit fe440bdd6be1905