Comment 5 for bug 1616066

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

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

commit 89ed530fecf4b41aa331c7594496d2a048f4d682
Author: Sreekumar S <email address hidden>
Date: Thu Sep 8 20:44:42 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

    Change-Id: Ief9e88ca12b04eb08b0cc4e60f9d883f1e282ae9
    Closes-Bug: #1616066