Skip to content

Add missing yang modules#1647

Merged
einarnn merged 6 commits into
YangModels:mainfrom
pjaitken:add-missing-yangs
Jun 15, 2025
Merged

Add missing yang modules#1647
einarnn merged 6 commits into
YangModels:mainfrom
pjaitken:add-missing-yangs

Conversation

@pjaitken

Copy link
Copy Markdown
Contributor

No description provided.

@einarnn

einarnn commented Jun 4, 2025

Copy link
Copy Markdown
Member

@pjaitken we don't normally take PRs here for either vendor or IETF models. Since the IETF maintain their own editing process, the best path is usually via the WG for the model, followed by the automated sync. @xorrkaz may want to comment more.

@xorrkaz

xorrkaz commented Jun 4, 2025

Copy link
Copy Markdown
Contributor

Yeah, I've got a big set of modules to PR. But the damn commit trail is still giving me grief. Let me poke at it some more now.

@pjaitken

Copy link
Copy Markdown
Contributor Author

@einarnn / @xorrkaz

Are you syncin'g from IANA's yang-parameters? Their rsync and ftp was broken.

I see you've now picked up the new versions of all these yang models except for ietf-alarms@2022-06-06.yang - you're currently hosting ietf-alarms@2019-09-11.yang.

BTW, https://www.yangcatalog.org/contribute.html implies that contributions are accepted.

@einarnn

einarnn commented Jun 14, 2025

Copy link
Copy Markdown
Member

@pjaitken The contributions noted there are for the Yang Catalog. The "policy" I try to follow is that YangModels/yang contributions are mastered by the owner of the models. In the case of this model the owner is the IETF. If you can coordinate with the IETF and get agreement that they "bless" your changes, that may be fine. But @xorrkaz, as the owner of the automated model update process, has to be onboard.

@xorrkaz

xorrkaz commented Jun 15, 2025

Copy link
Copy Markdown
Contributor

The YANG Catalog code only parses the yang-parameters.xml file for IANA modules. IETF modules that have had merged errata do not get updated (as far as I can tell). I think if you have a desire to fold in this errata now, I'm okay with it if Einar is. Ideally, this gets incorporated into the yc.o automation in the future.

@einarnn

einarnn commented Jun 15, 2025

Copy link
Copy Markdown
Member

The YANG Catalog code only parses the yang-parameters.xml file for IANA modules. IETF modules that have had merged errata do not get updated (as far as I can tell). I think if you have a desire to fold in this errata now, I'm okay with it if Einar is. Ideally, this gets incorporated into the yc.o automation in the future.

@xorrkaz, @pjaitken if errata are being addressed in the module I think it needs to be a new version of the module and hence a new file. I don't know if the IETF yet has a process defined for this?

If it is done as a new revision of the model, I'm good with it as long as the IETF is. @xorrkaz, are you able to clarify? (For clarity, what I'm worried about is an automated approach that would see @pjaitken's updates wiped out by the automation...)

@xorrkaz

xorrkaz commented Jun 15, 2025

Copy link
Copy Markdown
Contributor

There is a procedure already. IANA is doing this and publishing a new module. In the case of ietf-alarms.yang, they added the errata and release revision 2022-06-06 (which is documented in the yang-parameters.xml file). Automation wouldn't wipe this out as it would simply ignore the file since it's already in the repo.

@einarnn

einarnn commented Jun 15, 2025

Copy link
Copy Markdown
Member

There is a procedure already. IANA is doing this and publishing a new module. In the case of ietf-alarms.yang, they added the errata and release revision 2022-06-06 (which is documented in the yang-parameters.xml file). Automation wouldn't wipe this out as it would simply ignore the file since it's already in the repo.

In that case, I'll commit this PR (which only adds new revisions) and review the other PR.

@einarnn einarnn merged commit eae1935 into YangModels:main Jun 15, 2025
1 check passed
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