<feed xmlns='http://www.w3.org/2005/Atom'>
<title>vyos-documentation.git/docs/vpp, branch T9354</title>
<subtitle>VyOS readthedocs (mirror of https://github.com/vyos/vyos-documentation.git)
</subtitle>
<id>https://git.amelek.net/vyos/vyos-documentation.git/atom?h=T9354</id>
<link rel='self' href='https://git.amelek.net/vyos/vyos-documentation.git/atom?h=T9354'/>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/'/>
<updated>2026-09-15T10:47:32+00:00</updated>
<entry>
<title>docs: vpp: document that kernel prerequisites need their own commit and reboot (#2233)</title>
<updated>2026-09-15T10:47:32+00:00</updated>
<author>
<name>結友</name>
<email>miagetegorann@gmail.com</email>
</author>
<published>2026-09-15T10:47:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=93f84b050c90cb2d21d5216fc9d54fbcd118f407'/>
<id>urn:sha1:93f84b050c90cb2d21d5216fc9d54fbcd118f407</id>
<content type='text'>
* docs: vpp: document that kernel prerequisites need their own commit and reboot

VPP depends on hugepages and, since T8460, on isolated CPUs. Both are
configured under "system option kernel", take effect only after a
reboot, and are validated by VPP against the running kernel. Because
"vpp" is committed at priority 295 and "system option" at 9999, the two
can never be applied in the same commit - the VPP part is always
rejected with "Not enough free memory to start VPP!" or "Not enough
isolated CPU cores available", both of which point back at the very
command the user just issued.

This is independent of the NIC: the checks that fail take no interface
or PCI information and run before the NIC validation. It was reproduced
both with an unsupported NIC and with a validated one.

Such a commit is also partial: the "system option kernel" part is
applied even though the commit is reported as failed, while the
"set vpp ..." statements are discarded and have to be re-entered after
the reboot.

The "Optimal Configuration Example" showed exactly this failing
one-shot form, mixing "set system option kernel ..." and "set vpp
settings ..." in a single block. Split it into the two stages that
actually work and state why, and add hugepages to it so the example
covers every prerequisite.

Also:

  * add a short "Kernel Configuration" item to the requirements page,
    which is what a first-time user reads and which had no pointer to
    the kernel settings at all
  * document the isolated-CPU requirement on the cpu-cores page, which
    did not mention "isolate-cpus"
  * add the missing 1af4:1041 (virtio modern ID) row to the validated
    NIC table - it is present in SUPPORTED_PCI_IDS but was absent here
  * correct the allow-unsupported-nics note, which said the check is
    bypassed "for the specified devices". There are no specified
    devices: _is_device_allowed() returns True for every interface as
    soon as the option is set, including interfaces attached later.
    That wording is a leftover from the per-PCI-ID form originally
    proposed in T8315, which was merged as a single boolean.

Verified by building the docs; the three changed pages produce no
Sphinx warnings.

Claude-Session: https://claude.ai/code/session_01EQsKVSw5hhDu7jPq1YzQvj

* docs: vpp: correct what a failed VPP commit leaves behind

Two corrections to the pages added earlier in this PR.

The partial-commit note claimed that the "set vpp ..." statements are
"discarded". They are not. Verified on VyOS 2026.03: after the commit
fails, "compare" still shows them staged in the configuration session.

  [vpp settings]
  + resource-allocation {
  +     memory {
  +         main-heap-size "6G"
  +     }
  + }

What actually happens is worse than the previous wording suggested and
worth stating precisely: the statements are neither applied nor written
by "save", because "save" writes the running configuration - which
"system_option.py" has already updated with the kernel options while the
VPP part was rejected. The session does not survive the reboot, so the
VPP statements are lost there rather than at commit time.

The isolated-CPU requirement was also described as if it only applied
once "cpu-cores" is raised. It applies at the default of "cpu-cores 1"
as well: verify_vpp_cpu_cores() rejects the commit whenever fewer CPUs
are isolated than requested, and VPP takes its main core from the
isolated set. The project's own test_01_vpp_basic relies on this - it
never sets "cpu-cores" and still expects "main-core" to be taken from
/sys/devices/system/cpu/isolated. Without this, a reader doing a minimal
setup would conclude that CPU isolation is optional for them.

Claude-Session: https://claude.ai/code/session_016gXeKHVBq2N8qRAMQkrdM6</content>
</entry>
<entry>
<title>docs: address ready-flip review (webproxy hostname, ospf grammar, ipsec polish)</title>
<updated>2026-05-12T06:04:47+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-12T06:04:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=9968c956f3eb7f80839148cd0496f3780915e176'/>
<id>urn:sha1:9968c956f3eb7f80839148cd0496f3780915e176</id>
<content type='text'>
- webproxy.md: replace `ftp.univ-tlse1.fr` with `ftp.example.com` so the
  hostname matches the documentation-reserved IP `192.0.2.249` (Copilot).
- ospf.md: insert missing preposition in `show ip ospf interface` and
  `show ipv6 ospfv3 interface` op-cmd descriptions (CodeRabbit).
- ipsec.md: rewrite intro sentence ("can significantly speed up …") and
  hyphenate `feature-rich` (CodeRabbit).

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>docs: address Copilot grammar review on ospf and vpp ipsec</title>
<updated>2026-05-11T20:02:42+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-05-11T20:02:42+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=289a0e1fd09b1d2670bfe40f360a86e83e0f09a9'/>
<id>urn:sha1:289a0e1fd09b1d2670bfe40f360a86e83e0f09a9</id>
<content type='text'>
- ipsec.md: "to speed-up" -&gt; "to speed up"; drop article in "creates a
  corresponding SAs and policies"; "there routes" -&gt; "these routes".
- ospf.md: "Cost calculation wireguard interfaces" -&gt; "Cost calculation
  for WireGuard interfaces".

https://claude.ai/code/session_01RDpSBDLSWLKMGnyPCaKECB
</content>
</entry>
<entry>
<title>docs: hard-wrap pre-existing long prose lines to satisfy doc-linter</title>
<updated>2026-05-11T19:57:57+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-05-11T19:57:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=a1d046a346e9ec4d0f93cafb7ebf967f636edabe'/>
<id>urn:sha1:a1d046a346e9ec4d0f93cafb7ebf967f636edabe</id>
<content type='text'>
scripts/doc-linter.py enforces an 80-character limit outside fenced code
blocks and treats any finding as a failure. Wrap long paragraphs in
files that this PR touched so CI passes:

- docs/configuration/protocols/ospf.md: wrap the WireGuard cost note.
- docs/configuration/protocols/traffic-engineering.md: wrap the IS-IS/
  OSPF note.
- docs/contributing/debugging.md: wrap the Phabricator paragraph, and
  guard the long [bootchart.conf]/[vyatta-cfg] link references at EOF
  with `% stop_vyoslinter`/`% start_vyoslinter`.
- docs/vpp/configuration/ipsec.md: wrap the integration, requirements,
  algorithm, ACL, VTI example, troubleshooting paragraphs.

Pure reformatting; no semantic changes.

https://claude.ai/code/session_01RDpSBDLSWLKMGnyPCaKECB
</content>
</entry>
<entry>
<title>docs: fix typos across configuration, contributing, and vpp docs</title>
<updated>2026-05-11T19:35:04+00:00</updated>
<author>
<name>Claude</name>
<email>noreply@anthropic.com</email>
</author>
<published>2026-05-11T19:35:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=d9212421139416f1feb454ea71cfca75fa1ab2b8'/>
<id>urn:sha1:d9212421139416f1feb454ea71cfca75fa1ab2b8</id>
<content type='text'>
Corrections include: adresses-&gt;addresses, oder-&gt;other, Them-&gt;The,
criterias-&gt;criteria, seeting-&gt;setting, carefull-&gt;careful,
beeing-&gt;being, reenable-&gt;re-enable, wich-&gt;which, derection-&gt;direction,
Whith-&gt;With, assosiate-&gt;associate, fpr-&gt;for, bootup-&gt;boot, trough-&gt;through.

https://claude.ai/code/session_01RDpSBDLSWLKMGnyPCaKECB
</content>
</entry>
<entry>
<title>chore: remove RST swap mechanism, archive rst-*.rst under docs/_rst_legacy/</title>
<updated>2026-05-10T14:19:31+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-10T14:19:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=3fd1787d50dda76619647dd95ea6e1d421204734'/>
<id>urn:sha1:3fd1787d50dda76619647dd95ea6e1d421204734</id>
<content type='text'>
The swap mechanism (RST-as-fallback for migrated MD pages) is dormant —
docs/_rst_overrides.txt has been empty since the MyST flip trio
(#1899/#1900/#1901) landed in May 2026. The mechanism's surface area
(scripts/swap_sources.py, its 245-line test, RTD pre/post hooks,
Makefile glue, conf.py dynamic loader) is dead weight, and the
rst-*.rst shadows scattered across the source tree cause Context7's
parser to misclassify the project as RST.

Changes:
- Move 253 rst-*.rst shadow files into docs/_rst_legacy/ preserving
  subdirectory structure. They remain in the repo for reference; Sphinx
  excludes the folder via exclude_patterns; Context7 excludes it via
  excludeFolders.
- Strip swap_sources.py invocation from docs/Makefile (swap/restore
  targets, : swap deps, trap chains).
- Strip jobs: pre_build/post_build block from .readthedocs.yml.
- Strip rst-*.rst exclude entry and the _md_exclude.txt loader from
  docs/conf.py; replace with a single _rst_legacy exclude.
- Delete scripts/swap_sources.py, tests/test_swap_sources.py,
  docs/_rst_overrides.txt.
- Update context7.json: add docs/_rst_legacy to excludeFolders;
  fix stale "Branch current tracks…" rule to "Branch rolling tracks…"
  (default branch was renamed 2026-05-10).
- Update AGENTS.md: drop the "RST override mechanism" section and the
  test-runner snippet for the deleted test; describe _rst_legacy as
  archive only.

Verified: sphinx-build -b html with --keep-going produces identical
warning set (68 unique), identical sitemap entry count (257), identical
llms.txt entry count (22), zero rst-* URLs in any artifact.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>feat: flip swap mechanism — MD as primary, RST as override (Phase 1)</title>
<updated>2026-05-06T17:42:32+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-06T17:42:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=5d6fa52b8985f8068314aba26878a1d7d5cb84e5'/>
<id>urn:sha1:5d6fa52b8985f8068314aba26878a1d7d5cb84e5</id>
<content type='text'>
This is the first of three phases inverting the per-page swap mechanism
so MD becomes the canonical primary and RST becomes the rare override.

Phase 1 — file renames + conf.py exclude_patterns flip only:
- Rename docs/**/md-&lt;stem&gt;.md to docs/**/&lt;stem&gt;.md (drop md- prefix)
  for all 254 stems previously listed in docs/_swap.txt
- Rename docs/**/&lt;stem&gt;.rst to docs/**/rst-&lt;stem&gt;.rst (add rst- prefix)
  for the same 254 stems
- Repurpose docs/_swap.txt as docs/_rst_overrides.txt; initially empty
  comment-only since no pages need the RST fallback right now
- conf.py exclude_patterns flipped: rst-*.rst is now excluded by default
  instead of md-*.md
- conf.py runtime-artifact references updated to _rst_override_state.json
  and _md_exclude.txt (Phase 2 will rewrite swap_sources.py to produce
  these names; for now no swap script runs because overrides list is empty)

Phase 2 (next commit on this branch) will rewrite scripts/swap_sources.py
with inverted rename direction, delete scripts/import_myst.py + tests, and
update tests/test_swap_sources.py for the new semantics.

Phase 3 will be the cleanup pass and ready-for-review flip.

Generated by robots https://vyos.io
</content>
</entry>
<entry>
<title>docs: address review feedback from PR #1857</title>
<updated>2026-05-06T13:18:03+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-04T22:42:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=80c5ca4aebb666932f681d2be0e7712e22d97f47'/>
<id>urn:sha1:80c5ca4aebb666932f681d2be0e7712e22d97f47</id>
<content type='text'>
Fix conversion artifacts, typos, grammar errors, and technical
inaccuracies flagged by automated code review (Copilot + CodeRabbit).

Infrastructure: add root-level md-*.md exclusion to conf.py,
fix sphinx-autobuild ignore globs in Makefile.

Content: fix curly quotes, invalid Go panic() calls, shell quoting
in cURL examples, incorrect firewall command paths, typos across
22 documentation files, remove duplicate sections.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>refactor(swap): rename imported .md files to md- prefix for swap mechanism</title>
<updated>2026-05-06T13:18:03+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-02T15:59:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=5a35f4d30e5c16bd85e811176cffa86b721112b7'/>
<id>urn:sha1:5a35f4d30e5c16bd85e811176cffa86b721112b7</id>
<content type='text'>
Restore the canary file naming convention that swap_sources.py expects:
the imported MyST pages now live as docs/&lt;dir&gt;/md-&lt;name&gt;.md alongside
the existing docs/&lt;dir&gt;/&lt;name&gt;.rst, so swap_sources.py --swap can rename
them into place at build time.

- 254 .md files renamed (every page with a matching .rst counterpart)
- 2 MyST-only pages left at their final names (no .rst exists, no swap
  needed): docs/copyright.md, docs/automation/terraform/terraformvyos.md

All 114 stems listed in docs/_swap.txt now have a corresponding
md-&lt;name&gt;.md source file ready to swap in.

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
<entry>
<title>docs: address Copilot review feedback on imported MyST pages</title>
<updated>2026-05-06T13:18:03+00:00</updated>
<author>
<name>Yuriy Andamasov</name>
<email>yuriy@vyos.io</email>
</author>
<published>2026-05-02T15:38:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.amelek.net/vyos/vyos-documentation.git/commit/?id=5dbb26f7b468874a8c6d1ba1a9cca3bb3d40f24f'/>
<id>urn:sha1:5dbb26f7b468874a8c6d1ba1a9cca3bb3d40f24f</id>
<content type='text'>
Fix issues flagged by Copilot review on PR #1857 (the same content lives
in myst/current as the canonical source):

Real bugs:
- site-2-site-cisco.md: replace curly quote (U+2019) with ASCII apostrophe
- rsa-keys.md: fix typo "key-pair nam&gt;&gt;" → "key-pair name&gt;"
- vmware.md: lowercase admonition directive (:::{NOTE} → :::{note})
- vpp/configuration/nat/index.md: remove blank line inside {include} fence

Grammar:
- vpp/configuration/interfaces/loopback.md: "bounded" → "bound"
- vpp/configuration/sflow.md: "VyOS support" → "VyOS supports"
- vpp/requirements.md: "bypass" → "bypasses"
- vpp/configuration/dataplane/interface.md: "configures" → "configure"

CI linter (IP addresses):
- nmp.md: wrap 8.8.8.8 example with stop/start_vyoslinter
- lac-lns.md: wrap LNS config block (contains 8.8.8.8)
- wan-load-balancing.md: wrap whole file (illustrative non-RFC IPs)
- policy/examples.md: replace 192.0.1.1 with RFC 5737 192.0.2.1

🤖 Generated by [robots](https://vyos.io)
</content>
</entry>
</feed>
