bgp/examples/pybgpstream-routeviews-stream.py
2023-09-03 23:37:29 -04:00

13 lines
261 B
Python

#!/usr/bin/env python
import pybgpstream
stream = pybgpstream.BGPStream(
# accessing routeview-stream
project="routeviews-stream",
# filter to show only stream from amsix bmp stream
filter="router amsix",
)
for elem in stream:
print(elem)