← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1512636] Re: VLAN tag information is added to "port" after calling the agent setup port function

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1512636

Title:
  VLAN tag information is added to "port" after calling the agent setup
  port function

Status in neutron:
  Fix Released

Bug description:
  Description:
  During the creation or modification of a neutron port, in the ovs_neutron_agent, the OVS tag information is added to the port after calling the SG agent function to setup the port.

  Pre-conditions:
  File: neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py
  Funtion: process_network_ports

  Step-by-step:
  During the creation or the modification of a neutron port, the following calls are made:
  - treat_devices_added_or_updated
  - sg_agent.setup_port_filters
  - _bind_devices

  The problem is the "port" variable if fulfilled with the VLAN OVS tag
  information during the _bind_devices call. This information is needed
  for some OVS SG driver implementations, for example
  https://review.openstack.org/#/c/240957/.

  Proposed solution:
  Call _bind_devides before the sg_agent call.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1512636/+subscriptions


References