aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Moravec <pmoravec@redhat.com>2019-07-09 13:38:34 +0200
committerPavel Moravec <pmoravec@redhat.com>2019-07-09 13:38:34 +0200
commit5969fe8ca4dcfd315c3df714c03c7e7344fa8047 (patch)
treed455c0307bb34033a2c06e0be926e02e4a249fc7
parent3006f467e6e3908193d28d76bddcc372c4b98875 (diff)
downloadsos-5969fe8ca4dcfd315c3df714c03c7e7344fa8047.tar.gz
[frr] FRR plugin
A plugin for FRR alternative to Quagga. Path to conf is /etc/frr/. Resolves: #1666 Signed-off-by: Filip Krska <fkrska@redhat.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/frr.py25
1 files changed, 25 insertions, 0 deletions
diff --git a/sos/plugins/frr.py b/sos/plugins/frr.py
new file mode 100644
index 00000000..031b2d93
--- /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 :