Skip to content

tools/pyang: exclude common YANG models from import to avoid duplicates#218

Open
dudu579 wants to merge 1 commit into
sonic-net:masterfrom
sonic-molex:bug/yang-model_conflicts
Open

tools/pyang: exclude common YANG models from import to avoid duplicates#218
dudu579 wants to merge 1 commit into
sonic-net:masterfrom
sonic-molex:bug/yang-model_conflicts

Conversation

@dudu579

@dudu579 dudu579 commented May 8, 2026

Copy link
Copy Markdown

sonic-mgmt-common extension name:

extension custom-validation {
		description
			"Extension for custom validation. 
			 Platform specific validation can be implemented using custom validation.";
		argument "handler"; 
	}

sonic-yang-models auto-generated extension name:

extension custom-validation-cvl {
        description "Extension for registering cvl based custom validation handler.";
        argument "handler";
    }

mgmt-framework imports both, this conflict happens.

Related issue:

@linux-foundation-easycla

linux-foundation-easycla Bot commented May 8, 2026

Copy link
Copy Markdown

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: dudu579 / name: Jichen Dou (37edd00)

@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

Signed-off-by: Jichen Dou <jichendu1999@gmail.com>
@dudu579 dudu579 force-pushed the bug/yang-model_conflicts branch from 6f81d83 to 37edd00 Compare May 8, 2026 20:58
@mssonicbld

Copy link
Copy Markdown

/azp run

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines successfully started running 1 pipeline(s).

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.

2 participants