Commit Graph

646 Commits

Author SHA1 Message Date
Donald Sharp
136b3d67db
Merge pull request #5779 from mjstapp/sharp_with_lsps
sharpd: add support to install/remove lsps
2020-03-17 11:40:35 -04:00
Russ White
047315df42
Merge pull request #5954 from ton31337/feature/rfc7607
bgpd: Proscribe the use of AS 0 (zero)
2020-03-17 10:27:35 -04:00
Donatas Abraitis
c6f30f8c46 doc: Add rfc6608 to supported list
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-03-16 21:58:41 +02:00
Philippe Guibert
25901edde4 doc: update show nhrp support for json
add support for nhrp support with json.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2020-03-13 16:58:14 +01:00
Donald Sharp
54422b46f7 doc: Add show bgp listener command
Add a bit of debug to show the listener sockets and who created them
to associate with strace output for a developer.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-03-10 10:02:43 -04:00
Donatas Abraitis
9b5082174c doc: Add rfc7607 to supported RFCs list
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-03-10 07:35:13 +02:00
Donald Sharp
f4e74bd038 pimd: Add ip pim register-accept-list PLIST command
When pim receives a register packet, we will apply the
received source to the prefix list.  If accepted normal
processing continues.  If denied we will send a register
stop message to the source.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-03-06 16:27:01 -05:00
Donald Sharp
d7a5bc62da doc: Add missing mlag documentation
Add some missing mlag documentation for various commands.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-03-06 16:18:45 -05:00
Quentin Young
cb7f9e90e9
Merge pull request #5912 from mjstapp/fix_doc_slack_link
doc: change slack reference link to main FRR homepage
2020-03-04 19:04:09 -05:00
Mark Stapp
21e78441a9 doc: change slack reference link to main FRR homepage
Change the overview page's link for slack info to point to
the main FRR homepage section - that's where the self-serve
link/info is.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-03-04 14:13:21 -05:00
Donatas Abraitis
b2e60c4bc4 doc: Add documentation for show rpki prefix and show rpki as-number
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-03-04 11:26:23 +02:00
Sri Mohana Singamsetty
200334ecbb
Merge pull request #5855 from ton31337/fix/allow_using_add_sub_for_local-preference
bgpd: Allow using add/subtract for local-preference in route-maps
2020-03-02 09:40:34 -08:00
Donatas Abraitis
c9343c05c4
Merge pull request #5822 from rbauduin/patch-2
doc: Document attribute-unchanged directive
2020-02-28 22:55:15 +02:00
Donatas Abraitis
94f7568813 doc: Use +/- for set local-preference to add/subtract the value
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-28 14:03:47 +02:00
Donatas Abraitis
3234e3a347 doc: Change interface name for vrrp example
Looks like copy-paste error.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-28 13:58:38 +02:00
Donald Sharp
29a6be3e26 doc: Add notice of rfc-4893 in supported rfc's.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-27 17:51:30 -05:00
rbauduin
8b0d734b31 doc: document attribute-unchanged directive
This directive was undocumented, but is the way to configure the
next-hop to be left unchanged for ipv6 setups (in ipv4, a route-map with
`set next-hop unchanged` works fine, but this is unavailable for ipv6) .

Signed-off-by: Raphael Bauduin <rb@raphinou.com>
2020-02-25 20:31:22 +01:00
Mark Stapp
c9e5adba73 sharpd: add support for install/remove lsps
First round of support for exercising the lsp and ftn paths
using sharpd. This supports lsp-only, and binding to
ipv4 prefix. Also use the common lib nexthop-to-zapi
helper api instead of sharpd's open-coded version.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-02-25 10:55:51 -05:00
Donald Sharp
64c0f439d2
Merge pull request #5270 from NaveenThanikachalam/rmap
lib: Optimizing route-maps
2020-02-25 09:15:49 -05:00
Donald Sharp
1a21da6b01
Merge pull request #5802 from ton31337/feature/aggregate-address_origin_override
bgpd: Allow overriding ORIGIN for aggregate-address
2020-02-19 08:38:31 -05:00
Philippe Guibert
3c5f39e76d
Merge pull request #5651 from AnuradhaKaruppiah/evpn-pim-fixes
EVPN-PIM: complete anycast (MLAG) VTEP support
2020-02-18 18:21:16 +01:00
Naveen Thanikachalam
009d25a064 lib: Optimizing route-maps - Part-4
The commit includes the documentation for the newly introduced
commands to enable/disable the optimization.

Signed-off-by: NaveenThanikachalam <nthanikachal@vmware.com>
2020-02-18 02:08:29 -08:00
Donald Sharp
c295c6cec1 doc: Update configure options in installation notes
Add some missing configuration options in the installation notes.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-02-16 14:57:39 -05:00
Anuradha Karuppiah
f80427e9e7 pimd: pim mlag show commands
1. show ip pim mlag summary
provides MLAG session information and stats
2. show ip pim mlag upstream
displays the upstream entries synced across the MLAG switches

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
2020-02-14 09:18:30 -08:00
Donatas Abraitis
a87d2ef7ec doc: Override ORIGIN for aggregate-address command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-13 16:18:35 +02:00
Donatas Abraitis
835e9c5d51 doc: Add few words about bgp disable-ebgp-connected-route-check
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-02-07 20:57:52 +02:00
Stephen Worley
5aad6a563e doc: indicate non-support for dynamic pbr maps
Indicate in the doc clearly that we do not support the dynamic
creation of pbr maps for sub-interfaces when the master has
an interface. Such as in vlans. It must be explicitly added.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2020-02-04 11:42:43 -05:00
Donald Sharp
083954e9d6 doc: Update doc to reflect changes in show nexthop-group rib command
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-01-31 08:45:51 -05:00
Russ White
64d50ba4c4
Merge pull request #5210 from bisdhdh/master
bgpd:BGP Graceful Restart Per Neighbor(BGPN) Feature.
2020-01-28 11:47:09 -05:00
Russ White
1746db70ad
Merge pull request #5721 from mjstapp/vty_copy_to_runn
vtysh: add a cli that reads a file into running-config
2020-01-28 11:31:25 -05:00
Donatas Abraitis
243892e017 doc: Add documentation about OSPF(6) set metric [+|-]metric cmd
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-01-24 14:11:02 +02:00
Mark Stapp
874f579d64 vtysh: add a cli that reads a file into running-config
Add a 'copy' cli that reads a file into the current running
config. Add an entry about the new cli to the user doc.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2020-01-23 14:48:06 -05:00
bisdhdh
2ba1fe6951 bgpd: BGP Garaceful Restart debug logs.
Reorganizing bgp gr debug logs and code review comments.

Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
2020-01-23 09:36:33 +05:30
bisdhdh
efcb2ebbb2 bgpd: BGP Graceful Restart documentation.
This change list contains the documentation of BGP Greacful Restart
feature and all the commnads to enable/disable the feature

Signed-off-by: Biswajit Sadhu <sadhub@vmware.com>
2020-01-23 09:36:33 +05:30
Donald Sharp
56f9b9bf15 doc: Update ospf unnumbered documentation
Update the ospf unnumbered documentation to reflect how
to get it working under linux.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-01-22 17:27:58 -05:00
Donatas Abraitis
edf98aa365 doc: Add some words about neighbor <X> maximum-prefix-out cmd
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-01-17 16:03:38 +02:00
Tim Bray
8202e9a0a1 doc: Note about BFD debug logging
Because there is nothing in config debug for BFD.

