← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1916918] [NEW] It's better to use deepcopy in function rpc_loop of ovs-agent

 

Public bug reported:

This variable [ports] represents the current ports list in func rpc_loop. It maybe modified by any func which call it like func process_port_info. So I think it's better to deepcopy [ports] behind the while statement in func rpc_loop.
Somebody have any other opinions?

** Affects: neutron
     Importance: Undecided
         Status: New


** Tags: ovs-agent

** Tags added: ovs-agent

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

Title:
  It's better to use deepcopy in function rpc_loop of ovs-agent

Status in neutron:
  New

Bug description:
  This variable [ports] represents the current ports list in func rpc_loop. It maybe modified by any func which call it like func process_port_info. So I think it's better to deepcopy [ports] behind the while statement in func rpc_loop.
  Somebody have any other opinions?

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


Follow ups