* [ptxdist] [PATCHv2 1/1] quagga: this patch adds quagga support to ptxdist
@ 2015-04-09 6:37 Oliver Graute
2015-04-16 12:58 ` [ptxdist] Antwort: " Oliver.Graute
0 siblings, 1 reply; 2+ messages in thread
From: Oliver Graute @ 2015-04-09 6:37 UTC (permalink / raw)
To: ptxdist; +Cc: Oliver Graute
Quagga is a routing software suite
Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
generic/etc/babeld.conf | 30 ++++++++++++++++++++
generic/etc/bgpd.conf | 29 +++++++++++++++++++
generic/etc/ospf6d.conf | 52 ++++++++++++++++++++++++++++++++++
generic/etc/ospfd.conf | 13 +++++++++
generic/etc/ripd.conf | 24 ++++++++++++++++
generic/etc/ripngd.conf | 22 +++++++++++++++
generic/etc/zebra.conf | 25 ++++++++++++++++
rules/quagga.in | 12 ++++++++
rules/quagga.make | 72 +++++++++++++++++++++++++++++++++++++++++++++++
9 files changed, 279 insertions(+)
create mode 100644 generic/etc/babeld.conf
create mode 100644 generic/etc/bgpd.conf
create mode 100644 generic/etc/ospf6d.conf
create mode 100644 generic/etc/ospfd.conf
create mode 100644 generic/etc/ripd.conf
create mode 100644 generic/etc/ripngd.conf
create mode 100644 generic/etc/zebra.conf
create mode 100644 rules/quagga.in
create mode 100644 rules/quagga.make
diff --git a/generic/etc/babeld.conf b/generic/etc/babeld.conf
new file mode 100644
index 0000000..a4924ec
--- /dev/null
+++ b/generic/etc/babeld.conf
@@ -0,0 +1,30 @@
+debug babel common
+!debug babel kernel
+!debug babel filter
+!debug babel timeout
+!debug babel interface
+!debug babel route
+!debug babel all
+
+router babel
+! network wlan0
+! network eth0
+! redistribute kernel
+! no redistribute static
+
+! The defaults are fine for a wireless interface
+
+!interface wlan0
+
+! A few optimisation tweaks are optional but recommended on a wired interface
+! Disable link quality estimation, enable split horizon processing, and
+! increase the hello and update intervals.
+
+!interface eth0
+! babel wired
+! babel split-horizon
+! babel hello-interval 12000
+! babel update-interval 36000
+
+! log file /var/log/quagga/babeld.log
+log stdout
diff --git a/generic/etc/bgpd.conf b/generic/etc/bgpd.conf
new file mode 100644
index 0000000..b6a8b6f
--- /dev/null
+++ b/generic/etc/bgpd.conf
@@ -0,0 +1,29 @@
+! -*- bgp -*-
+!
+! BGPd sample configuratin file
+!
+! $Id: bgpd.conf.sample,v 1.1 2002/12/13 20:15:29 paul Exp $
+!
+hostname bgpd
+password zebra
+!enable password please-set-at-here
+!
+!bgp mulitple-instance
+!
+router bgp 7675
+! bgp router-id 10.0.0.1
+! network 10.0.0.0/8
+! neighbor 10.0.0.2 remote-as 7675
+! neighbor 10.0.0.2 route-map set-nexthop out
+! neighbor 10.0.0.2 ebgp-multihop
+! neighbor 10.0.0.2 next-hop-self
+!
+! access-list all permit any
+!
+!route-map set-nexthop permit 10
+! match ip address all
+! set ip next-hop 10.0.0.1
+!
+!log file bgpd.log
+!
+log stdout
diff --git a/generic/etc/ospf6d.conf b/generic/etc/ospf6d.conf
new file mode 100644
index 0000000..0a6ddb7
--- /dev/null
+++ b/generic/etc/ospf6d.conf
@@ -0,0 +1,52 @@
+!
+! Zebra configuration saved from vty
+! 2003/11/28 00:49:49
+!
+hostname ospf6d@plant
+password zebra
+log stdout
+service advanced-vty
+!
+debug ospf6 neighbor state
+!
+interface fxp0
+ ipv6 ospf6 cost 1
+ ipv6 ospf6 hello-interval 10
+ ipv6 ospf6 dead-interval 40
+ ipv6 ospf6 retransmit-interval 5
+ ipv6 ospf6 priority 0
+ ipv6 ospf6 transmit-delay 1
+ ipv6 ospf6 instance-id 0
+!
+interface lo0
+ ipv6 ospf6 cost 1
+ ipv6 ospf6 hello-interval 10
+ ipv6 ospf6 dead-interval 40
+ ipv6 ospf6 retransmit-interval 5
+ ipv6 ospf6 priority 1
+ ipv6 ospf6 transmit-delay 1
+ ipv6 ospf6 instance-id 0
+!
+router ospf6
+ router-id 255.1.1.1
+ redistribute static route-map static-ospf6
+ interface fxp0 area 0.0.0.0
+!
+access-list access4 permit 127.0.0.1/32
+!
+ipv6 access-list access6 permit 3ffe:501::/32
+ipv6 access-list access6 permit 2001:200::/48
+ipv6 access-list access6 permit ::1/128
+!
+ipv6 prefix-list test-prefix seq 1000 deny any
+!
+route-map static-ospf6 permit 10
+ match ipv6 address prefix-list test-prefix
+ set metric-type type-2
+ set metric 2000
+!
+line vty
+ access-class access4
+ ipv6 access-class access6
+ exec-timeout 0 0
+!
diff --git a/generic/etc/ospfd.conf b/generic/etc/ospfd.conf
new file mode 100644
index 0000000..0e8ac67
--- /dev/null
+++ b/generic/etc/ospfd.conf
@@ -0,0 +1,13 @@
+! -*- ospf -*-
+!
+! OSPFd sample configuration file
+!
+!
+hostname ospfd
+password zebra
+!enable password please-set-at-here
+!
+!router ospf
+! network 192.168.1.0/24 area 0
+!
+log stdout
diff --git a/generic/etc/ripd.conf b/generic/etc/ripd.conf
new file mode 100644
index 0000000..2902ff9
--- /dev/null
+++ b/generic/etc/ripd.conf
@@ -0,0 +1,24 @@
+! -*- rip -*-
+!
+! RIPd sample configuration file
+!
+! $Id: ripd.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
+!
+hostname ripd
+password zebra
+!
+! debug rip events
+! debug rip packet
+!
+router rip
+! network 11.0.0.0/8
+! network eth0
+! route 10.0.0.0/8
+! distribute-list private-only in eth0
+!
+!access-list private-only permit 10.0.0.0/8
+!access-list private-only deny any
+!
+!log file ripd.log
+!
+log stdout
diff --git a/generic/etc/ripngd.conf b/generic/etc/ripngd.conf
new file mode 100644
index 0000000..ad673e5
--- /dev/null
+++ b/generic/etc/ripngd.conf
@@ -0,0 +1,22 @@
+! -*- rip -*-
+!
+! RIPngd sample configuration file
+!
+! $Id: ripngd.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
+!
+hostname ripngd
+password zebra
+!
+! debug ripng events
+! debug ripng packet
+!
+!
+router ripng
+! network sit1
+! route 3ffe:506::0/32
+! distribute-list local-only out sit1
+!
+!ipv6 access-list local-only permit 3ffe:506::0/32
+!ipv6 access-list local-only deny any
+!
+log stdout
diff --git a/generic/etc/zebra.conf b/generic/etc/zebra.conf
new file mode 100644
index 0000000..a5d0732
--- /dev/null
+++ b/generic/etc/zebra.conf
@@ -0,0 +1,25 @@
+! -*- zebra -*-
+!
+! zebra sample configuration file
+!
+! $Id: zebra.conf.sample,v 1.1 2002/12/13 20:15:30 paul Exp $
+!
+hostname Router
+password zebra
+enable password zebra
+!
+! Interface's description.
+!
+!interface lo
+! description test of desc.
+!
+!interface sit0
+! multicast
+
+!
+! Static default route sample.
+!
+!ip route 0.0.0.0/0 203.181.89.241
+!
+
+!log file zebra.log
diff --git a/rules/quagga.in b/rules/quagga.in
new file mode 100644
index 0000000..fe84454
--- /dev/null
+++ b/rules/quagga.in
@@ -0,0 +1,12 @@
+## SECTION=networking
+
+config QUAGGA
+ tristate
+ prompt "quagga"
+ help
+ Quagga Routing Suite. Quagga is a routing software suite, providing
+ implementations of OSPFv2, OSPFv3, RIP v1 and v2, RIPng and BGP-4
+ for Unix platforms, particularly FreeBSD, Linux, Solaris and NetBSD.
+ Quagga is a fork of GNU Zebra which was developed by Kunihiro
+ Ishiguro. The Quagga tree aims to build a more involved community
+ around Quagga than the current centralised model of GNU Zebra.
diff --git a/rules/quagga.make b/rules/quagga.make
new file mode 100644
index 0000000..56d96c6
--- /dev/null
+++ b/rules/quagga.make
@@ -0,0 +1,72 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute <oliver.graute@neuhaus.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_QUAGGA) += quagga
+
+#
+# Paths and names
+#
+QUAGGA_VERSION := 0.99.23
+QUAGGA_MD5 := d17145e62b6ea14f0f13bb63f59e5166
+QUAGGA := quagga-$(QUAGGA_VERSION)
+QUAGGA_SUFFIX := tar.gz
+QUAGGA_URL := http://download.savannah.gnu.org/releases/quagga/$(QUAGGA).$(QUAGGA_SUFFIX)
+QUAGGA_SOURCE := $(SRCDIR)/$(QUAGGA).$(QUAGGA_SUFFIX)
+QUAGGA_DIR := $(BUILDDIR)/$(QUAGGA)
+QUAGGA_LICENSE := GPLv2
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+QUAGGA_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/quagga.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, quagga)
+ @$(call install_fixup, quagga,PRIORITY,optional)
+ @$(call install_fixup, quagga,SECTION,base)
+ @$(call install_fixup, quagga,AUTHOR,"<oliver.graute@neuhaus.de>")
+ @$(call install_fixup, quagga,DESCRIPTION,missing)
+
+ @$(call install_lib, quagga, 0, 0, 0644, libzebra)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ripd)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ripngd)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/babeld)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/bgpd)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/zebra)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ospfd)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ospfclient)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/ospf6d)
+ @$(call install_copy, quagga, 0, 0, 0755, -, /usr/sbin/watchquagga)
+
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/babeld.conf)
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/bgpd.conf)
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/ospf6d.conf)
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/ospfd.conf)
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/ripd.conf)
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/ripngd.conf)
+ @$(call install_alternative, quagga, 0, 0, 0644, /etc/zebra.conf)
+ @$(call install_finish, quagga)
+
+ @$(call touch)
+
+# vim: syntax=make
--
1.7.9.5
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
* [ptxdist] Antwort: [PATCHv2 1/1] quagga: this patch adds quagga support to ptxdist
2015-04-09 6:37 [ptxdist] [PATCHv2 1/1] quagga: this patch adds quagga support to ptxdist Oliver Graute
@ 2015-04-16 12:58 ` Oliver.Graute
0 siblings, 0 replies; 2+ messages in thread
From: Oliver.Graute @ 2015-04-16 12:58 UTC (permalink / raw)
To: ptxdist
[-- Attachment #1.1.1: Type: text/plain, Size: 68 bytes --]
Hello,
is there some feedback to this patch?
Best Regards,
Oliver
[-- Attachment #1.1.2: Type: text/html, Size: 122 bytes --]
[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]
[-- Attachment #2: Type: text/plain, Size: 48 bytes --]
--
ptxdist mailing list
ptxdist@pengutronix.de
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-16 12:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-09 6:37 [ptxdist] [PATCHv2 1/1] quagga: this patch adds quagga support to ptxdist Oliver Graute
2015-04-16 12:58 ` [ptxdist] Antwort: " Oliver.Graute
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox