Skip to content

add l2mc yang#185

Draft
jasper-hou-micas wants to merge 2 commits intosonic-net:202511from
jasper-hou-micas:igmp-snp
Draft

add l2mc yang#185
jasper-hou-micas wants to merge 2 commits intosonic-net:202511from
jasper-hou-micas:igmp-snp

Conversation

@jasper-hou-micas
Copy link

@jasper-hou-micas jasper-hou-micas commented Oct 23, 2025

Add igmp and mld snooping yang model for restconf

Dependency

This PR is part of the "L2MC-Snooping" series.
It depends on PRs:

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jasper-hou-micas jasper-hou-micas changed the base branch from master to 202511 January 20, 2026 09:24
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Jasper.Hou <jasper@micasnetworks.com>
Signed-off-by: Jasper.Hou <jasper@micasnetworks.com>
@mssonicbld
Copy link

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

Copy link

@aidan-gallagher aidan-gallagher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR adds sonic-igmp-snooping.yang and sonic-mld-snooping.yang imports to import.mk. The YANG model files themselves live in the companion buildimage PR #24327, where the detailed YANG review comments have been posted.

Summary of YANG issues (see buildimage #24327 for inline details):

  • CRLF line endings in sonic-igmp-snooping.yang (Critical)
  • Both modules use the same prefix sigmps (High)
  • Deprecated Azure namespace instead of sonic-net (High)
  • Redundant leaves (out-intf/port, mrouter-intf/mrouter_port) (High)
  • Mixed hyphens and underscores in leaf names (Medium)
  • Missing units on timer leaves (Medium)
  • Circular must constraints with incorrect error message (Medium)
  • MLD model missing L2MC_SUPPRESS equivalent (Medium)
Critical High Medium Low Total
1 4 5 5 15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants