summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-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)