Repository navigation
Add Cumulus Info to Docs - #386
mrbojangles3 wants to merge 8 commits into
Conversation
Signed-off-by: Logan Blyth <logan@githedgehog.com>
Signed-off-by: Logan Blyth <logan@githedgehog.com>
Signed-off-by: Logan Blyth <logan@githedgehog.com>
|
🚀 Deployed on https://preview-386--hedgehog-docs.netlify.app |
|
|
||
| Cumulus Linux names a mutli-domain fabric as a multi-plane fabric. In Cumulus Linux when both the switch and the host side NIC are from NVIDIA the end user can benefit from Hardware Plane Load Balancing (hwplb). The switch side configuration for hwplb invovles using a [draft BGP SAFI](https://www.ietf.org/archive/id/draft-tantsura-idr-unreachability-safi-00.html). From the draft, | ||
|
|
||
| >"... "Unreachability Information" that allows the propagation of prefix unreachability information through BGP without affecting the installation or removal of routes in the Routing Information Base (RIB) or Forwarding Information Base (FIB). ..." |
There was a problem hiding this comment.
the quote does not add much value here, especially because it's not a complete sentence. I would either quote a block big enough to be self-sufficient or scrap the quote and paraphrase in your own words, just leaving a reference to the draft for details
There was a problem hiding this comment.
I pasted the full abstract. I don't want paraphrase and risk in-accuracies
There was a problem hiding this comment.
🟡 Changes recommended
The documentation overgeneralizes dual-plane NIC connectivity to all multi-domain deployments and recommends HWPLB without qualifying the required NOS and hardware support.
2 open issues
What changed in this PR
Adds hardware and software plane load-balancing guidance to the fabric and host configuration documentation, covering topics raised in #381 and #382.
Changes:
- Describes Cumulus switch-side unreachability signaling through BGP and LLDP.
- Adds host-side HWPLB/SWPLB guidance and NVIDIA software references.
- Adds the global SAFI abbreviation.
| File | Description |
|---|---|
includes/abbreviations.md |
Defines SAFI for documentation tooltips. |
docs/user-guide/multi-fabric.md |
Adds Cumulus switch-side HWPLB details. |
docs/user-guide/host-settings.md |
Adds host plane-load-balancing guidance and trims trailing whitespace. |
Review effort: Balanced
|
|
||
| ### Plane Load Balancing | ||
|
|
||
| In a multi domain network architecture every NIC on the host will have a connection to two different planes. The planes increase the resilience of the network. When both the NIC and the switch are Spectrum-X Ethernet from NVIDIA, the NIC should be configured for Hardware Plane Load Balancing (HWPLB). If only the NIC is Spectrum-X Etherent, ConnectX-8 for example, then Software Plane Load Balancing (SWPLB) should be used. NVIDIA provides a [validated solution stack](https://networking-docs.nvidia.com/software/spectrumx-solution-stack#nvidiatab-b300) on its website to ensure the correct versions are used. |
There was a problem hiding this comment.
- Typo:
Etherent->Ethernet. - Casing is inconsistent: headings use HWPLB/SWPLB, the prose uses
hwplb/swplb. Please pick one. The abbreviation plugin is case-sensitive, so this also decides whether HWPLB/SWPLB can go intoincludes/abbreviations.md. - The SWPLB condition here is 'only the NIC is Spectrum-X (ConnectX-8, for example)', but the SWPLB subsection says 'ConnectX NICs and ... non-NVIDIA based ASIC'. Please align the two and say which NIC generations and switch ASICs are covered.
- This paragraph is one very long line; the rest of the file wraps at ~80 columns.
- +1 to Copilot's scoping point on 'every NIC ... two different planes'.
There was a problem hiding this comment.
Typo: ✔️
Casing: ✔️
There are no switch asics with swplb. it is only the host. Added the two NICs we know about that do multi-plane.
Lines too long: ✔️
Tried to re-word the Copilot suggestion. there can be 2,4,or 8 planes. so I didn't want to limit to just 2.
|
|
||
| #### Host Side HWPLB | ||
|
|
||
| With both NVIDIA switches and NICS hwplb allows for the communication and reception of [EVPN unreachability information](https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-519/Network-Virtualization/Ethernet-Virtual-Private-Network-EVPN/EVPN-Enhancements/#evpn-unreachability-in-disjoined-planes). The switch keeps track of an "Unreachable SAFI" and the host learns of the unreachable routes via [BGP-LLDP](https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-519/Layer-3/Border-Gateway-Protocol-BGP/Optional-BGP-Configuration/#bgp-lldp-unreachability-in-disjoined-planes). NVIDIA has a [Kuberentes Network Operator](https://docs.nvidia.com/networking/display/kubernetes26100/spectrum-x/spectrum-x.html#how-spectrum-x-works-on-kubernetes) to assist in the configuration of hosts. |
There was a problem hiding this comment.
- Typo:
NICS->NICs. - Several links are pinned to versions (
cumulus-linux-519,kubernetes26100) and will go stale. Please mention the version in the text, or use unversioned/latestURLs where they exist. - +1 to Copilot: qualify HWPLB by supported NOS.
There was a problem hiding this comment.
Typo: ✔️
Links, they are pinned to the LTS version that just came out. I have called that out in the docs, as well a providing a way to find the other validated versions.
Copilot: ✔️
|
|
||
| #### Host Side SWPLB | ||
|
|
||
| If the host is using ConnectX NICs and the switches are a non-NVIDIA based ASIC then host should use swplb. [Spectrum-X NCCL Plugin](https://networking-docs.nvidia.com/hpcxum/2.52/spectrum-x-nccl-plugin) should be installed and used on the host, along with [HPC-X](https://developer.nvidia.com/networking/hpc-x). The download link is at the bottom of the page, under "Resources", Download tab. |
There was a problem hiding this comment.
- 'non-NVIDIA based ASIC' is vague. Which switches does this mean (e.g. Broadcom-based)?
- 'The download link is at the bottom of the page, under Resources, Download tab' will rot as soon as NVIDIA reshuffles the page. I would link the HPC-X page directly and drop the directions.
There was a problem hiding this comment.
'non-NVIDIA based ASIC' is kind of meant to be vague, I don't think other vendors support the SAFI and LLDP needed for it to work. I don't know if the cisco variants of cumulus / spectrum will work for this or not. I am assuming not. so its nvidia or bust. I did try to clean up the phrasing.
Directions are gone, but I looked at that page for a while before I realized there was a download link in it.
|
|
||
| === "Cumulus Linux Vx" | ||
| ```console | ||
| ubuntu@vlab:~$ hhfab init --dev --gws=2 --include-cumulus |
There was a problem hiding this comment.
The output of the two hhfab init tabs is identical, only the --include-cumulus flag differs. A single block plus a short note might be simpler. Also, please confirm the flag name against hhfab init --help; I could not find it documented elsewhere in the repo.
There was a problem hiding this comment.
Elsewhere in the Docs we use this style of tab to separate the OS being used. That was the initial motivation, the differences are minor,agreed. But I think we should keep the separate, as we are considering future NOS vendors and there might be additional changes in the future.
|
|
||
| === "Cumulus Linux VX" | ||
| ```console | ||
| ubuntu@vlab:~$ hhfab vlab gen --sp=cumulus-vx |
There was a problem hiding this comment.
Double space in hhfab vlab gen --sp=cumulus-vx. The output shown for this tab has profile=vs, identical to the SONiC tab. Is that the real output with --sp=cumulus-vx? Please paste actual output. Also please confirm --sp against hhfab vlab gen -h (the profile name cumulus-vx does match reference/profiles.md). Does Cumulus VX need an image download or licence? If so, the VLAB prerequisites should mention it.
There was a problem hiding this comment.
Our vx-image is very old, and was publicly distributed so we are banking on that not being a problem.
Pasted actual output.
Thank you for calling all this out.
7700d93 to
0d02263
Compare
| The planes increase the resilience of the network. When both the NIC and the switch are Spectrum-X Ethernet from NVIDIA, | ||
| the NIC should be configured for Hardware Plane Load Balancing (HWPLB). If only the NIC is Spectrum-X Ethernet, ConnectX-8 or ConnectX-9 | ||
| for example, then Software Plane Load Balancing (SWPLB) should be used. An overview of the switch side of HWPLB is [here](multi-fabric.md#switch-nos-details-on-multi-domain-fabrics). | ||
| NVIDIA provides a [validated solution stack](https://networking-docs.nvidia.com/software/spectrumx-solution-stack#nvidiatab-b300) |
There was a problem hiding this comment.
nit: remove the anchor to the B300 tab?
There was a problem hiding this comment.
I left it on the B300 on purpose, because we have focused on the B300/B200 use case. The default tab when there is no anchor is Vera, which is out of scope for the docs.
I would like to leave it unless there is strong opposition.
There was a problem hiding this comment.
Status from my side, to avoid more round trips:
- DCO is failing: please sign off the commits (e.g.
git rebase --signoff <base> && git push --force-with-lease). - The typo/casing fixes mentioned in the threads aren't on the pushed head (0d02263):
archictecture,NICS,nicx2, 'shall breakout', and lowercasehwplbin multi-fabric.md. Please push them, ideally as a new commit rather than another amend, so reviewers can see what changed. - 'The links below are pinned to v2.4.0 LTS versions' doesn't say what v2.4.0 LTS is. Is this the NVIDIA NCP (NVIDIA Cloud Partner) reference architecture release? If so, please say so in the docs, link the release page, and list the component versions it pins (Cumulus Linux, HPC-X, NCCL plugin, Network Operator), so readers know when the links need updating. Also please drop the
#nvidiatab-b300anchor (open nit). - The lightweight Cumulus tab in running.md (line 368) still shows
profile=vs; please paste real output like the spine-leaf tab. - #383 asks for Cumulus versions of the VLAB examples; this PR only covers running.md (virt-externals.md etc. are still SONiC-only). Please either narrow 'closes #383' or finish it.
I'll re-review once these are pushed.
Signed-off-by: Logan Blyth <logan@githedgehog.com>
0d02263 to
27ee540
Compare
Signed-off-by: Logan Blyth <logan@githedgehog.com>
Signed-off-by: Logan Blyth <logan@githedgehog.com>
745b7f1 to
046b80d
Compare
Signed-off-by: Logan Blyth <logan@githedgehog.com>
046b80d to
cbebd9d
Compare
Signed-off-by: Logan Blyth <logan@githedgehog.com>
|
pau-hedgehog
left a comment
There was a problem hiding this comment.
Thanks, the earlier points are addressed. Agreed on not duplicating the pinned versions, and the B300 anchor is fine given the scope; it would help to make that explicit in the link text (e.g. 'validated solution stack (B300 tab)').
Follow-ups, none blocking:
- running.md: 'Cumulus Linux VX is no longer distributed' reads as if the Cumulus tabs can't be followed. It might help to say which VX version VLAB uses, that features requiring newer Cumulus (e.g. HWPLB, which needs >=5.18.2) can't be tried in VLAB, and how dsx-air relates to hhfab. Linking dsx-air's landing page rather than /login would also be better.
- host-settings.md ~line 400: 'The ConnectX-8 documentation for the Cx-8 tells you ...' repeats itself; suggest 'The ConnectX-8 documentation tells you the values to set ...'.
- 'physical functions' in the single-cage section vs 'ports' in Plane Load Balancing: pick one term.
- Add HWPLB/SWPLB to includes/abbreviations.md; prefix every blockquote line in multi-fabric.md with
>. - #383: if it covers all VLAB examples, virt-externals.md is still SONiC-only; if it only covers the main guide, no change needed, but then please say so in the PR.

closes #381
closes #382
closes #383