From 66b0bf2568a894909c4e839b60aa06983ca8f601 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 27 Mar 2015 16:44:46 +0000 Subject: scenario_test: enable debug logging for quagga Signed-off-by: ISHIDA Wataru --- test/scenario_test/quagga-rsconfig.go | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'test/scenario_test/quagga-rsconfig.go') diff --git a/test/scenario_test/quagga-rsconfig.go b/test/scenario_test/quagga-rsconfig.go index 49fd24ea..a7ed661c 100644 --- a/test/scenario_test/quagga-rsconfig.go +++ b/test/scenario_test/quagga-rsconfig.go @@ -50,6 +50,10 @@ func (qt *QuaggaConfig) IPv4Config() *bytes.Buffer { buf.WriteString(fmt.Sprintf("network %s%d%s\n", baseNeighborNetwork["IPv4"], qt.id, baseNeighborNetMask["IPv4"])) buf.WriteString(fmt.Sprintf("neighbor %s remote-as %d\n", qt.serverIP, qt.gobgpConfig.As)) buf.WriteString(fmt.Sprintf("neighbor %s password %s\n", qt.serverIP, qt.config.AuthPassword)) + buf.WriteString("debug bgp as4\n") + buf.WriteString("debug bgp fsm\n") + buf.WriteString("debug bgp updates\n") + buf.WriteString("debug bgp events\n") buf.WriteString("log file /var/log/quagga/bgpd.log\n") return buf @@ -75,6 +79,10 @@ func (qt *QuaggaConfig) IPv6Config() *bytes.Buffer { buf.WriteString("route-map IPV6-OUT permit 10\n") buf.WriteString("match ipv6 address prefix-list pl-ipv6\n") buf.WriteString(fmt.Sprintf("set ipv6 next-hop global %s\n", qt.config.NeighborAddress)) + buf.WriteString("debug bgp as4\n") + buf.WriteString("debug bgp fsm\n") + buf.WriteString("debug bgp updates\n") + buf.WriteString("debug bgp events\n") buf.WriteString("log file /var/log/quagga/bgpd.log\n") return buf -- cgit v1.2.3