Comment 2 for bug 1702881

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to omni (master)

Reviewed: https://review.openstack.org/481576
Committed: https://git.openstack.org/cgit/openstack/omni/commit/?id=ed23220a8dd42f12071e21a2ceadf95ea56e8719
Submitter: Jenkins
Branch: master

commit ed23220a8dd42f12071e21a2ceadf95ea56e8719
Author: Pratik Shah <email address hidden>
Date: Fri Jul 7 16:30:23 2017 +0530

    Fixed a bug in Neutron GCE router to run on master and stable/newton

    Issue:
    - Classes used in gce_router_plugin.py are different on master and
    stable/newton branch.
    Example:
    - In newton branch, we are importing "from neutron.db import l3_db"
    and we are using this import as l3_db.Router. But on master branch,
    l3_db doesn't have attribute "Router". Hence to solve this, we need
    to import "from neutron.db.models import l3".

    File Modified:
    - neutron/neutron/services/l3_router/gce_router_plugin.py
    Closes-Bug: #1702881

    Change-Id: I4d872ee0034417cdf38e774d69d1acec7924cc17