]> git.puffer.fish Git - mirror/frr.git/commitdiff
*: remove *.conf.sample files
authorQuentin Young <qlyoung@nvidia.com>
Tue, 16 Feb 2021 23:05:38 +0000 (18:05 -0500)
committerQuentin Young <qlyoung@nvidia.com>
Fri, 9 Apr 2021 17:14:30 +0000 (13:14 -0400)
Most of these are many, many years out of date. All of them vary
randomly in quality. They show up by default in packages where they
aren't really useful now that we use integrated config. Remove them.

The useful ones have been moved to the docs.

Signed-off-by: Quentin Young <qlyoung@nvidia.com>
54 files changed:
babeld/.gitignore
babeld/babeld.conf.sample [deleted file]
babeld/subdir.am
bfdd/bfdd.conf.sample [deleted file]
bfdd/subdir.am
bgpd/bgpd.conf.sample [deleted file]
bgpd/bgpd.conf.vnc.sample [deleted file]
bgpd/subdir.am
debian/frr.dirs
debian/frr.install
debian/rules
doc/developer/building-frr-for-alpine.rst
doc/user/babeld.rst
doc/user/eigrpd.rst
doc/user/fabricd.rst
doc/user/ldpd.rst
doc/user/ospf6d.rst
doc/user/ospfd.rst
doc/user/pathd.rst
doc/user/pbr.rst
doc/user/pim.rst
doc/user/ripd.rst
doc/user/ripngd.rst
eigrpd/eigrpd.conf.sample [deleted file]
eigrpd/subdir.am
isisd/fabricd.conf.sample [deleted file]
isisd/isisd.conf.sample [deleted file]
isisd/subdir.am
ldpd/ldpd.conf.sample [deleted file]
ldpd/subdir.am
ospf6d/ospf6d.conf.sample [deleted file]
ospf6d/subdir.am
ospfd/ospfd.conf.sample [deleted file]
ospfd/subdir.am
pathd/pathd.conf.sample [deleted file]
pathd/subdir.am
pbrd/pbrd.conf.sample [deleted file]
pbrd/subdir.am
pimd/pimd.conf.sample [deleted file]
pimd/subdir.am
redhat/frr.spec.in
ripd/ripd.conf.sample [deleted file]
ripd/subdir.am
ripngd/ripngd.conf.sample [deleted file]
ripngd/subdir.am
sharpd/sharpd.conf.sample [deleted file]
sharpd/subdir.am
staticd/staticd.conf.sample [deleted file]
staticd/subdir.am
vrrpd/subdir.am
vtysh/subdir.am
vtysh/vtysh.conf.sample [deleted file]
zebra/subdir.am
zebra/zebra.conf.sample [deleted file]

index fbdb90f67785c7f994afeb2a7b0c726d49eaaab8..71ef6786c79203192c3052ac5ca911507ad41995 100644 (file)
@@ -4,5 +4,4 @@
 !LICENCE
 !Makefile
 !subdir.am
-!babeld.conf.sample
 !.gitignore
diff --git a/babeld/babeld.conf.sample b/babeld/babeld.conf.sample
deleted file mode 100644 (file)
index a77453a..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-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 ipv4 kernel
-! no redistribute ipv6 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
index 8e5b46350d2d2979a0cca4c2b9faf817e0661c98..c9b6959fcaf0fe00c9941914da01ac47db07ddbe 100644 (file)
@@ -5,7 +5,6 @@
 if BABELD
 noinst_LIBRARIES += babeld/libbabel.a
 sbin_PROGRAMS += babeld/babeld
-dist_examples_DATA += babeld/babeld.conf.sample
 vtysh_scan += \
        babeld/babel_interface.c \
        babeld/babel_zebra.c \
diff --git a/bfdd/bfdd.conf.sample b/bfdd/bfdd.conf.sample
deleted file mode 100644 (file)
index 9981e26..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-password zebra
-!
-log stdout
-!
-line vty
index e572d4a3c0b2b862f922a8e97e431e3694427d68..8d35b933d789bf399d823de460c752b7dd5d57f3 100644 (file)
@@ -5,7 +5,6 @@
 if BFDD
 noinst_LIBRARIES += bfdd/libbfd.a
 sbin_PROGRAMS += bfdd/bfdd
-dist_examples_DATA += bfdd/bfdd.conf.sample
 vtysh_scan += bfdd/bfdd_vty.c
 vtysh_scan += bfdd/bfdd_cli.c
 vtysh_daemons += bfdd
