Browse Source

regression fix BZ#1770931

Change-Id: Ibf2c23075c73fe69cde62bdd1d10ea967352df26
(cherry picked from commit 7114587232)
tags/0.3.1
Dan Radez 3 months ago
parent
commit
5fba148e91
1 changed files with 2 additions and 3 deletions
  1. +2
    -3
      networking_ansible/ml2/mech_driver.py

+ 2
- 3
networking_ansible/ml2/mech_driver.py View File

@@ -256,9 +256,8 @@ class AnsibleMechanismDriver(api.MechanismDriver):
self.ansnet.conf_trunk_port(switch_name, switch_port,
segmentation_id, trunked_vlans)
else:
self.ansnet.vlan_access_port(switch_name,
switch_port,
segmentation_id)
self.ansnet.vlan_access_port('assign', context.current,
context.network.current)
context.set_binding(segments[0][api.ID],
portbindings.VIF_TYPE_OTHER, {})
LOG.info('Port {neutron_port} has been plugged into '

Loading…
Cancel
Save