This reverts commit: b83fedbd78a441cf34d53dba35a3ccff7d8f4ac5.
Since port is set to dead by default after the commits of:
7aae31c9f9ed938760ca0be3c461826b598c7004
0ddca284542aed89df4a22607a2da03f193f083c
And we add the local vlan tag to the port right after it is
bound to aviod trunk port flood issue:
c63ebef2d58e15f4388cf064066f77b503a2f841
So that _add_port_tag_info function is not necessary anymore,
and we will save a large OVSDB read action which is dumping
the entire table of Port, for hosts with a huge number of
ports this is time-comsuming. So removed it.
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/838445 /opendev. org/openstack/ neutron/ commit/ c4adec924a1f189 fbe5750f1b413db 0d0f23c39a
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit c4adec924a1f189 fbe5750f1b413db 0d0f23c39a
Author: LIU Yulong <email address hidden>
Date: Tue Apr 19 15:17:19 2022 +0800
Remove useless function _add_port_tag_info
This reverts commit: b83fedbd78a441c f34d53dba35a3cc ff7d8f4ac5.
Since port is set to dead by default after the commits of: d938760ca0be3c4 61826b598c7004 aed89df4a22607a 2da03f193f083c
7aae31c9f9e
0ddca284542
And we add the local vlan tag to the port right after it is e15f4388cf06406 6f77b503a2f841
bound to aviod trunk port flood issue:
c63ebef2d58
So that _add_port_tag_info function is not necessary anymore,
and we will save a large OVSDB read action which is dumping
the entire table of Port, for hosts with a huge number of
ports this is time-comsuming. So removed it.
Related-Bug: #1968896 d4bb09305247818 5125b907025
Related-Bug: #1952567
Change-Id: Iefd765d497c7e2