← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1926476] Re: Deprecation of pyroute2.IPDB in favor of pyroute2.NDB

 

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

commit c511964d70324c6974740eed245044f0fe77841e
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Fri Apr 30 10:42:31 2021 +0000

    Replace "get_routing_table" with "list_ip_routes"
    
    "get_routing_table" uses "pyroute2.IPDB" that has been deprecated.
    "list_ip_routes" has been improved to be able to read multipath
    routes.
    
    Closes-Bug: #1926476
    
    Change-Id: I0299fa11a7afefbd2999f81cd4ed3beed572009c


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

Title:
  Deprecation of pyroute2.IPDB in favor of pyroute2.NDB

Status in neutron:
  Fix Released

Bug description:
  The module "pyroute2.IPDB" is used in
  "privileged.agent.linux.ip_lib.get_routing_table".

  Output: http://paste.openstack.org/show/804836/

  Deprecation warning documentation:
  https://docs.pyroute2.org/ipdb_toc.html

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


References