summaryrefslogtreecommitdiffhomepage
path: root/test/performance_test
diff options
context:
space:
mode:
Diffstat (limited to 'test/performance_test')
-rw-r--r--test/performance_test/README.md7
-rw-r--r--test/performance_test/test.py3
2 files changed, 10 insertions, 0 deletions
diff --git a/test/performance_test/README.md b/test/performance_test/README.md
index 841370ca..f0edaea3 100644
--- a/test/performance_test/README.md
+++ b/test/performance_test/README.md
@@ -22,3 +22,10 @@ $ cd $GOPATH/src/github.com/osrg/gobgp/test/performance_test
$ sudo PYTHONPATH=../ python test.py -t gobgp -n 1000 T1
$ sudo PYTHONPATH=../ python test.py -t quagga -n 1000 T1
```
+
+To test BIRD, pull BIRD docker image first.
+
+```shell
+$ docker pull osrg/bird
+$ sudo PYTHONPATH=../ python test.py -t bird -n 1000 T1
+```
diff --git a/test/performance_test/test.py b/test/performance_test/test.py
index 20ff6d6d..4d3e8cc8 100644
--- a/test/performance_test/test.py
+++ b/test/performance_test/test.py
@@ -1,5 +1,6 @@
from lib.gobgp import *
from lib.quagga import *
+from lib.bird import *
from fabric.api import local
from optparse import OptionParser
import sys
@@ -40,6 +41,8 @@ if __name__ == '__main__':
target = GoBGPContainer("target", 1000, "10.10.0.1", log_level='info')
elif options.target_rs == "quagga":
target = QuaggaBGPContainer("target", 1000, "10.10.0.1")
+ elif options.target_rs == "bird":
+ target = BirdContainer("target", 1000, "10.10.0.1")
else:
print 'Unknown target implementation:', options.target_rs
sys.exit(1)