Skip to content

Enhancement: Value validaions #10

Description

@dudu579

Is it platform specific

generic

Importance or Severity

Critical

Description of the enhancement

SONiC 03/24/2026 meeting:
Alibaba wants value validations happen before data was transferred in SAI.

Current Behavior

To implement platform-based yang-model leaf range customization, I want to separate this requirement in three use cases:

  • Static range: mgmt-framework installs debian package sonic-otn-platform-schema to deviation yang-model leaves.
  • Identity/enum: Directly write sonic-mgmt-common sonic-yang.
  • Dynamic range/complexed logic: Directly extended sonic-yang though sonic-ext:custom-validation.

Proposed Behavior

None.

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions