bgpsim 0.20.4

A network control-plane simulator
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/usr/bin/env python3

import sys
import time


time.sleep(5)

sys.stdout.write("neighbor 10.192.0.1 announce route 100.0.0.0/24 next-hop self as-path [100, 60]\n")
sys.stdout.write("neighbor 10.192.0.1 announce route 100.0.1.0/24 next-hop self as-path [100, 40, 10]\n")
sys.stdout.flush()

while True:
    time.sleep(1)