diff --git a/bgpd/bgpd.conf.sample b/bgpd/bgpd.conf.sample
deleted file mode 100644 (file)
index 1fb4f16..0000000
+++ /dev/null
@@ -1,31 +0,0 @@
-! -*- bgp -*-
-!
-! BGPd sample configuration 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
-!
-!
-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 ebgp-multihop
-!
-! address-family ipv4 unicast
-!  neighbor 10.0.0.2 route-map set-nexthop out
-!  neighbor 10.0.0.2 next-hop-self
-! exit-address-family
-!
-! 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/bgpd/bgpd.conf.vnc.sample b/bgpd/bgpd.conf.vnc.sample
deleted file mode 100644 (file)
index a8a2dc5..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
-hostname H192.1.1.1
-password zebra
-#enable password zebra
-log stdout notifications
-log monitor notifications
-#debug bgp
-
-line vty
-exec-timeout 1000
-exit
-
-
-router bgp 64512
-
-    # Must set a router-id if no zebra (default 0.0.0.0)
-    bgp router-id 192.1.1.1
-
-    neighbor 192.1.1.2 remote-as 64512
-    neighbor 192.1.1.2 description H192.1.1.2
-    neighbor 192.1.1.2 update-source 192.1.1.1
-    neighbor 192.1.1.2 advertisement-interval 1
-
-    neighbor 192.1.1.3 remote-as 64512
-    neighbor 192.1.1.3 description H192.1.1.3
-    neighbor 192.1.1.3 update-source 192.1.1.1
-    neighbor 192.1.1.3 advertisement-interval 1
-
-    address-family ipv4 unicast
-        no neighbor 192.1.1.2 activate
-        no neighbor 192.1.1.3 activate
-
-    address-family vpnv4
-        neighbor 192.1.1.2 activate
-        neighbor 192.1.1.3 activate
-        exit-address-family
-
-    address-family vpnv6
-        neighbor 192.1.1.2 activate
-        neighbor 192.1.1.3 activate
-        exit-address-family
-
-    vnc defaults
-       rd auto:vn:5226
-       response-lifetime 45
-       rt both 1000:1 1000:2
-       exit-vnc
-
-    vnc nve-group group1
-       prefix vn 172.16.0.0/16
-       exit-vnc
-
-    vnc nve-group red
-       prefix vn 10.0.0.0/8
-       rd auto:vn:10
-       rt both 1000:10
-       exit-vnc
-
-    vnc nve-group blue
-       prefix vn 20.0.0.0/8
-       rd auto:vn:20
-       rt both 1000:20
-       exit-vnc
-
-    vnc nve-group green
-       prefix vn 30.0.0.0/8
-       rd auto:vn:20
-       rt both 1000:30
-       exit-vnc
-
-    vnc nve-group rfc4291v6c
-       prefix vn ::ac10:0/112
-       rd auto:vn:5227
-       rt both 2000:1
-       exit-vnc
-
-    vnc nve-group rfc4291v6m
-       prefix vn ::ffff:ac10:0/112
-       rd auto:vn:5528
-       rt both 3000:1
-       exit-vnc
-
-    vnc nve-group rfc6052v6
-       prefix vn 64:ff9b::ac10:0/112
-       rd auto:vn:5529
-       rt both 4000:1
-       exit-vnc
-
-exit
-
-
-
index 583d1cd20727c565d17a85f57db70a5edd2678ae..07e71ba601207c3af03e3ccc5949a5ab20935231 100644 (file)
@@ -6,11 +6,6 @@ if BGPD
 noinst_LIBRARIES += bgpd/libbgp.a
 sbin_PROGRAMS += bgpd/bgpd
 noinst_PROGRAMS += bgpd/bgp_btoa
-dist_examples_DATA += \
-       bgpd/bgpd.conf.sample \
-       bgpd/bgpd.conf.sample2 \
-       bgpd/bgpd.conf.vnc.sample \
-       # end
 vtysh_scan += \
        bgpd/bgp_bfd.c \
        bgpd/bgp_debug.c \
index 9e592e370c67183072c3bd7a8c9922b6816d42fa..e3832d10a17693e8e8cd244eec0d50d947fcbe85 100644 (file)
@@ -2,7 +2,6 @@ etc/frr/
 etc/iproute2/rt_protos.d/
 etc/logrotate.d/
 usr/share/doc/frr/
-usr/share/doc/frr/examples/
 usr/share/lintian/overrides/
 usr/share/yang/
 var/log/frr/
index 9972b579f0f4152f576a7c07e62a232c4ae160a6..6bc1786581a83c109639982c273da0cf913e948b 100644 (file)
@@ -16,6 +16,5 @@ usr/lib/frr/*.sh
 usr/lib/frr/*d
 usr/lib/frr/watchfrr
 usr/lib/frr/zebra
-usr/share/doc/frr/examples
 usr/share/man/
 usr/share/yang/
index 25ae04261d3d1d400066d5749831eb152d9f154e..93d0cdb2a09b3fbd9510006163a46e5b87122197 100755 (executable)
@@ -43,7 +43,6 @@ export PYTHON=python3
 override_dh_auto_configure:
        $(shell dpkg-buildflags --export=sh); \
        dh_auto_configure -- \
-               --enable-exampledir=/usr/share/doc/frr/examples/ \
                --localstatedir=/var/run/frr \
                --sbindir=/usr/lib/frr \
                --sysconfdir=/etc/frr \
@@ -92,8 +91,6 @@ endif
        cp -r tools/etc/* debian/tmp/etc/
        -rm debian/tmp/etc/frr/daemons.conf
 
-       sed -e 's#^!log file #!log file /var/log/frr/#' -i debian/tmp/usr/share/doc/frr/examples/*sample*
-
 # drop dev-only files
        find debian/tmp -name '*.la' -o -name '*.a' -o -name 'lib*.so' | xargs rm -f
        rm -rf debian/tmp/usr/include
index f88fc7bfdc007646ac21244473a9e0395c999236..68e58c9d76dcef6e932cd99e7a3518d6c6e997e8 100644 (file)
@@ -85,8 +85,6 @@ startup.  To configure by hand:
 
    docker exec -it frr /bin/sh
    vi /etc/frr/daemons
-   cp /etc/frr/zebra.conf.sample /etc/frr/zebra.conf
-   vi /etc/frr/zebra.conf
    /etc/init.d/frr start
 
 Or, to configure the daemons using /etc/frr from a host volume, put the
index e6d4aa5c97ba6bc00c5fb3e26e9ab4291fcc8ad4..c8015bb7e553820fd58ab23e6f608f8e76cb9845 100644 (file)
@@ -233,3 +233,41 @@ Babel debugging commands
 .. note::
    If you have compiled with the ``NO_DEBUG`` flag, then these commands aren't
    available.
+
+
+Babel sample configuration file
+===============================
+
+.. code-block:: frr
+
+   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 ipv4 kernel
+   ! no redistribute ipv6 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
+
index 88d289d27ecf270a808ec4d3bd36753ebe3e3ac2..573e2ca2e4a41cc7b0d4011627b5d1f2e9a00a1c 100644 (file)
@@ -183,3 +183,18 @@ Debug for EIGRP protocol.
    ``show debugging eigrp`` will show all information currently set for eigrpd
    debug.
 
+
+Sample configuration
+====================
+
+.. code-block:: frr
+
+   hostname eigrpd
+   password zebra
+   enable password please-set-at-here
+   !
+   router eigrp 4453
+     network 192.168.1.0/24
+   !
+   log stdout
+
index 611bc1caaa004b93056787624e0f8cb9413df99e..48d264f30e7b4214ab52d2cffd5ee33967489623 100644 (file)
@@ -60,7 +60,6 @@ in the configuration:
      
 .. clicmd:: set-overload-bit
 
-
    Set overload bit to avoid any transit traffic.
 
 .. clicmd:: purge-originator
@@ -256,9 +255,8 @@ Debugging OpenFabric
 
    Print which OpenFabric debug levels are active.
 
-
-OpenFabric configuration example
-================================
+Sample configuration
+====================
 
 A simple example:
 
@@ -281,3 +279,26 @@ A simple example:
    !
    router openfabric 1
     net 49.0000.0000.0001.00
+
+
+Alternative example:
+
+.. code-block:: frr
+
+   hostname fabricd
+
+   router openfabric DEAD
+     net 47.0023.0000.0003.0300.0100.0102.0304.0506.00
+     lsp-lifetime 65535
+
+     hostname isisd-router
+     domain-password foobar
+
+   interface eth0
+    ip router openfabric DEAD
+    openfabric hello-interval 5
+    openfabric lsp-interval 1000
+
+   ! -- optional
+   openfabric retransmit-interval 10
+   openfabric retransmit-throttle-interval
index 3e662b14d836855a4a1d76005188df0e8dcea045..a6b3d9d97fb181e2d68ffde009a10a68bfd97487 100644 (file)
@@ -242,8 +242,9 @@ LDP debugging commands
    - ``messages``
    - ``zebra``
 
-LDP Example Configuration
-=========================
+
+Sample configuration
+====================
 
 Below configuration gives a typical MPLS configuration of a device located in a
 MPLS backbone. LDP is enabled on two interfaces and will attempt to peer with
@@ -306,3 +307,45 @@ that traffic to that destination will be applied.
    O>* 10.200.0.0/24 [110/210] via 10.115.0.1, eth2, label 17, 00:00:15
    north-vm#
 
+
+Additional example demonstrating use of some miscellaneous config options:
+
+.. code-block:: frr
+
+   interface eth0
+   !
+   interface eth1
+   !
+   interface lo
+   !
+   mpls ldp
+    dual-stack cisco-interop
+    neighbor 10.0.1.5 password opensourcerouting
+    neighbor 172.16.0.1 password opensourcerouting
+    !
+    address-family ipv4
+     discovery transport-address 10.0.1.1
+     label local advertise explicit-null
+     !
+     interface eth0
+     !
+     interface eth1
+     !
+    !
+    address-family ipv6
+     discovery transport-address 2001:db8::1
+     !
+     interface eth1
+     !
+    !
+   !
+   l2vpn ENG type vpls
+    bridge br0
+    member interface eth2
+    !
+    member pseudowire mpw0
+     neighbor lsr-id 1.1.1.1
+     pw-id 100
+    !
+   !
+
index 17251e11accf13c12bd56154c507f67f636da859..43c0f62ea35fa363b6c171b603a1b568bc023944 100644 (file)
@@ -243,8 +243,9 @@ Showing OSPF6 information
    JSON object, with each router having "cost", "isLeafNode" and "children" as
    arguments.
 
-OSPF6 Configuration Examples
-============================
+
+Sample configuration
+====================
 
 Example of ospf6d configured on one interface and area:
 
@@ -258,3 +259,53 @@ Example of ospf6d configured on one interface and area:
     area 0.0.0.0 range 2001:770:105:2::/64
     interface eth0 area 0.0.0.0
    !
+
+
+Larger example with policy and various options set:
+
+
+.. code-block:: frr
+
+   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
+   !
index 85b6007f367e4220667aaf717072929509848d01..800530901eabeb05e9f877098e9edd529b7ae970 100644 (file)
@@ -280,7 +280,7 @@ To start OSPF process you have to specify the OSPF router.
 
    This command enables or disables sending ARP requests to update neighbor
    table entries. It speeds up convergence for /32 networks on a P2P
-   connection. 
+   connection.
 
    This feature is enabled by default.
 
@@ -1089,8 +1089,9 @@ Debugging OSPF
 
    Debug commnd to enable/disable external route summarisation specific debugs.
 
-OSPF Configuration Examples
-===========================
+
+Sample Configuration
+====================
 
 A simple example, with MD5 authentication enabled:
 
index fe50a5e7ebb560a30bc1bb56e3ac52b39c35d169..5fc3837839d40335a776ca20fe371f73d3bd4eea 100644 (file)
@@ -395,3 +395,52 @@ learned through BGP using route-maps:
   !
 
 In this case, the SR Policy with color `1` and endpoint `1.1.1.1` is selected.
+
+
+Sample configuration
+====================
+
+.. code-block:: frr
+
+   ! Default pathd configuration sample
+   !
+   password frr
+   log stdout
+
+   segment-routing
+    traffic-eng
+     segment-list test1
+      index 10 mpls label 123
+      index 20 mpls label 456
+     !
+     segment-list test2
+      index 10 mpls label 321
+      index 20 mpls label 654
+     !
+     policy color 1 endpoint 1.1.1.1
+      name one
+      binding-sid 100
+      candidate-path preference 100 name test1 explicit segment-list test1
+      candidate-path preference 200 name test2 explicit segment-list test2
+     !
+     policy color 2 endpoint 2.2.2.2
+      name two
+      binding-sid 101
+      candidate-path preference 100 name def explicit segment-list test2
+      candidate-path preference 200 name dyn dynamic
+       bandwidth 12345
+       metric bound abc 16 required
+       metric te 10
+      !
+     !
+     pcep
+      pcc-peer PCE1
+       address ip 127.0.0.1
+       sr-draft07
+      !
+      pcc
+       peer PCE1
+      !
+    !
+   !
+
index 14a05a69d78d6005689fc2542dfe3c34b2238a13..77134a77042a550a91f56ab165dbbf326c955293 100644 (file)
@@ -290,3 +290,22 @@ kernel that points to a table to use for forwarding once the rule matches.
 The creation of a nexthop or nexthop-group is translated to a default route in a
 table with the nexthops specified as the nexthops for the default route.
 
+
+Sample configuration
+====================
+
+.. code-block:: frr
+
+   nexthop-group TEST
+     nexthop 4.5.6.7
+     nexthop 5.6.7.8
+   !
+   pbr-map BLUE seq 100
+     match dst-ip 9.9.9.0/24
+     match src-ip 10.10.10.0/24
+     set nexthop-group TEST
+   !
+   int swp1
+     pbr-policy BLUE
+
+
index 86716b49a497febc2a95ca5088a7cde03ab89f02..6b7cae2c5dad4c4b4248f811925833bc0376007f 100644 (file)
@@ -656,3 +656,34 @@ setup. This is existing PIM configuration:
 - Enable pim on the underlay L3 interface via the "ip pim" command.
 - Configure RPs for the BUM multicast group range.
 - Ensure the PIM is enabled on the lo of the VTEPs and the RP.
+
+
+Sample configuration
+====================
+
+.. code-block:: frr
+
+   debug igmp
+   debug pim
+   debug pim zebra
+
+   ! You may want to enable ssmpingd for troubleshooting
+   ! See http://www.venaas.no/multicast/ssmping/
+   !
+   ip ssmpingd 1.1.1.1
+   ip ssmpingd 2.2.2.2
+
+   ! HINTS:
+   !  - Enable "ip pim ssm" on the interface directly attached to the
+   !    multicast source host (if this is the first-hop router)
+   !  - Enable "ip pim ssm" on pim-routers-facing interfaces
+   !  - Enable "ip igmp" on IGMPv3-hosts-facing interfaces
+   !  - In order to inject IGMPv3 local membership information in the
+   !    PIM protocol state, enable both "ip pim ssm" and "ip igmp" on
+   !    the same interface; otherwise PIM won't advertise
+   !    IGMPv3-learned membership to other PIM routers
+
+   interface eth0
+    ip pim ssm
+    ip igmp
+
index cba93e0d84f52d246464b7b8e12d13bba23f1180..83c8c93b1c93da1d2982411756865706e5ee8677 100644 (file)
@@ -539,3 +539,21 @@ Debug for RIP protocol.
 
    Shows all information currently set for ripd debug.
 
+
+Sample configuration
+====================
+
+.. code-block:: frr
+
+
+   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
index 0387e363052654cb0186047149926d6193ca2b18..b273eb3bfa0c28ecb9bccb9945c3be36338371c7 100644 (file)
@@ -71,3 +71,19 @@ ripngd Filtering Commands
 
       distribute-list local-only out sit1
 
+
+Sample configuration
+====================
+
+.. code-block:: frr
+
+   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
diff --git a/eigrpd/eigrpd.conf.sample b/eigrpd/eigrpd.conf.sample
deleted file mode 100644 (file)
index 662e667..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-! -*- eigrpd -*-
-!
-! EIGRPDd sample configuration file
-!
-!
-hostname eigrpd
-password zebra
-!enable password please-set-at-here
-!
-!router eigrp 4453
-!  network 192.168.1.0/24
-!
-log stdout
index ba9445acb9958f981b4c931104d214d48b6232c2..82873a4960c1793f52ad318268eb2881a84c42f9 100644 (file)
@@ -5,7 +5,6 @@
 if EIGRPD
 noinst_LIBRARIES += eigrpd/libeigrp.a
 sbin_PROGRAMS += eigrpd/eigrpd
-dist_examples_DATA += eigrpd/eigrpd.conf.sample
 vtysh_scan += \
        eigrpd/eigrp_cli.c \
        eigrpd/eigrp_dump.c \
diff --git a/isisd/fabricd.conf.sample b/isisd/fabricd.conf.sample
deleted file mode 100644 (file)
index be9e33b..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-! -*- openfabric -*-
-!
-! fabricd sample configuration file
-!
-hostname fabricd
-password foo
-enable password foo
-log stdout
-!log file /tmp/fabricd.log
-!
-!
-router openfabric DEAD
-  net 47.0023.0000.0003.0300.0100.0102.0304.0506.00
-!  lsp-lifetime 65535
-
-!  hostname isisd-router
-!  domain-password foobar
-
-interface eth0
- ip router openfabric DEAD
-! openfabric hello-interval 5
-! openfabric lsp-interval 1000
-
-! -- optional
-! openfabric retransmit-interval 10
-! openfabric retransmit-throttle-interval
-!
diff --git a/isisd/isisd.conf.sample b/isisd/isisd.conf.sample
deleted file mode 100644 (file)
index 47b1595..0000000
+++ /dev/null
@@ -1,39 +0,0 @@
-! -*- isis -*-
-!
-! ISISd sample configuration file
-!
-hostname isisd 
-password foo
-enable password foo
-log stdout 
-!log file /tmp/isisd.log
-! 
-! 
-router isis DEAD
-  net 47.0023.0000.0003.0300.0100.0102.0304.0506.00
-!  is-type level-1
-
-!  -- set the lifetime either for level-1, level-2 or both
-!  lsp-lifetime level-1 65535
-!  lsp-lifetime level-2 65535
-!  lsp-lifetime 65535
-
-!  hostname isisd-router
-!  area-password foobar
-!  domain-password foobar
-
-interface eth0
- ip router isis DEAD
-! isis hello-interval 5
-! isis lsp-interval 1000
-
-! -- optional
-! isis circuit-type level-1
-! isis password lallaa level-1 
-! isis metric 1 level-1
-! isis csnp-interval 5 level-1
-! isis retransmit-interval 10
-! isis retransmit-throttle-interval
-! isis hello-multiplier 2 level-1
-! isis priority 64
-! 
index 4cefe6e10b9a3f38571d2a4bed608da9c0955e79..11bae416577d3ddc33c8bb86db10c2460857ca04 100644 (file)
@@ -5,7 +5,6 @@
 if ISISD
 noinst_LIBRARIES += isisd/libisis.a
 sbin_PROGRAMS += isisd/isisd
-dist_examples_DATA += isisd/isisd.conf.sample
 vtysh_scan += \
        isisd/isis_cli.c \
        isisd/isis_ldp_sync.c \
@@ -26,7 +25,6 @@ endif
 if FABRICD
 noinst_LIBRARIES += isisd/libfabric.a
 sbin_PROGRAMS += isisd/fabricd
-dist_examples_DATA += isisd/fabricd.conf.sample
 if !ISISD
 vtysh_scan += \
        isisd/isis_cli.c \
diff --git a/ldpd/ldpd.conf.sample b/ldpd/ldpd.conf.sample
deleted file mode 100644 (file)
index 49da35c..0000000
+++ /dev/null
@@ -1,46 +0,0 @@
-! -*- ldp -*-
-!
-! LDPd sample configuration file
-!
-hostname ldpd
-password zebra
-log stdout
-!
-interface eth0
-!
-interface eth1
-!
-interface lo
-!
-mpls ldp
- dual-stack cisco-interop
- neighbor 10.0.1.5 password opensourcerouting
- neighbor 172.16.0.1 password opensourcerouting
- !
- address-family ipv4
-  discovery transport-address 10.0.1.1
-  label local advertise explicit-null
-  !
-  interface eth0
-  !
-  interface eth1
-  !
- !
- address-family ipv6
-  discovery transport-address 2001:db8::1
-  !
-  interface eth1
-  !
- !
-!
-l2vpn ENG type vpls
- bridge br0
- member interface eth2
- !
- member pseudowire mpw0
-  neighbor lsr-id 1.1.1.1
-  pw-id 100
- !
-!
-line vty
-!
index aa9b751bcc9c9e85060e13672c3a687ca29cf979..5fc3847c6d8cf53de2680c372b59fc389beea6c7 100644 (file)
@@ -5,7 +5,6 @@
 if LDPD
 noinst_LIBRARIES += ldpd/libldp.a
 sbin_PROGRAMS += ldpd/ldpd
-dist_examples_DATA += ldpd/ldpd.conf.sample
 vtysh_scan += ldpd/ldp_vty_cmds.c
 vtysh_daemons += ldpd
 man8 += $(MANBUILD)/frr-ldpd.8
diff --git a/ospf6d/ospf6d.conf.sample b/ospf6d/ospf6d.conf.sample
deleted file mode 100644 (file)
index 0a6ddb7..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-!
-! 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
-!
index 788b532a9015c57dc061eb7f371d51b2b01f55c6..5ccae5b27901fcbc2e3a9dbabbb8d7368f23690f 100644 (file)
@@ -5,7 +5,6 @@
 if OSPF6D
 noinst_LIBRARIES += ospf6d/libospf6.a
 sbin_PROGRAMS += ospf6d/ospf6d
-dist_examples_DATA += ospf6d/ospf6d.conf.sample
 vtysh_scan += \
        ospf6d/ospf6_abr.c \
        ospf6d/ospf6_asbr.c \
diff --git a/ospfd/ospfd.conf.sample b/ospfd/ospfd.conf.sample
deleted file mode 100644 (file)
index 0e8ac67..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-! -*- 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
index 63610e38d8d980bd3e5fb4713596b90e681ed52e..f592a9eec8d659a04c6db0a3bef9dc1a095cf1c5 100644 (file)
@@ -5,7 +5,6 @@
 if OSPFD
 noinst_LIBRARIES += ospfd/libfrrospf.a
 sbin_PROGRAMS += ospfd/ospfd
-dist_examples_DATA += ospfd/ospfd.conf.sample
 vtysh_scan += \
        ospfd/ospf_bfd.c \
        ospfd/ospf_dump.c \
diff --git a/pathd/pathd.conf.sample b/pathd/pathd.conf.sample
deleted file mode 100644 (file)
index 9fe7d2d..0000000
+++ /dev/null
@@ -1,41 +0,0 @@
-! Default pathd configuration sample
-!
-password frr
-log stdout
-
-segment-routing
- traffic-eng
-  segment-list test1
-   index 10 mpls label 123
-   index 20 mpls label 456
-  !
-  segment-list test2
-   index 10 mpls label 321
-   index 20 mpls label 654
-  !
-  policy color 1 endpoint 1.1.1.1
-   name one
-   binding-sid 100
-   candidate-path preference 100 name test1 explicit segment-list test1
-   candidate-path preference 200 name test2 explicit segment-list test2
-  !
-  policy color 2 endpoint 2.2.2.2
-   name two
-   binding-sid 101
-   candidate-path preference 100 name def explicit segment-list test2
-   candidate-path preference 200 name dyn dynamic
-    bandwidth 12345
-    metric bound abc 16 required
-    metric te 10
-   !
-  !
-  pcep
-   pcc-peer PCE1
-    address ip 127.0.0.1
-    sr-draft07
-   !
-   pcc
-    peer PCE1
-   !
- !
-!
index b4501214bfe8ec4905b3d5876e41510987137b89..a52888c7feed967e853c9e9b32730206846f498f 100644 (file)
@@ -5,7 +5,6 @@
 if PATHD
 noinst_LIBRARIES += pathd/libpath.a
 sbin_PROGRAMS += pathd/pathd
-dist_examples_DATA += pathd/pathd.conf.sample
 vtysh_scan += $(top_srcdir)/pathd/path_cli.c
 vtysh_daemons += pathd
 # TODO add man page
diff --git a/pbrd/pbrd.conf.sample b/pbrd/pbrd.conf.sample
deleted file mode 100644 (file)
index c9e7dce..0000000
+++ /dev/null
@@ -1,19 +0,0 @@
-! Sample pbrd configuration file
-!
-! A quick example of what a pbr configuration might look like
-!
-!
-log stdout
-!
-! nexthop-group TEST
-!   nexthop 4.5.6.7
-!   nexthop 5.6.7.8
-! !
-! pbr-map BLUE seq 100
-!   match dst-ip 9.9.9.0/24
-!   match src-ip 10.10.10.0/24
-!   set nexthop-group TEST
-! !
-! int swp1
-!   pbr-policy BLUE
-!
index 7ad071af3b659b3b8ef824ec74d7b18384aee39d..bbe3f2ab71dffcf45191db0f53b44e825c4b3b7d 100644 (file)
@@ -5,7 +5,6 @@
 if PBRD
 noinst_LIBRARIES += pbrd/libpbr.a
 sbin_PROGRAMS += pbrd/pbrd
-dist_examples_DATA += pbrd/pbrd.conf.sample
 vtysh_scan += \
        pbrd/pbr_vty.c \
        pbrd/pbr_debug.c \
diff --git a/pimd/pimd.conf.sample b/pimd/pimd.conf.sample
deleted file mode 100644 (file)
index de1da6b..0000000
+++ /dev/null
@@ -1,40 +0,0 @@
-!
-! pimd sample configuration file
-!
-hostname quagga-pimd-router
-password zebra
-!enable password zebra
-!
-!log file pimd.log
-log stdout
-!
-line vty
- exec-timeout 60
-!
-!debug igmp
-!debug pim
-!debug pim zebra
-!
-ip multicast-routing
-!
-! ! You may want to enable ssmpingd for troubleshooting
-! ! See http://www.venaas.no/multicast/ssmping/
-! !
-! ip ssmpingd 1.1.1.1
-! ip ssmpingd 2.2.2.2
-!
-! ! HINTS:
-! !  - Enable "ip pim ssm" on the interface directly attached to the
-! !    multicast source host (if this is the first-hop router)
-! !  - Enable "ip pim ssm" on pim-routers-facing interfaces
-! !  - Enable "ip igmp" on IGMPv3-hosts-facing interfaces
-! !  - In order to inject IGMPv3 local membership information in the
-! !    PIM protocol state, enable both "ip pim ssm" and "ip igmp" on
-! !    the same interface; otherwise PIM won't advertise
-! !    IGMPv3-learned membership to other PIM routers
-!
-interface eth0
- ip pim ssm
- ip igmp
-
-! -x-
index 717f4782f8bc3ca40454050d4445a0f0eae89410..9910642ffa40a97c8eecbf23a5d6854b9a4c0f23 100644 (file)
@@ -7,7 +7,6 @@ noinst_LIBRARIES += pimd/libpim.a
 sbin_PROGRAMS += pimd/pimd
 bin_PROGRAMS += pimd/mtracebis
 noinst_PROGRAMS += pimd/test_igmpv3_join
-dist_examples_DATA += pimd/pimd.conf.sample
 vtysh_scan += pimd/pim_cmd.c
 vtysh_daemons += pimd
 man8 += $(MANBUILD)/frr-pimd.8
index 40b9079b142fa372a8ef6037365493c4117ef605..47c6ad41afb71fbcc939c449144e47aa7f2dfa8b 100644 (file)
@@ -642,7 +642,7 @@ fi
 
 
 %files
-%doc */*.sample* COPYING
+%doc COPYING
 %doc doc/mpls
 %doc README.md
 /usr/share/yang/*.yang
@@ -655,9 +655,6 @@ fi
     %dir %attr(750,root,root) %{_localstatedir}/log/frr
     %dir %attr(750,root,root) %{rundir}
 %endif
-%if 0%{?vty_group:1}
-    %attr(750,%{frr_user},%{vty_group}) %{configdir}/vtysh.conf.sample
-%endif
 %{_infodir}/frr.info.gz
 %{_mandir}/man*/*
 %{_sbindir}/zebra
diff --git a/ripd/ripd.conf.sample b/ripd/ripd.conf.sample
deleted file mode 100644 (file)
index e11bf0b..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-! -*- rip -*-
-!
-! RIPd sample configuration file
-!
-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
index 09d5590329e00aa82db7dea72055180dab66ce6e..99979bff0dd2d1d6eec75a4aa8d6b44e8bbc2190 100644 (file)
@@ -5,7 +5,6 @@
 if RIPD
 noinst_LIBRARIES += ripd/librip.a
 sbin_PROGRAMS += ripd/ripd
-dist_examples_DATA += ripd/ripd.conf.sample
 vtysh_scan += \
        ripd/rip_cli.c \
        ripd/rip_debug.c \
diff --git a/ripngd/ripngd.conf.sample b/ripngd/ripngd.conf.sample
deleted file mode 100644 (file)
index 28f08c3..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-! -*- rip -*-
-!
-! RIPngd sample configuration file
-!
-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
index 8d370f1b5d5440201f59d2ae071d294074f2cfa5..9d8d27d4ccbc890ea0c660828757ad3ed3781a03 100644 (file)
@@ -50,5 +50,3 @@ ripngd_ripngd_SOURCES = \
 nodist_ripngd_ripngd_SOURCES = \
        yang/frr-ripngd.yang.c \
        # end
-
-dist_examples_DATA += ripngd/ripngd.conf.sample
diff --git a/sharpd/sharpd.conf.sample b/sharpd/sharpd.conf.sample
deleted file mode 100644 (file)
index d1cc19a..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-! Default sharpd configuration sample
-!
-! There are no `default` configuration commands for sharpd
-! all commands are at the view or enable level.
-!
-log stdout
index d161eb6327a4e391b0e6c24c7b5a21dcfdea902b..acf4fe5d0079f269823155b5af8909f035e24bfd 100644 (file)
@@ -5,7 +5,6 @@
 if SHARPD
 noinst_LIBRARIES += sharpd/libsharp.a
 sbin_PROGRAMS += sharpd/sharpd
-dist_examples_DATA += sharpd/sharpd.conf.sample
 vtysh_scan += sharpd/sharp_vty.c
 vtysh_daemons += sharpd
 man8 += $(MANBUILD)/frr-sharpd.8
diff --git a/staticd/staticd.conf.sample b/staticd/staticd.conf.sample
deleted file mode 100644 (file)
index 3b64eb9..0000000
+++ /dev/null
@@ -1,5 +0,0 @@
-! Default staticd configuration sample
-!
-log stdout
-!
-! ip route 4.5.6.7/32 10.10.10.10
index a0ae2569cbf65e30ba4dca30e239306d78a0615c..62969a0a2a7c766756f0e6a0c1084afb53fb713b 100644 (file)
@@ -5,7 +5,6 @@
 if STATICD
 noinst_LIBRARIES += staticd/libstatic.a
 sbin_PROGRAMS += staticd/staticd
