Quentin Young
32acb4a7ad
Merge pull request #9497 from opensourcerouting/cli-better-no
2021-09-09 12:22:53 -04:00
Donald Sharp
4fcda740dc
Merge pull request #9566 from LabNConsulting/chopps/easy-fancy-json-setup
...
tests: new improved simple JSON template w/ doc update
2021-09-08 11:29:52 -04:00
Hiroki Shirokura
1994c6bc05
doc: don't use abbreviate
...
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
2021-09-07 07:11:20 +00:00
Hiroki Shirokura
e03862c34a
topotests: to create pid file of topotest router
...
Create a pid file for the router created by topotest.
By executing nsenter directly against this pid, developers
can execute commands directly from outside the unet shell.
This allows the developer to use script, tab completion, etc.,
and improves efficiency.
Signed-off-by: Hiroki Shirokura <slank.dev@gmail.com>
2021-09-07 03:55:04 +00:00
Donald Sharp
3702e8577f
Merge pull request #9563 from opensourcerouting/build-strict-prototypes
...
build: `-Wstrict-prototypes` (+ BSD `sed`)
2021-09-06 12:28:33 -04:00
Christian Hopps
36c1949730
tests: new improved simple JSON template w/ doc update
...
Utilizes new pytest fixtures to completely factor out setup and teardown
functionality. Supply the JSON config and write your tests.
"The best topotest template yet!"
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-05 02:45:13 -04:00
Christian Hopps
77f3acb45e
doc: minor update based on mininet removal
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-09-04 09:04:46 -04:00
David Lamparter
e5af0fc869
doc/developer: add warning pointers
...
These two warnings are easy to get confused by, note down some pointers
on what they actually mean.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-09-02 13:00:35 +02:00
David Lamparter
90c8406c20
lib: add ![...]
syntax for easy "no" forms
...
This allows defining a CLI command like this:
`[no] some setting ![VALUE]`
with VALUE being optional for the "no" form, but required for the
positive form. It's just a `[...]` where the empty branch can only be
taken for commands starting with `no`.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-08-26 21:03:44 +02:00
Donald Sharp
061bf350dd
Merge pull request #9271 from opensourcerouting/workflow-release-sched
...
workflow: document release scheduling discussed
2021-08-14 09:06:23 -04:00
David Lamparter
dc1c0bc2b3
workflow: document release scheduling discussed
...
As discussed in the weekly meeting today, this is what we're trying to
work with for the time being.
(Date calculator included as a bonus goodie ;)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-08-11 16:37:46 +02:00
Donald Lee
5141fd7f8e
doc: fix unrelated typo
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-08-10 07:35:32 +08:00
Donald Lee
c42f38b8df
doc: Update for consecutive frrscript_call
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-08-10 07:35:32 +08:00
Quentin Young
41d3d77496
Merge pull request #8982 from dlqs/lua-func-stack
2021-08-02 13:51:35 +00:00
Donald Lee
c5f9744c33
docs: update parens
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-29 05:52:22 +08:00
Donald Lee
84c92002d2
lib: formatting
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-26 23:48:23 +08:00
Donald Lee
78f1ac2574
lib: Add new MTYPE for script results
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-26 23:27:56 +08:00
Donald Lee
fe80e6019b
doc: typo
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-24 03:35:09 +08:00
Donald Lee
aed6f883a0
doc: Update documentation
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-18 06:32:03 +08:00
David Lamparter
424117e52c
doc/workflow: YANG is a hard requirement
...
The text didn't reflect the YANG requirement decision yet.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-07-07 15:48:39 +02:00
David Lamparter
b6660a6527
doc/workflow: add guidelines for config knobs
...
This is pretty much common sense ("runtime knobs are easier to adjust
than a compile-time setting"), but maybe it should be said just for
reference.
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-07-07 14:57:00 +02:00
Quentin Young
e15106149f
Merge pull request #8508 from opensourcerouting/systemd-no-lib
2021-07-06 14:54:25 +00:00
Quentin Young
71bae95e4a
Merge pull request #8888 from dlqs/lua-call
2021-07-05 04:13:20 +00:00
Ondřej Surý
c4783c325a
doc: Use dpkg-buildpackage to build packages (add note about debuild)
...
The debuild command fails when we are doing source package only build
because it expects the arch-dependent .changes file to be present. Thus
in the instructions we switch to using dpkg-buildpackage directly and
add a note about using debuild in more complicated scenarios.
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03 17:02:37 +02:00
Ondřej Surý
4c65fb08f7
doc: Add instructions on how to build only source packages
...
In the CI, it's better to build the source package only once and then
instead of checking out the whole repository, only distribute the source
packages to the individual jobs.
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03 17:02:37 +02:00
Ondřej Surý
f36c3644e7
doc: Update debian packaging instructions
...
The debian packaging instructions have been updated, so they actually
work.
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03 17:02:37 +02:00
Ondřej Surý
aa1e17f5ca
debian: Remove now obsolete tarsource.sh script
...
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03 17:02:37 +02:00
Ondřej Surý
06417e9f18
debian: Remove the changelog-auto automation in favor of dch
...
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03 17:02:37 +02:00
Ondřej Surý
25785834af
debian: Adjust tarsource.sh to use native debian/changelog
...
Signed-off-by: Ondřej Surý <ondrej@sury.org>
2021-07-03 17:02:37 +02:00
Donald Lee
cd3c3a98e2
doc: space code block
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-07-03 04:43:50 +08:00
David Lamparter
ab140d61cd
build, doc: extricate --enable-systemd
...
Ouch, that is a *lot* of places to update...
Signed-off-by: David Lamparter <equinox@diac24.net>
2021-06-29 17:57:09 +02:00
Donald Lee
a9a8bb1c9e
doc: fix formatting
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-06-28 05:38:23 +08:00
Donald Lee
951f084976
doc: Update documentation for new api
...
Signed-off-by: Donald Lee <dlqs@gmx.com>
2021-06-25 17:29:15 +08:00
David Lamparter
2ee5fdba02
build: remove --enable-exampledir
...
This is no longer used with the recent config example removal.
Signed-off-by: David Lamparter <equinox@diac24.net>
2021-06-24 16:42:58 +02:00
Christian Hopps
e58133a78e
tests: add valgrind memleaks run options and detection
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-06-16 02:56:15 -04:00
Donatas Abraitis
b00436316e
Merge pull request #8789 from FRRouting/doctest
...
doc: bump sphinx version to 4.0.2, remove deprecated API
2021-06-07 17:19:07 +03:00
Quentin Young
d6ba203d2f
doc: use add_css_file(); not deprecated
...
add_stylesheet() is deprecated and removed in Sphinx 4.x
Signed-off-by: Quentin Young <qlyoung@nvidia.com>
2021-06-03 16:32:00 -04:00
Donatas Abraitis
6ab47b0396
doc: Replace single tick with double tick under developer/topotests.rst
...
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-06-02 08:48:25 +03:00
Christian Hopps
250335d47c
build: libyangv2 is mainlined, update
...
Signed-off-by: Christian Hopps <chopps@gmail.com>
2021-05-27 06:44:39 -04:00
Christian Hopps
640b04d9e9
doc: expand documentation on gRPC
...
Add C++ and Python examples, and add compiling info, and known gRPC
version that works.
Signed-off-by: Christian Hopps <chopps@gmail.com>
2021-05-20 15:42:48 +00:00
Mark Stapp
b1ffa01dcd
Merge pull request #8686 from idryzhov/fix-doc-index
...
doc: remove redundant index directives
2021-05-18 15:33:48 -04:00
Igor Ryzhov
dc47f2e726
doc: remove redundant index directives
...
Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
2021-05-18 15:29:59 +03:00
Christian Hopps
af1b88e990
lib: libyang2 add missed conversion
...
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-05-17 22:13:59 -04:00
Martin Winter
d8baf3db2d
Merge pull request #8144 from LabNConsulting/chopps/ly2
...
libyang2
2021-05-14 01:12:06 +02:00
Christian Hopps
3bb513c399
lib: adapt to version 2 of libyang
...
Compile with v2.0.0 tag of `libyang2` branch of:
https://github.com/CESNET/libyang
staticd init load time of 10k routes now 6s vs ly1 time of 150s
Signed-off-by: Christian Hopps <chopps@labn.net>
2021-05-13 16:24:48 -04:00
Donatas Abraitis
f101a83b46
doc: Require topotests directory to be consistent with others
...
Just add a requirement to avoid hyphens in directory naming.
Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
2021-05-11 14:14:26 +03:00
David Lamparter
507e0e5d66
lib: add *_swap_all to typesafe containers
...
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
2021-05-03 20:55:04 +02:00
Javier Garcia
9af46face2
doc: clang in openbsd is the default and update compiler.
...
Also
- update info about new packages needed as libcares.
- create proper links to libyang so ld can find the lib.
Signed-off-by: Javier Garcia <javier.garcia@voltanet.io>
2021-04-28 18:53:20 +02:00
Quentin Young
8a0a716f83
Merge pull request #8356 from LabNConsulting/working/lb/docker-ci-v2
2021-04-14 16:27:39 +00:00
David Lamparter
9c2a14e753
Merge pull request #8100 from qlyoung/remove-sample-conf-files
2021-04-13 02:20:53 +02:00