Signed-off-by: Tim Bray <tim@kooky.org>
2020-01-16 16:06:54 +00:00
Donald Sharp
5ee5afc96b doc: Clarify what is supported directly in PIM documentation
The FRR community keeps getting asked about what is supported or not.
Try to clarify in an additional spot what is and what is not supported.
Where people interested in using PIM might have a chance at actually
seeing the notification.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2020-01-07 09:03:08 -05:00
Donatas Abraitis
52771e362c doc: Add rfc8212 to supported RFCs list
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2020-01-03 09:51:17 +02:00
Sri Mohana Singamsetty
7bf5810f78 doc: Updating FRR supported RFC list
1. Added subsections for BGP, MPLS, ISIS, OSPF etc.
2. Updated RFCs for BGP, MPLS, OSPF.

Signed-off-by: Sri Mohana Singamsetty <msingamsetty@vmware.com>
2020-01-02 16:00:31 -08:00
Donald Sharp
e7c105a7b4 doc: Add bgp neighbor password command
The bgp neighbor password command was not documented additionally
the fact that you may need to instruct the kernel to have more
memory available for tcp sockets when using this feature on a large
number of peers.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-12-27 09:20:38 -05:00
Donatas Abraitis
25c4cecfcd
Merge pull request #5543 from Jafaral/routerid
zebra: add 'show router-id'
2019-12-19 11:26:18 +02:00
Quentin Young
11bc3dba86 doc: update overview.rst for the new millennium
Provide a more succinct summary of what FRR is, what it does, where it
sits in the network stack. Also remove some outdated comments about
features.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-12-18 15:13:51 -05:00
Jafar Al-Gharaibeh
13b01f2f0c zebra: add 'show router-id'
router-id is buried deep in "show running-config", this new
command makes it easy to retrieve the user configured router-id.
Example:

  # configure terminal
  (config)# router-id 1.2.3.4
  (config)# end

  # show router-id
  router-id 1.2.3.4

  # configure terminal
  (config)# no router-id 1.2.3.4
  (config)# end

  # show router-id
  #

Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2019-12-17 15:05:56 -06:00
Quentin Young
0e95efb59f
Merge pull request #5514 from Jafaral/nhrp-docs
doc: add discussion for a handful of nhrp commands
2019-12-17 15:17:35 -05:00
Jafar Al-Gharaibeh
68edc5ff15 doc: add discussion for a handful of nhrp commands
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2019-12-17 11:03:09 -06:00
Donald Sharp
4e29b89aba
Merge pull request #5427 from liam-mcb/igmp-join-any
pimd: Add command to join any-source multicast.
2019-12-16 07:47:41 -05:00
Liam McBirnie
771ce8ad24 pimd: Add command to join any-source multicast.
Allow 'ip igmp join' to join group for any source if no source is
specified.
Disallow joining source "0.0.0.0" as it is used to define an
any-source multicast group.