-dist_examples_DATA += staticd/staticd.conf.sample
 vtysh_scan += staticd/static_vty.c
 vtysh_daemons += staticd
 man8 += $(MANBUILD)/frr-staticd.8
index 96ae5308941743e7090ea0ca8d94c4cc566a5488..dfa9b261c3ffd26f2a55e7d84367e55e5297f8c1 100644 (file)
@@ -5,7 +5,6 @@
 if VRRPD
 noinst_LIBRARIES += vrrpd/libvrrp.a
 sbin_PROGRAMS += vrrpd/vrrpd
-# dist_examples_DATA += staticd/staticd.conf.sample
 vtysh_scan += vrrpd/vrrp_vty.c
 vtysh_daemons += vrrpd
 man8 += $(MANBUILD)/frr-vrrpd.8
index 86861b0390ed9ca7af49cb9141ca92a90bc4447e..5f7d85494844920858c71470bbaa17016a76e999 100644 (file)
@@ -4,7 +4,6 @@
 
 if VTYSH
 bin_PROGRAMS += vtysh/vtysh
-dist_examples_DATA += vtysh/vtysh.conf.sample
 man1 += $(MANBUILD)/vtysh.1
 endif
 
diff --git a/vtysh/vtysh.conf.sample b/vtysh/vtysh.conf.sample
deleted file mode 100644 (file)
index 4e0a2be..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-!
-! Sample configuration file for vtysh.
-!
-!service integrated-vtysh-config
-!hostname quagga-router
-!username root nopassword
-!
index 6a582f69015b501a18ec2af225b74cf709463235..80ea9ac7b8b272b0f65405a4ed5ff39b04d66fd4 100644 (file)
@@ -4,7 +4,6 @@
 
 if ZEBRA
 sbin_PROGRAMS += zebra/zebra
-dist_examples_DATA += zebra/zebra.conf.sample
 vtysh_scan += \
        zebra/debug.c \
        zebra/interface.c \
diff --git a/zebra/zebra.conf.sample b/zebra/zebra.conf.sample
deleted file mode 100644 (file)
index 03042eb..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-! -*- zebra -*-
-!
-! zebra sample configuration file
-!
-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