← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1620334] Re: Neutron dynamic routing: remove derpracted DB warnings

 

Reviewed:  https://review.openstack.org/365679
Committed: https://git.openstack.org/cgit/openstack/neutron-dynamic-routing/commit/?id=c8a632acf6e7f67f5658469a197a53e4cdcb39e0
Submitter: Jenkins
Branch:    master

commit c8a632acf6e7f67f5658469a197a53e4cdcb39e0
Author: Gary Kotton <gkotton@xxxxxxxxxx>
Date:   Mon Sep 5 07:29:50 2016 -0700

    Use model_base from neutron-lib
    
    This removes the deprecation warnings.
    
    In addition to this this also changed HasTenant
    to HasProject
    
    Change-Id: I6cce8dffb5f85276d904b101bcd46c04a12a147d
    Closes-bug: #1620334


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

Title:
  Neutron dynamic routing: remove derpracted DB warnings

Status in neutron:
  Fix Released

Bug description:
  neutron_dynamic_routing/db/bgp_db.py:46: DeprecationWarning: neutron.db.model_base.BASEV2: moved to neutron_lib.db.model_base.BASEV2
    class BgpSpeakerPeerBinding(model_base.BASEV2):
  neutron_dynamic_routing/db/bgp_db.py:64: DeprecationWarning: neutron.db.model_base.BASEV2: moved to neutron_lib.db.model_base.BASEV2
    class BgpSpeakerNetworkBinding(model_base.BASEV2):
  neutron_dynamic_routing/db/bgp_db.py:84: DeprecationWarning: neutron.db.model_base.BASEV2: moved to neutron_lib.db.model_base.BASEV2
    class BgpSpeaker(model_base.BASEV2,
  neutron_dynamic_routing/db/bgp_db.py:85: DeprecationWarning: neutron.db.model_base.HasId: moved to neutron_lib.db.model_base.HasId
    model_base.HasId,
  neutron_dynamic_routing/db/bgp_db.py:86: DeprecationWarning: neutron.db.model_base.HasTenant: moved to neutron_lib.db.model_base.HasProject
    model_base.HasTenant):
  neutron_dynamic_routing/db/bgp_db.py:107: DeprecationWarning: neutron.db.model_base.BASEV2: moved to neutron_lib.db.model_base.BASEV2
    class BgpPeer(model_base.BASEV2,
  neutron_dynamic_routing/db/bgp_db.py:108: DeprecationWarning: neutron.db.model_base.HasId: moved to neutron_lib.db.model_base.HasId
    model_base.HasId,
  neutron_dynamic_routing/db/bgp_db.py:109: DeprecationWarning: neutron.db.model_base.HasTenant: moved to neutron_lib.db.model_base.HasProject
    model_base.HasTenant):
  neutron_dynamic_routing/db/bgp_dragentscheduler_db.py:47: DeprecationWarning: neutron.db.model_base.BASEV2: moved to neutron_lib.db.model_base.BASEV2
    class BgpSpeakerDrAgentBinding(model_base.BASEV2):

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


References