← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1424587] [NEW] In ML2 plugin for accessing private attributes of PortContext members use accessors

 

Public bug reported:

In the ML2 plugin instead of accessing the private members of
PortContext directly, use accessors. For example:

orig_context._network_context._network

should be:

orig_context.network.current


port = mech_context._port

should be:

port = mech_context.current

and so on...

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: low-hanging-fruit ml2

** Tags added: ml2

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

Title:
  In ML2 plugin for accessing private attributes of PortContext members
  use accessors

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  In the ML2 plugin instead of accessing the private members of
  PortContext directly, use accessors. For example:

  orig_context._network_context._network

  should be:

  orig_context.network.current

  
  port = mech_context._port

  should be:

  port = mech_context.current

  and so on...

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


Follow ups

References