summaryrefslogtreecommitdiff
path: root/tests/topotests/bgp_features/peer3/exa_readpipe.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2021-08-06 10:46:09 -0400
committerGitHub <noreply@github.com>2021-08-06 10:46:09 -0400
commit883da9f5ec2ba6e3fc758ed3e79f6fd0f3ef20db (patch)
tree5dd05ac28f3c845395af4c306078f4342c1a4313 /tests/topotests/bgp_features/peer3/exa_readpipe.py
parent2f958e5562bad5391363d5acef40df762c917142 (diff)
parentb4f7f45b94132c831f55a66f9cf40cd97f455ce5 (diff)
Merge pull request #9256 from idryzhov/dampening-revert
BGP per-peer dampening revert
Diffstat (limited to 'tests/topotests/bgp_features/peer3/exa_readpipe.py')
-rw-r--r--tests/topotests/bgp_features/peer3/exa_readpipe.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/tests/topotests/bgp_features/peer3/exa_readpipe.py b/tests/topotests/bgp_features/peer3/exa_readpipe.py
deleted file mode 100644
index 9e689a27e3..0000000000
--- a/tests/topotests/bgp_features/peer3/exa_readpipe.py
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/usr/bin/env python
-"Helper script to read api commands from a pipe and feed them to ExaBGP"
-
-import sys
-
-if len(sys.argv) != 2:
- sys.exit(1)
-fifo = sys.argv[1]
-
-while True:
- pipe = open(fifo, "r")
- with pipe:
- line = pipe.readline().strip()
- if line != "":
- sys.stdout.write("{}\n".format(line))
- sys.stdout.flush()
- pipe.close()
-
-sys.exit(0)