Commit Graph

10080 Commits

Author SHA1 Message Date
Quentin Young
12b7724ff8
doc: fix toctree warning in manpages
Forgot to add a couple includes to the exclude list. Also move
defines.txt to defines.rst since I know how to properly ignore things
now.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-07 13:36:03 -05:00
Quentin Young
1a52a8c142
debianpkg: add sphinx as build dep
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-07 12:36:56 -05:00
Quentin Young
b60f68eaa8
doc: note appropriate sphinx packages in docs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-07 12:33:31 -05:00
Quentin Young
6180f995f4
doc: replace manpages Makefile
Newer sphinx-build generated makefiles use an as-of-yet undocumented CLI
option that is not present in older versions.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-07 12:33:13 -05:00
Quentin Young
c91e9b8f74
doc: note dependencies necessary to build docs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 16:59:52 -05:00
Quentin Young
5a32c42459
doc: add logos
Branding!

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 16:27:00 -05:00
Quentin Young
061dd548ee
doc: fixup glossary for html build
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 15:24:57 -05:00
Quentin Young
9de103f0c9
doc: document documentation
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 15:19:04 -05:00
Quentin Young
11ab5329e0
doc: reference style cleanup
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 13:45:12 -05:00
Quentin Young
623333072e
doc: add glossary
Glossary of some common terms, fixes non-existing glossary definition
warnings.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 13:33:41 -05:00
Quentin Young
9bea107f2d
doc: fixup vnc.rst to only define commands once
Replaced stub definitions of CLI with references to their full
definitions so that Sphinx can properly cross reference them.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 12:52:50 -05:00
Quentin Young
6ee602cd13
doc: fixup more broken xrefs
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-02 12:19:28 -05:00
Quentin Young
9e146a818b
doc: fix more broken refs, restore routeserver.rst
At some point the routeserver docs got lost, converted those from texi
and put them back. Also fixed some broken cli xrefs.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-01 17:38:05 -05:00
Quentin Young
0efdf0fe50
doc: clean up cross references
Format reference directives and roles to match best practices.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-01 16:33:14 -05:00
Quentin Young
013f9762db
doc: fixup some build warnings
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-01 16:10:11 -05:00
Quentin Young
7bed2c9976
doc: add targets for user & developer pdf + html
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-01 13:23:18 -05:00
Quentin Young
82b7ec1da7
*: update configure.ac, Makefiles for new manpages
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-02-01 11:41:37 -05:00
Quentin Young
4b44467c9e
doc: remove last bits of texinfo directives
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-31 17:27:07 -05:00
Quentin Young
76bd149987
doc: remove trailing whitespace
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-31 17:27:07 -05:00
Quentin Young
7bd01bd49b
doc: copy conf.py for developer's docs
Info extracted will probably prove useful here as well.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-31 17:27:06 -05:00
Quentin Young
a1e276e1d3
doc: overhaul manpages
* Remove groff manpages
* Rewrite manpages in RST
* Clean up and standardize manpage content

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-31 17:27:02 -05:00
Quentin Young
05102ddc45
doc: move dev doc figures to figures/
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-31 10:31:15 -05:00
Quentin Young
612b3314f2
doc: remove extraneous texi files
Took the changes from these and applied in previous commits. Bye bye.

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-30 16:20:47 -05:00
Quentin Young
3eb7a2f08b
doc: reorganize
* Move all developer related docs into developer/
* Move all figures into their own directory
* Move manpages to own directory

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-30 16:14:24 -05:00
Quentin Young
cb39e63e59
doc: manually merge isis.rst
Manually merged:

ee65c55e2a

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-30 16:12:26 -05:00
Quentin Young
e3c1296cb4
doc: add pim.rst
Manually merged:

42642babdd

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-30 16:08:10 -05:00
Quentin Young
a5a48dbf20
doc: additional merging
Manually merged:

6347ca161f

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-30 15:53:17 -05:00
Quentin Young
d38549c99d
Merge branch 'master' into docs-user
Manually merged these doc commits:

3bb7cd7f56
ff21655441
2018-01-30 15:05:15 -05:00
Lou Berger
08951735bd
Merge pull request #1690 from dslicenc/bgpd-vrf-show-cm17377
bgpd: fix output of show bgp vrf all neighbor x.x.x.x
2018-01-30 11:42:26 -05:00
Don Slice
71aedaa394 bgpd: fix output of show bgp vrf all neighbor x.x.x.x
Problem reported with output of the command "show bgp vrf all
neighbor x.x.x.x" not limiting the output to that peer in any vrf.
This fix corrects the logic to display by neighbor
(ipv4/ipv6/interface) in any vrf.

Ticket: CM-17377
Signed-off-by: Don Slice <dslice@cumulusnetworks.com>
2018-01-30 12:30:35 +00:00
Olivier Dugeon
15fa114fed
Merge pull request #1688 from chiragshah6/mdev
ospfd: Fix default-info and redis cmd options
2018-01-30 11:37:59 +01:00
Chirag Shah
951da43571 ospfd: Fix default-info and redis cmd options
Fix default-information parsing of metric-type,
route-map.
show running to display metic-type 2.

metric, metric-type and route-map can be configured in
any order, running-config displays in specific order..

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
2018-01-29 21:33:32 -08:00
Renato Westphal
941e1c11f2
Merge pull request #1686 from donaldsharp/mem_leaks_zebra
Mem leaks zebra
2018-01-29 20:41:07 -02:00
Renato Westphal
c590446bae
Merge pull request #1684 from donaldsharp/vrf_leak
zebra: Fix to get correct nexthop-vrf
2018-01-29 20:34:02 -02:00
Quentin Young
c1a54c054d
doc: manually finish conversion
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-29 16:38:07 -05:00
Donald Sharp
7d38890de8 zebra: On shutdown actually delete rn's assoc w/ other_tables
Zebra stores routes coming from the kernel for non-default
tables.  This information on shutdown was being leaked
because we never cleaned it up.  Allow for this to happen
now.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-01-29 16:20:41 -05:00
Donald Sharp
38c64469f3
Merge pull request #1685 from LabNConsulting/working/vpn-doc
doc: minor cleanup of bgp vpnvX and remove encap safi references
2018-01-29 15:51:30 -05:00
Donald Sharp
c7974c0f1a lib: When we shutdown we would leak interface description
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com.
2018-01-29 15:38:03 -05:00
Donald Sharp
e65dfe7e56 zebra: Cleanup error handling of nexthop vrf and vrf
The error handling of the nexthop vrf and the vrf
for what was specified on the cli was not as clean
as it should have been.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-01-29 15:18:28 -05:00
Lou Berger
3bb7cd7f56 doc: remove references to encap safi
Signed-off-by: Lou Berger <lberger@labn.net>
2018-01-29 15:03:03 -05:00
Lou Berger
ff21655441 doc: change vpnvX -> ipvX vpn
Signed-off-by: Lou Berger <lberger@labn.net>
2018-01-29 14:55:16 -05:00
Renato Westphal
ec0ffe4878
Merge pull request #1680 from donaldsharp/inet_pton
zebra: Fix failure to parse src
2018-01-29 17:24:33 -02:00
Quentin Young
d1a242fdbf
doc: cleanup multiple
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-29 12:16:20 -05:00
Quentin Young
50e75a2b82
doc: cleanup kernel.rst
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-29 10:57:13 -05:00
Quentin Young
655cdc3233
doc: fixup routemap.rst
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
2018-01-29 10:46:35 -05:00
Russ White
983976514f
Merge pull request #1679 from qlyoung/revert-remove-options-directly-connected
Revert "bgpd: disallow invalid config at cli layer"
2018-01-29 08:25:49 -05:00
Donald Sharp
17a217216d zebra: Fix failure to parse src
If src happens to point at all 0's due to not initializing
it and if the address passed in is not a v6 address then
we would not set src in the AF_INET6 call and would
fail the (src.ipv4.s_addr && inet_pton(AF_INET...)
call.  Thus causing us to return a NULL and make
the routemap code think there was an issue.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-01-27 18:56:30 -05:00
Martin Winter
08c9af9375
Merge pull request #1659 from chiragshah6/ospf_vrf_dev
ospfd: show ip ospf neighbor json output format
2018-01-27 09:17:45 -08:00
Donald Sharp
e6149ab4b8 zebra: Fix to get correct nexthop-vrf
The nexthop_vrf should be looked up as appropriate,
If the nexthop_vrf was specified use that, else
use the vrf context of what was passed in.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
2018-01-27 05:28:51 -05:00
Quentin Young
7ebe625c3a
Revert "bgpd: disallow invalid config at cli layer"
This reverts commit a174be631a.

Turns out we need that variable to accept peer groups.
2018-01-26 17:16:12 -05:00