Blame SOURCES/sos-bz1709906-frr-plugin.patch

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