Signed-off-by: Liam McBirnie <liam.mcbirnie@boeing.com>
2019-12-12 13:09:46 +01:00
Jafar Al-Gharaibeh
6a40ad3ee1 doc: document ip mroute static route cmd
Signed-off-by: Jafar Al-Gharaibeh <jafar@atcorp.com>
2019-12-09 16:55:14 -06:00
Jafar Al-Gharaibeh
73373085bc
Merge pull request #5499 from sworleys/Pbr-Detail
pbrd: make the show pbr map output better
2019-12-06 18:02:08 -06:00
Donald Sharp
4f63093247
Merge pull request #4765 from opensourcerouting/defaults-v2
lib/*: new config defaults system, v2
2019-12-06 14:07:42 -05:00
Stephen Worley
b781c0869d doc: add show pbr map doc
Add some doc for the `show pbr map [NAME] [detail]` command.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2019-12-06 14:04:02 -05:00
Renato Westphal
6f0af4c069
Merge pull request #5439 from mjstapp/nhg_add_labels
lib: support labelled nexthops in nexthop_groups
2019-12-06 11:17:10 -03:00
David Lamparter
a048cda55f doc: document defaults mechanism
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-12-06 15:13:32 +01:00
Rafael Zalamena
b0a89c27ad
Merge pull request #5288 from SumitAgarwal123/bfd_docs
doc: Adding new CLI and updating existing show output
2019-12-06 09:35:13 -03:00
Donatas Abraitis
5031d88694 doc: Add moaar dashes to underline line
doc/user/bgp.rst:420: WARNING: Title underline too short.
Reject routes with AS_SET or AS_CONFED_SET types
-------------------------------

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-12-06 08:33:30 +02:00
Donatas Abraitis
1ab334682a
Merge pull request #5341 from rbauduin/patch-1
mention allow-outbound-policy for route reflectors
2019-12-04 13:56:42 +02:00
Donald Sharp
2d3c8c2957
Merge pull request #5305 from ton31337/feature/draft-ietf-idr-deprecate-as-set-confed-set
bgpd: Reject incoming and outgoing UPDATES for AS_SET and AS_CONFED_SET
2019-12-03 21:29:09 -05:00
Mark Stapp
db2fede990 lib: support labelled nexthops in nexthop_groups
Add support for labelled nexthops in nexthop-group
vtysh configuration. Also update the PBR doc where
the cli is described.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2019-12-03 16:54:35 -05:00
rbauduin
a690202f5e doc: mention allow-outbound-policy for route reflectors
Signed-off-by: Raphael Bauduin <rb@raphinou.com>
2019-12-01 19:43:26 +01:00
Philippe Guibert
0c16a06869
Merge pull request #5284 from sworleys/PBR-Add-NH-Table-2
pbrd: Add `set vrf NAME` and `set vrf unchanged`
2019-11-26 21:18:49 +01:00
Philippe Guibert
dd90b4c86a
Merge pull request #4977 from chiragshah6/evpn_dev1
* evpn primary address advertisement
2019-11-26 17:56:59 +01:00
Don Slice
adee8f2164 zebra: knob to make ra retransmit interval rfc compliant
Problem reported by testing facility that our sending of Router
Advertisements more frequently than once very three seconds is not
compliant with rfc4861. Added a knob to turn off fast retransmits
in order to meet the requirement of the RFC.

Ticket: CM-27063
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
2019-11-22 18:40:20 +00:00
Chirag Shah
b6c34e8586 doc: evpn pip add documentation
Ticket:CM-26190
Reviewed By:
Testing Done:

Signed-off-by: Chirag Shah <chirag@cumulusntworks.com>
2019-11-22 07:53:34 -08:00
Stephen Worley
be3b67b5ef pbrd: Add set vrf NAME and set vrf unchanged
`set vrf NAME` allows the pbr map to point to an arbitrary vrf table.

`set vrf unchanged` will use the interface's vrf for table lookup.

Further, add functionality for pbr to respond to interface events
such as interface vrf changes & interface creation/deletion.

Ex)
ubuntu_nh# show pbr map
  pbr-map TEST valid: 1
    Seq: 1 rule: 300 Installed: 3(1) Reason: Valid
        SRC Match: 3.3.3.3/32
        VRF Unchanged (use interface vrf)
  pbr-map TEST2 valid: 1
    Seq: 2 rule: 301 Installed: 3(2) Reason: Valid
        SRC Match: 4.4.4.4/32
        VRF Lookup: vrf-red

root@ubuntu_nh:/home# ip rule show
0:      from all lookup local
300:    from 3.3.3.3 iif dummy2 lookup main
300:    from 3.3.3.3 iif dummyVRF lookup 1111
301:    from 4.4.4.4 iif dummy1 lookup 1111
301:    from 4.4.4.4 iif dummy3 lookup 1111

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com-
2019-11-21 16:59:42 -05:00
Donald Sharp
ff7d3cf2b7 doc: Fix nhrp doc issue
The link to the strong swan patches was mumble snumped.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-11-19 21:53:37 -05:00
Quentin Young
83621c63d3 doc: add link to developer docs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-11-16 21:46:49 -05:00
Quentin Young
3252e3c801 doc: clean up overview.rst
Move the "how to get" blurb to a more obvious place and include a link
to the apt repo.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-11-16 21:25:19 -05:00
Donatas Abraitis
f0c81afe61 doc: Add documentation for bgp reject-as-sets command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-11-14 19:19:05 +02:00
Donald Sharp
a6ac9df8ea
Merge pull request #5307 from ton31337/fix/bgp_dampening_per_afi_safi
bgpd: Rework BGP dampening to be per AFI/SAFI
2019-11-12 15:11:27 -05:00
Renato Westphal
220e485b4d
Merge pull request #5209 from ton31337/feature/banner_motd_from_input
vtysh: Add an option to set banner motd from an input
2019-11-12 13:39:46 -03:00
Donatas Abraitis
319a7d0689 doc: Append documentation for bgp dampening command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-11-12 16:39:09 +02:00
SumitAgarwal123
54719107c8 doc: Adding new CLI and updating exsisting show output
1. Adding 2 two new fields

Peer type, configured/dynamic
Detect multiplier

2. Added new command "clear bfd counters"

3. Added new command "show bfd peers brief"

Signed-off-by: Sayed Mohd Saquib sayed.saquib@broadcom.com
2019-11-05 22:58:40 -08:00
Donatas Abraitis
038984fd3c doc: Add banner motd <file|line> sections
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-10-31 15:02:53 +02:00
Donatas Abraitis
f149ebd9a7
Merge pull request #5248 from opensourcerouting/bgp-sender-as-path-loop-detection
bgpd: sender side AS path loop detection
2019-10-31 08:36:33 +02:00
Rafael Zalamena
583a9fd4e8 doc: bgp sender side as path loop detection
Document the new command that does sender side AS path loop detection
and filtering.

Signed-off-by: Rafael Zalamena <rzalamena@opensourcerouting.org>
2019-10-30 09:03:30 -03:00
Donatas Abraitis
245d354ff3 doc: Add redistribute vnc-direct command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-10-28 16:53:40 +02:00
Donatas Abraitis
99ad55e0c5 doc: redistribute vpn --> redistribute vnc
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-10-28 16:53:11 +02:00
Stephen Worley
da3ef85b22 doc: Add docs for new nexthop group commands
Add some doc information for the new nexthop group commands. Also
had to add some for ones that were missing, which we are adding
additional commands to.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2019-10-25 11:13:43 -04:00
Donald Sharp
7647930dc7
Merge pull request #5200 from ton31337/feature/doc_access-list_sequence_numbers
doc: Update documentation for access-list with sequence numbers
2019-10-24 21:24:56 -04:00
Donald Sharp
36d687f6fa doc: Update supported platforms matrix w/ vrrpd
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-10-23 09:11:45 -04:00
Ghasem Naddaf
9965000665 doc: vrrp vip must not be on parent interface
Signed-off-by: Ghasem Naddaf <ghasem.naddaf@gmail.com>
2019-10-21 14:58:16 -07:00
Donatas Abraitis
fc830a812b doc: Update documentation for access-list with sequence numbers
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-10-21 18:04:39 +03:00
Donatas Abraitis
acf061a9ab
Merge pull request #5108 from donaldsharp/sendbuffer_size_bgp
Sendbuffer size bgp
2019-10-20 12:09:42 +03:00
Renato Westphal
dfd7b62ddd
Merge pull request #5172 from donaldsharp/sa_clean_and_clean
Sa clean and clean
2019-10-17 23:14:31 -03:00
Quentin Young
dad83b6745 doc: fix read-quanta .. index copy-paste err
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-10-17 19:53:19 +00:00
Mark Stapp
5b724d424b
Merge pull request #5171 from donaldsharp/remove_getrusage
*: Allow disabling of `getrusage` calls
2019-10-17 12:26:28 -04:00
Donald Sharp
e10dda5773 doc: Add MRAI timer documentation to bgp docs
We were missing the bgp MRAI timer documentation.  Add it in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-10-16 13:38:29 -04:00
Donald Sharp
f75e802d8a *: Allow disabling of getrusage calls
getrusage, in a heavily stressed system, can account for
signficant running time due to process switching to the kernel.
Allow the end-operator to specify `--disable-cpu-time` to
avoid this call.  Additionally we cause `show thread cpu` to
not show up if this is selected.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-10-16 13:34:59 -04:00
Quentin Young
e312b6c6c7 doc: add documentation for write- and read-quanta
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-10-16 14:41:54 +00:00
Donald Sharp
11a9a23664 doc: Add cli options for bgp to documentation
Document the bgp cli options.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-10-16 07:42:45 -04:00
Donald Sharp
5c117085f6
Merge pull request #5117 from ton31337/fix/remove_deprecation_for_ip_prefix
bgpd: Remove depracated `ip` prefix for as-path/extcommunity/large/co…
2019-10-14 08:14:05 -04:00
Quentin Young
09ea1a4038
Merge pull request #5138 from ghasemnaddaf/vrrp_updates
doc: minor updates to vrrp doc
2019-10-11 12:04:32 -04:00
Ghasem Naddaf
803a4db6ff doc: minor updates to vrrp doc
fix wrapping and indentation

Signed-off-by: Ghasem Naddaf <ghasem.naddaf@gmail.com>
2019-10-11 08:28:12 -07:00
Ghasem Naddaf
7456e5b3b2 doc: minor updates to vrrp doc
clarify IPv6 address, debug config and default version

Signed-off-by: Ghasem Naddaf <ghasem.naddaf@gmail.com>
2019-10-10 16:04:58 -07:00
Philippe Guibert
951745bdab bgpd: ability to export prefixes entries to a kernel table identifier
this table identifier can be used for policy routing. incoming entries
are locally exported to that local table identifier.
note that so that the user applies the new table identifier to all
entries, the user should flush local tables first.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2019-10-10 16:06:51 +02:00
Donatas Abraitis
a64e0ee5f9 doc: Replace ip prefix for as-path and community lists to bgp
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-10-08 09:08:36 +03:00
Donald Sharp
7cdc9530ef doc: Add some additional warnings around Turning off bgp capabilities
FRR supports the ability to turn off the negotation of bgp capabilities.
Provide a few bread crumbs to the operator that it might not be as
useful as they would hope.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-10-03 09:28:23 -04:00
Philippe Guibert
fbe49edb53 doc: add vty command information about brief usage
brief keyword can be used along with vrf NAME or vrf all.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2019-09-30 09:35:05 +02:00
Donald Sharp
75a5d867a1
Merge pull request #5051 from idryzhov/fix-vrf-autocomplete
*: fix missing VRF autocompletions
2019-09-25 15:27:55 -04:00
Igor Ryzhov
e429a2a0cc *: fix missing VRF autocompletions
Current autocompletion works only for simple "vrf NAME" case.

This commit expands it also for the following cases:
- "nexthop-vrf NAME" in staticd
- usage of $varname in many daemons

All daemons are updated to use single varname "$vrf_name".

Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2019-09-24 19:51:46 +03:00
Donald Sharp
09d78f10f6 doc: Update bgp docs to have show bgp update-group... commands
Update the user docs to have information about the `show bgp update-group..
group of commands.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-23 14:26:03 -04:00
Donald Sharp
563018b90d user: Update ip protocol... command documentation
Update documentation to reflect on the ground behavior.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-20 15:16:36 -04:00
Donald Sharp
5d83c731e3
Merge pull request #4984 from Alexis-ROYER/pim-doc#4965
[PIM] Confusing documentation for `ip pim sm` command (#4965)
2019-09-18 06:40:09 -04:00
Alexis Royer
a94dd7dd96 doc/user: Confusing documentation for ip pim sm
Modification of the documentation for the `ip pim sm` command in order to avoid the understanding of an incompatibility with IGMP on the interface.

Signed-off-by: Alexis Royer <alexis.royer@gmail.com>
2019-09-18 09:57:13 +02:00
Russ White
f0b7ed8823
Merge pull request #4988 from donaldsharp/watchfrr_ignore_daemon
Watchfrr ignore daemon
2019-09-17 07:48:14 -04:00
Donald Sharp
466642858e doc: Add watchfrr documentation
Start the documentation for watchfrr.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-16 14:22:22 -04:00
Donald Sharp
4dac4cc943 doc: Update documentation for 'set distance XX` command for bgp
Allow bgp to store and pass through a different distance than
normal for installing into the rib.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-13 16:44:34 -04:00
Ruben Kerkhof
afb2a168bb doc: Djikstra -> Dijkstra
Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
2019-09-11 20:35:06 +02:00
Renato Westphal
e25352de4a
Merge pull request #4950 from donaldsharp/table_summary
Table summary
2019-09-11 12:34:07 -03:00
Donald Sharp
a3fd74f7b0 doc: Add show ip route summary documentation
Add a bit of doc for the `show ip route summary` command

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-11 08:16:18 -04:00
Donald Sharp
9187f11ac1 doc: Update documentation to talk about Administrative Distance
The FRR documentation had no discussion about how Administrative
Distance is used.  Update the documentation to reflect the reality
on the ground.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-11 07:53:43 -04:00
Lou Berger
ccc13acc0f
Merge pull request #4866 from ton31337/feature/apply_route-map_for_aggregate-address
bgpd: Apply route-map for aggregate-address
2019-09-10 11:59:10 -04:00
Quentin Young
0e6fa0e9c7 doc: Edgar -> Edsger
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-09-09 15:02:21 +00:00
Donatas Abraitis
713c64dd09 doc: Add documentation for bgp ebgp-requires-policy command
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-09-05 19:57:46 +03:00
Donald Sharp
947d34af23
Merge pull request #4869 from rtrlib/2019-08-22-bugfix-master
bgpd: rpki fixes (master)
2019-09-04 07:49:14 -04:00
Donald Sharp
a547ef391c doc: Update pbr to reflect new mark match command.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-09-03 19:18:21 -04:00
Russ White
996c5b515b
Merge pull request #4797 from opensourcerouting/eigrpd-vrf
eigrpd: vrf support
2019-09-03 09:17:35 -04:00
Donald Sharp
217f07373e
Merge pull request #4913 from ddutt/master
bgpd: Add a new command to only show failed peerings
2019-09-03 08:05:33 -04:00
Dinesh G Dutt
3577f1c54f bgpd: Add a new command to only show failed peerings
In a data center, having 32-128 peers is not uncommon. In such a situation, to find a
peer that has failed and why is several commands. This hinders both the automatability of
failure detection and the ease/speed with which the reason can be found. To simplify this
process of catching a failure and its cause quicker, this patch does the following:

1. Created a new function, bgp_show_failed_summary to display the
   failed summary output for JSON and vty
2. Created a new function to display the reset code/subcode. This is now used in the
   failed summary code and in the show neighbors code
3. Added a new variable failedPeers in all the JSON outputs, including the vanilla
   "show bgp summary" family. This lists the failed session count.
4. Display peer, dropped count, estd count, uptime and the reason for failure as the
   output of "show bgp summary failed" family of commands
5. Added three resset codes for the case where we're waiting for NHT, waiting for peer
   IPv6 addr, waiting for VRF to init.

This also counts the case where only one peer has advertised an AFI/SAFI.

The new command has the optional keyword "failed" added to the classical summary command.

The changes affect only one existing output, that of "show [ip] bgp neighbors <nbr>". As
we track the lack of NHT resolution for a peer or the lack of knowing a peer IPv6 addr,
the output of that command will show a "waiting for NHT" etc. as the last reset reason.

This patch includes update to the documentation too.

Signed-off-by: Dinesh G Dutt <5016467+ddutt@users.noreply.github.com>
2019-09-02 14:21:44 +00:00
David Lamparter
ed18356f1f bgpd/bmp: BMP implementation
This implements BMP.  There's no fine-grained history here, the non-BMP
preparations are already split out from here so all that remains is BMP
proper.

Signed-off-by: David Lamparter <equinox@diac24.net>
2019-08-30 19:22:23 +02:00
Marcel Röthke
7c8edcc9f1 bgpd: update rpki documentation
Signed-off-by: Marcel Röthke <marcel.roethke@haw-hamburg.de>
2019-08-28 16:17:31 +02:00
Donatas Abraitis
ac2201bbcd doc: Add documentation for aggregate-address with route-map support
Additionally remove trailling/unnecesarry whitespaces and align code
snippets correctly.

Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-08-28 16:45:44 +03:00
Donald Sharp
eb1f303d3e bgpd: Update doc for some as-path route-map commands
Update the documentation for some as-path route-map commands.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-08-26 09:56:53 -04:00
Don Slice
dc91261567 bgpd: make clear bgp * clear all peers in all afi/safis
Problem reported that "clear bgp *" only cleared ipv6 peers.
Changed the logic to clear all afi/safis of all peers in
that case.  Also improved the operation of clearing
individual afi/safi using soft/in/out to do the right thing.

Ticket: CM-25887
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
2019-08-20 13:50:58 +00:00
Donald Sharp
4174743969 doc: Update eigrp documentation
Update the eigrp documentation to reflect the new vrf sub-commands.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-08-06 22:47:19 -03:00
Mark Stapp
85400b29ac docs: Add notes about limited MPLS-TE support
Add notes to several docs about the limits to FRR's current
MPLS-TE support, which is limited to some routing protocol
LSA/TLV support. It wasn't very clear that FRR does not offer
a complete TE/RSVP-TE solution at this time.

Also removed some stale info about configure script options.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2019-08-06 15:47:36 -04:00
Donald Sharp
d864f2b43f doc: Add warning to doc about v6 ecmp route deletion
Add a warning to the user documentation about v6 ecmp route
deletion and what version of the linux kernel that you should
be using.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-08-01 12:53:15 -04:00
Renato Westphal
7a1872316b
Merge pull request #4757 from donaldsharp/import_check_fixup
Import check fixup
2019-08-01 11:40:52 -03:00
Donatas Abraitis
ec3b947f6e
Merge pull request #4755 from donaldsharp/ospf_router_id_doc
doc: Fix ospf router-id doc suggestion
2019-08-01 10:30:59 +03:00
Donald Sharp
d81463ea43 doc: Update documentation to reflect new sharp watch import changes
Update the documentation to reflect the reality on the ground.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-07-31 10:50:24 -04:00
Vincent Bernat
c78544342f doc: fix "match as-path" documentation
The documentation says "match aspath" to match an AS path in a
route-map while the directive is "match as-path".

Signed-off-by: Vincent Bernat <vincent@bernat.ch>
2019-07-31 16:40:02 +02:00
Donald Sharp
349ee66419 doc: Fix ospf router-id doc suggestion
The v2 and v3 ospf documentation was suggesting
that the user should use a deprecated command.

Fixes: #4734
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-07-30 17:13:55 -04:00
Russ White
0cd8c0ff11
Merge pull request #4650 from pguibert6WIND/show_ip_route_table_all
zebra: add show ip route all command to dump all unicast tables
2019-07-30 11:18:10 -04:00
Philippe Guibert
5a81528c75 doc: add information about 'show ip route [vrf VRF] tables command
the documentation of zebra is appended with that command.

PR=61261
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Acked-by: Thibaut Collet <thibaut.collet@6wind.com>
2019-07-10 08:36:04 +02:00
Jafar Al-Gharaibeh
7bc33bcc19
Merge pull request #4088 from opensourcerouting/bump-libyang-requirement-vers
build, lib: bump libyang requirement version to >= 0.16.105 (-r3)
2019-07-09 17:59:17 +03:00
David Lamparter
1df0492687
Run-time log filtering via vtysh commands (#4524)
Run-time log filtering via vtysh commands
2019-07-03 14:39:59 +02:00
Renato Westphal
716ffcc8fe build, lib: bump libyang requirement version to >= 0.16.105
After ~4 months of deprecation period [1], drop support for older
libyang versions that don't support embedded extensions.

In addition to support for embedded extensions, libyang 0.16-r3
contains several bug fixes and performance improvements compared
to libyang-0.16-r1. It was about time to update.

Fixes:
* Issue #3273
* Issue #3971

[1] See commit 68626e08.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2019-07-01 22:59:54 -03:00
Sri Mohana Singamsetty
4b7269c42f
Merge pull request #4570 from donaldsharp/route_map_clear
lib: Add `clear route-map counters [WORD]` command
2019-06-25 10:34:11 -07:00
Stephen Worley
018fa5f85d doc: Add a performance note for log filtering
Add a not under the log-filter command to indicate
that, while filtering reduces load on the system by
large margins, there may still be a small performance
hit from filtering those.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2019-06-25 10:49:43 -04:00
David Lamparter
18130847e6
Merge pull request #4520 from rgirada/fix_clear_mroute
pimd: Added cli to generate igmp query.
2019-06-25 14:06:13 +02:00
rgirada
6741a5bb4e pimd: Added cli to generate igmp query.
Fix details :
Added a utility cli to generate a igmp query on an interface.
This won't impact the existing query generation based on the
general query interval.

Signed-off-by: Rajesh Girada <rgirada@vmware.com>
2019-06-24 03:15:10 -07:00
Donald Sharp
8ae57bc1ad
Merge pull request #4262 from vishaldhingra/lcomm_1
bgpd : Support for exact-match in match clause for lcommunity
2019-06-21 19:35:47 -04:00
Donald Sharp
1fa305095a lib: Add clear route-map counters [WORD] command
This will allow the end-user to clear the counters associated
with the route-map.  Subsuquent `show route-map ..` commands
will display counters since the last clear.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-06-20 14:10:44 -04:00
Donald Sharp
a65a2f4c84 doc: Cleanup clear ip prefix-list... documentation.
The documentation was a tiny bit odd.  Clean it up to
be a bit better.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-06-20 01:52:24 -04:00
Sri Mohana Singamsetty
920c100807
Merge pull request #4549 from donaldsharp/multiple_instance
Multiple instance
2019-06-20 13:32:34 -07:00
Stephen Worley
c103b19f6d doc: Add docs for log-filter and show log-filter
Add some user documentation for applying/deleting/showing
log filters with the new commands.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
2019-06-19 17:20:24 -04:00
vishaldhingra
36a206db61 bgpd : Support for exact-match in match clause for lcommunity
FRR has a provision to give exact-match in match clause for
standard community, but this option is missing for lcommunity.

Part 3 : show related changes for match clause

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
2019-06-19 04:42:48 -07:00
vishaldhingra
03ff9a1410 bgpd : Support for exact-match in match clause for lcommunity
FRR has a provision to give exact-match in match clause for
standard community, but this option is missing for lcommunity.

Part 2 : CLI related changes for match clause

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
2019-06-19 04:37:51 -07:00
Donald Sharp
3e461df2ea
Merge pull request #4260 from vishaldhingra/lcomm
bgpd: Added the as-set option for IPV6 agg. route
2019-06-18 20:45:57 -04:00
Donald Sharp
8646a71ba5 doc: Update documentation about multiple-instance
The `bgp multiple-instance` command has been removed but
we did not properly update the documentation.  Let's do so.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-06-18 09:31:35 -04:00
David Lamparter
7925535457
Document FRR service manipulation (#4528)
Document FRR service manipulation
2019-06-17 21:16:55 +02:00
Quentin Young
dec5b24733
Merge pull request #4505 from ton31337/feature/autocomplete_bgp_peer-group
bgpd: List all groups dynamically for commands with peer-group
2019-06-17 13:53:48 -04:00
Quentin Young
5b8235aa0e doc: add service control instructions
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-06-17 16:48:24 +00:00
Mark Stapp
e25aa97637 doc: add config file name for mpls config
We say something about what needs to be configured - but don't
name the file where the change needs to go.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2019-06-17 12:08:06 -04:00
vishaldhingra
5101feceae bgpd: Added the as-set option for IPV6 agg. route
FRR has no option for the as-set for aggregate route
under IPV6 address family. Added the command to
configure the as-set option for IPV6.

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
2019-06-17 01:32:30 -07:00
Quentin Young
df6f605507 doc: add vrrpd service line
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-06-14 17:37:00 +00:00
Donatas Abraitis
d7b9898c7f bgpd: List all groups dynamically for commands with peer-group
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2019-06-11 23:29:32 +03:00
Donald Sharp
3f759ec92f
Merge pull request #4449 from opensourcerouting/py-detect
build: refactor & revamp python autoconf logic
2019-06-07 07:19:35 -04:00
Donald Sharp
6ed859503d doc: Update the documentation to reflect -N changes
The -N <namespace> option is now used to control the location
of various control files and sockets.  Update the documentation
to reflect this.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-06-04 19:52:46 -04:00
David Lamparter
45da32d7a4 build: refactor & revamp python autoconf logic
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-06-04 16:21:20 +02:00
Donald Sharp
92e4285ce2 doc: Update pim docs for clear ip mroute [vrf NAME] count command
Simple documentation update for the new `clear ip mroute [vrf NAME] count`
command to the FRRouting documentation.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-06-03 11:20:46 -04:00
Donald Sharp
80d02adbb0 doc: Add doc for new configure option
Add documentation for the '--command-log-always' daemon cli
and how to use it.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-31 10:06:42 -04:00
Donald Sharp
008def8643
Merge pull request #4369 from patrasar/lmqc_lmqt
pimd: new cli to configure last-member-query-count & last-member-quer…
2019-05-30 21:23:11 -04:00
Mark Stapp
bb71dbb400
Merge pull request #4410 from donaldsharp/invalid
doc: Fix doc showing command that does not exist
2019-05-30 11:32:48 -04:00
Sarita Patra
59115451a8 pimd: new cli to configure last-member-query-count & last-member-query-interval
Introduce new cli commands ip igmp last-member-query-count <1-7>
ip igmp last-member-query-interval <1-255> deciseconds.

Display the config in show running config and show ip igmp interface

Signed-off-by: Sarita Patra <saritap@vmware.com>
2019-05-29 20:36:16 -07:00
Sarita Patra
468b6f4400 pimd: new cli command show ip mroute summary
Introduced a new command "show ip mroute summary"
to display total number of (*, G) and (S, G) mroutes
created and number of mroutes installed in the kernel.

Signed-off-by: Sarita Patra <saritap@vmware.com>
2019-05-29 08:44:22 -07:00
Donald Sharp
9fe1319be0 doc: Fix doc showing command that does not exist
The `bgp bestpath prefix-validate disallow-invalid` command referenced in
the rpki documentation does not actually exist, remove the erroneous docs

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-28 18:58:11 -04:00
Jafar Al-Gharaibeh
bda0241599
Merge pull request #4239 from sarav511/rp
pimd: PIM Bootstrap Message Processing
2019-05-28 10:26:28 -05:00
David Lamparter
d78978e49f
zebra: Add kernel level graceful restart (#4301)
zebra: Add kernel level graceful restart
2019-05-25 11:43:10 +02:00
David Lamparter
4b031e20c5 doc: fix space character nit
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-05-25 11:37:06 +02:00
Donald Sharp
8b1148bf59 doc: Add 'show thread cpu' and 'show thread poll' documentation
Add some very basic 'show thread cpu' and 'show thread poll'
documentation to our system.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-24 08:24:18 -04:00
Donald Sharp
610b53283b doc, tools: Update to code to show example MAX_FDS
Place in the code the ability for end operators to know how
to modify MAX_FDS so that they can run large scale operations.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-24 08:24:18 -04:00
Donald Sharp
33656d2db2 doc, zebra: Remove keep_kernel_mode from zebra
This code doees this:

a) Imagine ospf installs a route into zebra.  Zebra crashes and
we restart FRR.  If we are using the -k option on zebra than
all routes are re-read in, including this OSPF route.
b) Now imagine at the same time that zebra is starting backup
ospf on a different router looses a link to the this route.
c) Since zebra was run with -k this OSPF route is read back
in but never replaced and we now have a route pointing out
an interface to other routers that cannot handle it.

We should never allow users to implement bad options from zebra's
perspective that allow them to put themselves into a clear problem
state and additionally we have *absolutely* no mechanism to ever
fix that broken route without special human interaction.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-23 19:36:41 -04:00
Donald Sharp
d4644d4196 zebra: Add kernel level graceful restart
<Initial Code from Praveen Chaudhary>

Add the a `--graceful_restart X` flag to zebra start that
now creates a timer that pops in X seconds and will go
through and remove all routes that are older than startup.

If graceful_restart is not specified then we will just pop
a timer that cleans everything up immediately.

Signed-off-by: Praveen Chaudhary <pchaudhary@linkedin.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-23 19:35:42 -04:00
btarno
8a2124f7e3 doc: clarify mpls label export docs
The current wording can sometimes be misinterpreted to mean that this
command is optional, but for an MPLS-VPN to function a VPN label MUST be
assigned to routes exported from the VPN.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-05-17 22:05:23 +00:00
Quentin Young
b58ab00f72 doc: add VRRP documentation
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-05-17 00:27:08 +00:00
saravanank
6b5062cdd7 doc: updating pim.rst with bsm processing commands
Signed-off-by: Saravanan K <saravanank@vmware.com>
2019-05-14 21:42:22 -07:00
Philippe Guibert
7b8ca2a831 doc: add bfd check-control-plane-failure information
this command is used when user wants to use the cbit value.
more information in the documentation.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2019-05-14 16:49:49 +02:00
Rafael Zalamena
5fd270a114
Merge pull request #4112 from pguibert6WIND/bfd_vrf
support for BFD VRF
2019-05-14 10:24:56 -03:00
Emanuele Di Pascale
cb76274617 doc: fix ospf6d router-id cmd
in ospf6d, the 'router-id' command must be prefixed with 'ospf6'.
Update the docs to reflect this.

Signed-off-by: Emanuele Di Pascale <emanuele@voltanet.io>
2019-05-13 13:06:23 +02:00
Quentin Young
03c5e5b776
Merge pull request #4306 from mjstapp/doc_dplane_cli
doc: add cli doc for zebra dplane cli
2019-05-10 15:43:24 -04:00
Mark Stapp
3fdcb30329 doc: add doc for zebra dplane cli
Add some notes about the cli associated with the zebra
dataplane.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
2019-05-10 15:42:28 -04:00
Jafar Al-Gharaibeh
58d9d6ac7c
Merge pull request #4284 from donaldsharp/conf_t
Conf t
2019-05-09 17:01:51 -05:00
Quentin Young
886026c8d2 doc: add doc for bgp maximum-prefix knob
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-05-08 19:29:13 +00:00
Dinesh Dutt
982589a31a doc: Modify documentation to reflect new configure changes
This is the document changes to reflect the configure option
making `terminal` optional.

Signed-off-by: Dinesh Dutt <dd.ps4u@gmail.com>
2019-05-07 21:06:00 -04:00
Philippe Guibert
c3771c91fa doc: change bfd show commands with vrfname keyword
now that bfd show commands have changed, update documentation so as to
reflect how to use vrf keyword in the show bfd commands.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2019-05-07 16:01:47 +02:00
Philippe Guibert
626618caee doc: update bfd documentation
add a bfd vrf example. explain that it is possible to use both interface
and vrf keyword.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2019-05-07 15:54:30 +02:00
Donald Sharp
46677ed266 doc: Add a couple of missed show zebra ... comamnds to doc
Noticed that a couple of the `show zebra ...` commands are missing
from the zebra documentation that I use a bunch.  Let's add them
in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-06 22:51:45 -04:00
Donald Sharp
c447ad08b2 doc, zebra: Remove "table X" command
This command is broken and has been broken since the introduction
of vrf's.  Since no-one has complained it is safe to assume that
there is no call for this specialized linux command.  Remove
from the system with extreme prejudice.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-05-06 13:42:23 -04:00
Mark Stapp
bbd8da796b
Merge pull request #4187 from donaldsharp/doc_pim
doc: Cleanup output of new PIM-EVPN doc
2019-04-24 15:18:27 -04:00
Mark Stapp
850af7ac4a
Merge pull request #4176 from qlyoung/doc-cleanup-ospf-apiserver
Cleanup OSPF API server docs
2019-04-24 14:49:16 -04:00
Quentin Young
e7a664c198 doc: pim evpn tabs -> spaces
And remove `interface` highlight directive

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-04-23 19:04:45 +00:00
Donald Sharp
e2b5880e7b doc: Cleanup output of new PIM-EVPN doc
The PIM-EVPN doc was not rendering very well on the
website.  So Update documentation to allow it to render
better.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-04-23 02:15:58 -04:00
Donald Sharp
79b50aa561 doc: Update show ip mroute command docs.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-04-22 19:56:02 -04:00
Quentin Young
37f92f2215 doc: cleanup OSPF API server documentation
* Reflow to 80 columns
* Improve markup
* Add --apiserver option to example ospfd invocations
* Add note on requirement of this option to use api server

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-04-22 20:22:00 +00:00
Jafar Al-Gharaibeh
c6f637132f
Merge pull request #4025 from AnuradhaKaruppiah/pim-evpn
pim-evpn: Forwarding overlay BUM traffic via multicast VxLAN tunnels in the underlay
2019-04-22 11:44:52 -05:00
Anuradha Karuppiah
745fc7a5ec doc: add config sample for pim-evpn
Sample l2-vni config via ifupdown2 -
auto vx-10100
iface vx-10100
	vxlan-id 10100
	bridge-access 100
	vxlan-local-tunnelip 27.0.0.11
	vxlan-mcastgrp 239.1.1.100 >>>>>>>>>.

Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-04-20 08:33:23 -07:00
Donald Sharp
ca02cf8d11 doc: Cleanup documentation for new pim commands
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-04-18 16:41:35 -04:00
Quentin Young
d79e0e085b doc: document bgp listen ranges and md5 behavior
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-04-16 15:28:20 +00:00
Wojciech Kozlowski
560470b552 doc: replace old text with info about integrated configuration mode
Signed-off-by: W. Kozlowski <wk@wojciechkozlowski.eu>
2019-04-09 22:38:35 +02:00
David Lamparter
59ce748be0
Merge pull request #3985 from rubenk/doc-fix-a-few-typos
doc: fix a couple of typos
2019-03-23 13:49:20 +01:00
Rubens Figueiredo
749afd7dce doc: route reflector documentation
Signed-off-by: Rubens Figueiredo <rubens@bisdn.de>
2019-03-21 10:34:28 +01:00
Ruben Kerkhof
f6aa36f5c6 doc: address review comment
'cannot' feels more natural

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
2019-03-20 21:20:31 +01:00
Ruben Kerkhof
56f0bea718 doc: fix a couple of typos
Found with https://github.com/codespell-project/codespell

Signed-off-by: Ruben Kerkhof <ruben@rubenkerkhof.com>
2019-03-20 20:08:33 +01:00
Donald Sharp
b16b7e0756 doc: Update documentation about multipath
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-03-06 10:47:21 -05:00
Donald Sharp
02c2ba9767
Merge pull request #3830 from opensourcerouting/cherrypicks
[master] cherrypick backlog
2019-02-21 07:58:34 -05:00
David Lamparter
bd2893d57f doc: update for new daemons settings
watchfrr_enable is ignored, watchfrr_options is unneeded and the
valgrind options have been replaced with daemon_wrap/all_wrap.

Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-19 21:38:23 +01:00
David Lamparter
afec87502a doc: document VTYSH_PAGER and "terminal paginate"
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-18 14:39:13 +01:00
David Lamparter
856d02a59a doc: orange FRR theme
Signed-off-by: David Lamparter <equinox@diac24.net>
2019-02-18 14:39:13 +01:00
Donald Sharp
80d5ff338d sharpd: Add ability to track import-check nexthops
Add the ability to sharp to track import-check type routes
from the cli.  Update docs too.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-02-13 09:28:38 -05:00
David Lamparter
0fe29323f5
Merge pull request #3723 from slrz/zebra-rtadv-add-rfc8106-support
zebra: add support for IPv6 RA options for DNS configuration (RFC8106)
2019-02-12 14:30:00 +01:00
Donald Sharp
86da53ab0e sharpd: Add 'sharp data nexthop' data dump
Add some basic data dumping about what we have watched
from the vty/vtysh cli for nexthops.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-02-07 10:14:17 -05:00
Donald Sharp
f59e641827 sharpd: Add 'sharp data route" dump command
When you are using the install/remove routes command, the
output goes to a log file.  This command allows for ease
of dump of timing information from the vty or vtysh.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-02-07 10:14:17 -05:00
Quentin Young
c9cf9db6b6 doc: fix missing backtick
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2019-02-04 17:37:54 +00:00
Lars Seipel
f9e824c5f8 doc: describe RA options for DNS configuration in ipv6.rst
Signed-off-by: Lars Seipel <ls@slrz.net>
2019-02-02 19:10:19 +01:00
Lars Seipel
8166d84086 doc: fix up mangled config example in ipv6.rst
Appears to be a remaining artifact of the Sphinx conversion.

Signed-off-by: Lars Seipel <ls@slrz.net>
2019-02-02 19:10:19 +01:00
David Lamparter
02a0df1f22 build, lib/yang: bake in extensions if possible
Starting with libyang 0.16.74, we can load internally embedded yang
extensions instead of going through the file system/dlopen.  Detect
support for this at build time and use if available.

NB: the fallback mechanism will go away in a short while.

Signed-off-by: David Lamparter <equinox@diac24.net>
2019-01-24 17:44:41 +01:00
Lou Berger
9af649da4b
Merge pull request #3570 from donaldsharp/dire_warning
more doc stuff for configure
2019-01-15 11:44:25 -05:00
Donald Sharp
bc1320290f doc: Add [no] bgp default ipv4-unicast documentation
This command had no documentation so add it in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
2019-01-14 11:32:44 -05:00
Donald Sharp
7b5301f59d doc: Add more documentation around configure options
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-01-09 08:47:52 -05:00
Quentin Young
2b5443c567
Merge pull request #3531 from marauderlabs/docs-fix
doc: Fix typos and grammar
2019-01-08 11:04:46 -05:00
Anand
fe93e2e396
doc: Fix typos and grammar
Signed-off-by: Anand <anandakumar.u@gmail.com>
2019-01-08 04:45:02 +00:00
Donald Sharp
413908931c doc: Update documentation to new functionality
Update sharp.rst to reflect new functionality in the `sharp install ..`
command.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2019-01-03 09:57:06 -05:00
Renato Westphal
bbfaa7054a
Merge pull request #3516 from qlyoung/doc-ip-nht-resolve-via-default
doc: add `ip nht resolve-via-default`
2018-12-20 10:05:01 -02:00
Quentin Young
be11dfbf87 doc: exclude snmptrap.rst from build
This doc is .. include::'d in snmp.rst and needs to be ignored as part
of the main toctree build. This patch squashes a Sphinx build warning.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-12-19 18:10:41 +00:00
Quentin Young
43b8e264c8 doc: add ip nht resolve-via-default
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-12-19 17:55:05 +00:00
David Lamparter
fa62815e08 doc: re-add copyright & license note
This was mistakenly removed in the texi -> sphinx conversion.

Signed-off-by: David Lamparter <equinox@diac24.net>
2018-12-14 16:24:06 +01:00
David Lamparter
9c830772cd *: get rid of most daemons.conf references
There's a few left over to get compatibility and not break user
installs, but most is gone.

Signed-off-by: David Lamparter <equinox@diac24.net>
2018-12-06 23:05:48 +01:00
Philippe Guibert
a305be43e9 doc: add ldp information over transport connection
transport connection prefers ipv6, unless ipv4 is explicitly configured
on ldp.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2018-11-28 14:26:15 +01:00
Quentin Young
cc4345d438 doc: use correct specifier for code block
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-28 16:19:36 +00:00
Quentin Young
740449aba0 doc: remove mention of 'secondary' ip[v6] commands
These haven't existed for 14 years

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-28 07:24:36 +00:00
Lou Berger
50daf9a2d5
Merge pull request #3313 from qlyoung/doc-strip-whitespace
doc: strip trailing whitespace
2018-11-13 14:56:14 +07:00
Quentin Young
eebfb2335b doc: add missing docs for ipv6 isis router cmd
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-28 01:31:08 +00:00
Donald Sharp
ff38f0fa7a
Merge pull request #3281 from opensourcerouting/update-libyang-instructions
doc: update libyang build instructions
2018-11-12 09:35:09 -05:00
Olivier Dugeon
ddd73a968d OSPF: Add support to multi-area to Router Info.
Router Information needs to specify the area ID when flooding scope is set to
  AREA. However, this authorize only one AREA. Thus, Area Border Router (ABR) are
  unable to flood Router Information Opaque LSA in all areas they are belongs to.

  The path implies that the area ID is no more necessary for the command
  'router-info area'. It remains suported for compatibility, but mark as
  deprecated. Documentation has been updated accordingly.

Signed-off-by: Olivier Dugeon <olivier.dugeon@orange.com>
2018-11-09 10:09:47 +01:00
Renato Westphal
f805c84eaf doc: update libyang build instructions
The --with-yangmodelsdir and --with-libyang-pluginsdir build-time options
pertain to FRR so they shouldn't be placed along with the libyang build
instructions. Move these instructions to where they belong to avoid
confusion.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-11-03 15:42:56 -02:00
Donald Sharp
0100dfb9c1
Merge pull request #2705 from opensourcerouting/northbound-yang-v2
Northbound API
2018-10-31 18:50:45 -04:00
Tim Bray
30980e0adc
Link-detect documentation
As a quagga user, I didn't realise link-detect is on by default.
2018-10-29 21:12:14 +00:00
Quentin Young
4c97fd1a87 doc: strip trailing whitespace
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-28 01:07:06 +00:00
Renato Westphal
a7ca2199b7 lib: add a new northbound plugin for Sysrepo
This plugin leverages the northbound API to integrate FRR with Sysrepo,
a YANG-based configuration and operational state data store.

The plugin is linked to the libsysrepo library and communicates with
the sysrepod daemon using GPB (Google Protocol Buffers) over AF_UNIX
sockets. The integration consists mostly of glue code that calls the
appropriate FRR northbound callbacks in response to events triggered
by the sysrepod daemon (e.g. request to change the configuration or to
fetch operational data).

To build the sysrepo plugin, provide the --enable-sysrepo option to the
configure script while building FRR (the libsysrepo library needs to be
installed in the system).

When installed, the sysrepo plugin will be available for all FRR daemons
and can be loaded using the -M (or --module) command line option.

Example: bgpd -M sysrepo.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-10-27 16:16:12 -02:00
Renato Westphal
5bce33b3c1 lib: add a new northbound plugin for ConfD
This plugin leverages the northbound API to integrate FRR with the ConfD
management agent.

The plugin is linked to the libconfd library and communicates with the
confd daemon using local TCP sockets. The integration consists mostly
of glue code that calls the appropriate FRR northbound callbacks in
response to events triggered by the confd daemon (e.g. request to change
the configuration or to fetch operational data).

By integrating FRR with the libconfd library, FRR can be managed using
all northbound interfaces provided by ConfD, including NETCONF, RESTCONF
and their Web API.

The ConfD CDB API is used to handle configuration changes and the ConfD
Data Provider API is used to provide operational data, process RPCs and
send notifications. Support for configuration management using the ConfD
Data Provider API is not available at this point.

The ConfD optional 'get_object()' and 'get_next_object()' callbacks were
implemented for optimal performance when fetching operational data.

This plugins requires ConfD 6.5 or later since it uses the new leaf-list
API introduced in ConfD 6.5.

To install the plugin, the --enable-confd option should be given to the
configure script, specifying the location where ConfD is installed.

Example: ./configure --enable-confd=/root/confd-6.6

When installed, the confd plugin will be available for all FRR daemons
and can be loaded using the -M (or --module) command line option.

Example: zebra -M confd.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-10-27 16:16:12 -02:00
Renato Westphal
1c2facd12d lib: introduce new northbound API
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
2018-10-27 16:16:12 -02:00
David Lamparter
62e712146b build: work around automake wtf
For some reason, automake was "randomizing" the order of these few lines
in the generated output Makefile.in.

I have absolutely no clue what's going on, but it's the only thing
preventing me from building reproducible source tarballs (i.e.
bit-exactly identical), so... just slightly "rephrase" this.

Should behave exactly the same as before.

Signed-off-by: David Lamparter <equinox@diac24.net>
2018-10-24 18:35:12 +02:00
Philippe Guibert
47f47873d6 doc: inform user that expanded communities can not be used in set mode
Expanded communities can not be used in route-map set actions.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2018-10-15 15:01:52 +02:00
Philippe Guibert
49606d5872 doc: fix warning of doc compilation with bgp draft
Some draft ietf are not handle by :rfc: keyword. A workaround is
proposed, like it has been done for flowspec.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
2018-10-10 11:50:38 +02:00
Tore Anderson
ec3bff6fd5 doc: correct route map match for prefix lists
This corrects the route map documentation to add the missing "prefix-list"
keyword, which is necessary when matching against a prefix list (as opposed to
an access list).

Additionally, change hyphens for underscores in the variables the user is
supposed to substitute in those commands, to prevent any confusion with the
"prefix-list" keyword itself, and also to make it more consistent with the
other documented commands (which are already using underscores).

Signed-off-by: Tore Anderson <tore@redpill-linpro.com>
2018-10-05 09:06:54 +02:00
Quentin Young
195c746165 doc: embellish bgp view docs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-02 20:14:14 +00:00
Quentin Young
edde3ce9c2 doc: add extra information on bgp views and vrfs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-02 20:14:14 +00:00
Quentin Young
c8a5e5e190 doc: clarify documentation on BGP multiple AS
Documentation on how to use multiple autonomous systems was inaccurate
and a bit scattered. Clarify usage of VRFs with multiple autonomous
systems, how to configure them, and their distinction from views. Also
moves a block on L3VPN VRFs out of the 'Basic Concepts' section.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-10-02 20:14:14 +00:00