diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2016-09-26 13:59:54 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-10-04 07:45:53 +0900 |
commit | 81d5d8f56899eb6d52cd7acc67289125cd97a038 (patch) | |
tree | 543f019bd18ea8c0ea121d02bef9c0313734b0eb /doc/source/quantumclient/common/exceptions.py | |
parent | a3ab6c8ab3770b111f9bef21775db25874b44930 (diff) |
BGPSpeaker: Fix to enable to notify peer down
If BGPSpeaker.neighbor_del() is called, an event to notify peer down
via _notify_peer_down() method will be generated.
But when _notify_peer_down() method is called, peer.protocol is
already cleaned up with None, so _notify_peer_down() method will fail
to get the neighbor info (IP address, AS number).
This patch fixes to retrieve the neighbor info from the neighbor
configuration info of Peer class and fixes this problem.
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/quantumclient/common/exceptions.py')
0 files changed, 0 insertions, 0 deletions