[swadm,multicast] add multicast inspection subcommand - #366
Open
zeeshanlakhani wants to merge 1 commit into
Open
[swadm,multicast] add multicast inspection subcommand#366zeeshanlakhani wants to merge 1 commit into
zeeshanlakhani wants to merge 1 commit into
Conversation
zeeshanlakhani
force-pushed
the
zl/mcast-swadm
branch
from
September 2, 2026 14:35
cb72382 to
0ea6ca4
Compare
This adds a read-only `swadm multicast` subcommand (aliased as `mcast` as well) for inspecting the multicast groups programmed on the switch: - `multicast list [-t <tag>] [-k external|underlay]` renders all groups as a table, filtered by tag, by replication kind, or both. - `multicast get <group-ip>` shows one group's full config. We also add a kind filter matching on the response variant: `external` selects groups with a NAT target and no direct members, while `underlay` selects those in the reserved ff04::/64 subnet that replicate to member ports.
zeeshanlakhani
force-pushed
the
zl/mcast-swadm
branch
from
September 3, 2026 04:09
0ea6ca4 to
d5121e0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This adds a read-only
swadm multicastsubcommand (aliased asmcastas well) for inspecting the multicast groups programmed on the switch:multicast list [-t <tag>] [-k external|underlay]renders all groups as a table, filtered by tag, by replication kind, or both.multicast get <group-ip>shows one group's full config.We also add a kind filter matching on the response:
externalselects groups with a NAT target and no direct members, whileunderlayselects those in the reserved ff04::/64 subnet that replicate to member ports.