bird-lg/test.py
2012-01-20 00:12:37 +01:00

7 lines
151 B
Python

from bird import BirdSocketSingleton
s = BirdSocketSingleton("h3", 9994)
print s.cmd("show protocols")
print s.cmd("show protocols all TETANEUTRAL")