← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244777] Re: Cisco nexus plugin port-binding table needs to be redesigned

 

** Also affects: networking-cisco
   Importance: Undecided
       Status: New

** No longer affects: neutron

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

Title:
  Cisco nexus plugin port-binding table needs to be redesigned

Status in networking-cisco:
  New

Bug description:
  In the current implementation, the table cisco_nexusport_bindings uses an automatically incremented field as its primary key. 
  cisco_nexusport_bindings:
      id = sa.Column(sa.Integer, primary_key=True, autoincrement=True)
      port_id = sa.Column(sa.String(255))
      vlan_id = sa.Column(sa.Integer, nullable=False)
      switch_ip = sa.Column(sa.String(255))
      instance_id = sa.Column(sa.String(255))

  There should be one-to-one mapping between entries in the table and
  neutron ports. However, based on the above definition, such
  relationship is not properly maintained. Instead, neutron port id
  should be used as the table's primary key. Such change will improve
  the plugin design and code.

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-cisco/+bug/1244777/+subscriptions