Comment 7 for bug 1616066

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/mitaka)

Reviewed: https://review.openstack.org/372244
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=788d889b24f79345990b8bca7e9a41e6f0e03e42
Submitter: Jenkins
Branch: stable/mitaka

commit 788d889b24f79345990b8bca7e9a41e6f0e03e42
Author: Sreekumar S <email address hidden>
Date: Mon Sep 19 11:45:09 2016 +0530

    Fixes KeyError while updating bgp peer

    This will fix the issue of KeyError being thrown when
    'password' is not supplied while updating bgp peer.
    The dict get() method is used to return None when
    'password' key is not available.

    Two unit tests are also added which will test the cases
    1) Exception thrown if the auth type is 'none', and a
    password is supplied when updating
    2) When the password is not supplied

    This was fixed in master on project
    openstack/neutron-dynamic-routing with
    change id- Ief9e88ca12b04eb08b0cc4e60f9d883f1e282ae9

    Since the bug was originally raised for mitaka, the
    original PS mentioned above is being manually
    backported here.

    Change-Id: Ib1f477c6243e5cf92143a21bc86e9759c9de4803
    Closes-Bug: #1616066