From 5969fe8ca4dcfd315c3df714c03c7e7344fa8047 Mon Sep 17 00:00:00 2001 From: Pavel Moravec Date: Tue, 9 Jul 2019 13:38:34 +0200 Subject: [PATCH] [frr] FRR plugin A plugin for FRR alternative to Quagga. Path to conf is /etc/frr/. Resolves: #1666 Signed-off-by: Filip Krska Signed-off-by: Pavel Moravec --- sos/plugins/frr.py | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 sos/plugins/frr.py diff --git a/sos/plugins/frr.py b/sos/plugins/frr.py new file mode 100644 index 000000000..031b2d935 --- /dev/null +++ b/sos/plugins/frr.py @@ -0,0 +1,25 @@ +# This file is part of the sos project: https://github.com/sosreport/sos +# +# This copyrighted material is made available to anyone wishing to use, +# modify, copy, or redistribute it subject to the terms and conditions of +# version 2 of the GNU General Public License. +# +# See the LICENSE file in the source distribution for further information. + +from sos.plugins import Plugin, RedHatPlugin + + +class Frr(Plugin, RedHatPlugin): + """Frr routing service + """ + + plugin_name = 'frr' + profiles = ('network',) + + files = ('/etc/frr/zebra.conf',) + packages = ('frr',) + + def setup(self): + self.add_copy_spec("/etc/frr/") + +# vim: set et ts=4 sw=4 :