Skip to content

Commit b783154

Browse files
committed
fix comments
1 parent 46ba2b7 commit b783154

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

get_peerinfo.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,15 @@
1010
ix = pdb.all('ix', name='chix', country='us')[0]
1111
pprint(ix)
1212

13-
# get lan on ix
13+
# get lan on ix
1414
ixlan = pdb.all('ixlan', ix_id=ix['id'])[0]
1515
pprint(ixlan)
1616

1717
# lookup network by ASN
1818
net = pdb.all('net', asn=63311)[0]
1919
pprint(net)
2020

21+
# lookup peer info by network and ixlan
2122
peerings = pdb.all('netixlan', ixlan_id=ixlan['id'], asn=63311)
2223
pprint(peerings)
2324

0 commit comments

Comments
 (0)