Signed-off-by: ISHIDA Wataru <[email protected]>
---
 ryu/services/protocols/bgp/bmp.py | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/ryu/services/protocols/bgp/bmp.py 
b/ryu/services/protocols/bgp/bmp.py
index 78175ee..9af87ea 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)
 
-- 
1.9.1


------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to