← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1395122] [NEW] ML2 Cisco Nexus MD: Fail Cfg VLAN when none exists

 

Public bug reported:

This is the fix due to a regression as a result of committing bug #
1330597.  Bug #1330597 expected an error returned when the CLI
'switchport trunk allowed vlan add'  is applied.  It seems though that
not all Nexus switches will return an error.  The fix is to perform a
'get interface' to determine if 'switchport trunk allowed vlan' already
exists.  It it does, then use the 'add' keyword to 'switchport trunk
allowed vlan' otherwise leave it out.

** Affects: neutron
     Importance: Undecided
     Assignee: Carol Bouchard (caboucha)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Carol Bouchard (caboucha)

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

Title:
  ML2 Cisco Nexus MD: Fail Cfg VLAN when none exists

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  This is the fix due to a regression as a result of committing bug #
  1330597.  Bug #1330597 expected an error returned when the CLI
  'switchport trunk allowed vlan add'  is applied.  It seems though that
  not all Nexus switches will return an error.  The fix is to perform a
  'get interface' to determine if 'switchport trunk allowed vlan'
  already exists.  It it does, then use the 'add' keyword to 'switchport
  trunk allowed vlan' otherwise leave it out.

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


Follow ups

References