bgp- research & experiments with border gateway protocol |
git clone git://git.acid.vegas/bgp.git |
Log | Files | Refs | Archive | README |
pybgpstream-ris-live.py (258B)
1 #!/usr/bin/env python 2 3 import pybgpstream 4 stream = pybgpstream.BGPStream( 5 # accessing ris-live 6 project="ris-live", 7 # filter to show only stream from rrc00 8 filter="collector rrc00", 9 ) 10 11 for elem in stream: 12 print(type(elem)) 13 print(elem)