← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1824346] Re: Check in "_update_segmentation_id" that the mech_driver has an agent

 

Reviewed:  https://review.opendev.org/651878
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=749b33e41bc905a3bec9d356c78a477e9b8aa87d
Submitter: Zuul
Branch:    master

commit 749b33e41bc905a3bec9d356c78a477e9b8aa87d
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Thu Apr 11 12:49:20 2019 +0000

    Check in "_update_segmentation_id" that the mech_driver has an agent
    
    In [1] it is assumed that all mechanism drivers have an agent, but the
    mech driver API [2] doesn't enforce it. VIF types will be retrieved
    only from those mechanism drivers with an associated agent.
    
    [1]https://review.openstack.org/#/c/633165/20/neutron/plugins/ml2/plugin.py@814
    [2]https://github.com/openstack/neutron-lib/blob/stable/stein/neutron_lib/plugins/ml2/api.py#L37
    
    Change-Id: I5c334f31259871ed5251d5d4a2ba8cae36bd2355
    Closes-Bug: #1824346


** Changed in: neutron
       Status: In Progress => 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/1824346

Title:
  Check in "_update_segmentation_id" that the mech_driver has an agent

Status in neutron:
  Fix Released

Bug description:
  In [1] it is assumed that all mechanism drivers have an agent, but the
  mech driver API [2] doesn't enforce it. An additional check must be
  done in order to retrieve the "agent_type" instance variable.

  [1] https://review.openstack.org/#/c/633165/20/neutron/plugins/ml2/plugin.py@814
  [2] https://github.com/openstack/neutron-lib/blob/stable/stein/neutron_lib/plugins/ml2/api.py#L37

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


References