Skip to content

perf: openconfig Go files optimized - #64

Merged
kpetremann merged 3 commits into
criteo:mainfrom
kpetremann:oc_opti
Aug 13, 2026
Merged

perf: openconfig Go files optimized#64
kpetremann merged 3 commits into
criteo:mainfrom
kpetremann:oc_opti

Conversation

@kpetremann

@kpetremann kpetremann commented Aug 13, 2026

Copy link
Copy Markdown
Member

reduce the size of Go generated code (from OpenConfig):

  • oc_path.go removed => not needed as we don't push via gnmi
  • oc.go => YANG augment to filter out unused branch of openconfig (IS-IS, OSPF etc...)

This should speed up the linter, and remove a lot of useless code.

@kpetremann kpetremann changed the title Oc opti perfs: openconfig Go files optimized Aug 13, 2026
@kpetremann kpetremann changed the title perfs: openconfig Go files optimized perf: openconfig Go files optimized Aug 13, 2026
@kpetremann
kpetremann requested a review from a team August 13, 2026 14:24
+ run "go fix"
@kpetremann
kpetremann merged commit 8bc7681 into criteo:main Aug 13, 2026
2 checks 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.

2 participants