summaryrefslogtreecommitdiffhomepage
path: root/test/scenario_test/lib/quagga.py
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-22 16:52:44 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-08-22 17:48:57 +0900
commitcbd731658749acad58759e4f7fe0849d5111a3b3 (patch)
tree4f1adbde54786b3d198c6472eb4ec3f386a55052 /test/scenario_test/lib/quagga.py
parentae1222b0a21201abaca26158ab63732d943c225d (diff)
test: add a method BGPContainer.log() to get log of bgp speakers
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'test/scenario_test/lib/quagga.py')
-rw-r--r--test/scenario_test/lib/quagga.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/scenario_test/lib/quagga.py b/test/scenario_test/lib/quagga.py
index 8f2ba9a2..8d3e0612 100644
--- a/test/scenario_test/lib/quagga.py
+++ b/test/scenario_test/lib/quagga.py
@@ -198,7 +198,7 @@ class QuaggaBGPContainer(BGPContainer):
c << 'debug bgp fsm'
c << 'debug bgp updates'
c << 'debug bgp events'
- c << 'log file /tmp/bgpd.log'.format(self.SHARED_VOLUME)
+ c << 'log file {0}/bgpd.log'.format(self.SHARED_VOLUME)
with open('{0}/bgpd.conf'.format(self.config_dir), 'w') as f:
print colors.yellow('[{0}\'s new config]'.format(self.name))