← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1987281] Re: Create a method to add multiple IP addresses in one call

 

Reviewed:  https://review.opendev.org/c/openstack/neutron/+/855677
Committed: https://opendev.org/openstack/neutron/commit/81980146cbdcc42d2398f4e777e659fc59c3b55f
Submitter: "Zuul (22348)"
Branch:    master

commit 81980146cbdcc42d2398f4e777e659fc59c3b55f
Author: Miro Tomaska <mtomaska@xxxxxxxxxx>
Date:   Fri Sep 2 10:26:11 2022 -0500

    Add and delete multiple ip addresses in one priv call
    
    Created new add_ip_addresses privileged function
    which takes an iterable of cidrs and adds them
    in one privileged call. This is so we dont have to
    take on additional priv overhead when calling
    add_ip_address in a loop.
    For parity, performed the same change on the
    delete_ip_address function.
    
    Closes-Bug: #1987281
    Partial-Bug: #1981113
    Change-Id: Ib1278af20c3b3b057712453cb249aba34b684a21


** 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/1987281

Title:
  Create a method to add multiple IP addresses in one call

Status in neutron:
  Fix Released

Bug description:
  When the OVN metadata agent creates a local namespace in a compute
  node, it creates a network namespace, a veth pair between the OVS
  instance and the network metadata namespace and then assigns the each
  IP of the metadata port. The number of IP addresses depend on the
  number of subnets. If this number is high, setting each IP address
  individually will take some time.

  This bug proposes to create a method to pass multiple IP addresses
  that will be set in one privsep call.

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



References