summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-01-21 14:03:09 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2015-01-26 01:37:17 +0900
commit611ffbe5a6a9331e644b9a8d7204ece8d92f1f8d (patch)
tree0ab4d5eb8bc6d433472b3dd6256eea883107b1f8
parente3e07209e3d15baafc15bef345173dd64f8778dc (diff)
bgp: remove unnecessary bgp update construction
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/services/protocols/bgp/bmp.py7
1 files changed, 0 insertions, 7 deletions
diff --git a/ryu/services/protocols/bgp/bmp.py b/ryu/services/protocols/bgp/bmp.py
index 78175ee8..9af87ea3 100644
--- a/ryu/services/protocols/bgp/bmp.py
+++ b/ryu/services/protocols/bgp/bmp.py
@@ -89,7 +89,6 @@ class BMPClient(Activity):
def on_adj_rib_in_changed(self, data):
peer = data['peer']
path = data['received_route']
- update_msg = peer._construct_update(path)
msg = self._construct_route_monitoring(peer, path)
self._send(msg)
@@ -98,11 +97,6 @@ class BMPClient(Activity):
msg = self._construct_peer_up_notification(peer)
self._send(msg)
- for path in peer._adj_rib_in.itervalues():
- update_msg = peer._construct_update(path)
- msg = self._construct_route_monitoring(peer, path)
- self._send(msg)
-
def on_adj_down(self, data):
peer = data['peer']
msg = self._construct_peer_down_notification(peer)
@@ -237,7 +231,6 @@ class BMPClient(Activity):
self._send(msg)
for path in peer._adj_rib_in.itervalues():
- update_msg = peer._construct_update(path)
msg = self._construct_route_monitoring(peer, path)
self._send(msg)