Browse Source

Merge "[ovn]: gracefully handle logical switch ports with tag set to None" into stable/ussuri

changes/93/747293/6
Zuul 3 weeks ago
committed by Gerrit Code Review
parent
commit
d2d90d3e08
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/commands.py

+ 1
- 0
neutron/plugins/ml2/drivers/ovn/mech_driver/ovsdb/commands.py View File

@@ -125,6 +125,7 @@ class AddLSwitchPortCommand(command.BaseCommand):

port = txn.insert(self.api._tables['Logical_Switch_Port'])
port.name = self.lport
port.tag = self.columns.pop('tag', []) or []
dhcpv4_options = self.columns.pop('dhcpv4_options', [])
if isinstance(dhcpv4_options, list):
port.dhcpv4_options = dhcpv4_options


Loading…
Cancel
Save