7
# When the parent dies we are seeing continual newlines, so we only access so many before stopping
10
# sleep a little bit or we will never see the asm in the configuration file
11
# and the message received just before we go to the established loop will be printed twice
14
print 'operational rpcq afi ipv4 safi unicast sequence %d' % counter
15
print 'operational rpcp afi ipv4 safi unicast sequence %d rxc 100 txc 200' % counter
20
print 'operational apcq afi ipv4 safi unicast sequence %d' % counter
21
print 'operational apcp afi ipv4 safi unicast sequence %d counter 150' % counter
26
print 'operational lpcq afi ipv4 safi unicast sequence %d' % counter
27
print 'operational lpcp afi ipv4 safi unicast sequence %d counter 250' % counter
34
print 'operational adm afi ipv4 safi unicast advisory "this is dynamic message #%d"' % counter
37
print 'operational asm afi ipv4 safi unicast advisory "we SHOULD not send asm from the API"'
41
except KeyboardInterrupt: