Skip to content

Refactor validate#796

Draft
ccoueffe wants to merge 2 commits into
netascode:refactor_collectionfrom
ccoueffe:refactor_validate
Draft

Refactor validate#796
ccoueffe wants to merge 2 commits into
netascode:refactor_collectionfrom
ccoueffe:refactor_validate

Conversation

@ccoueffe
Copy link
Copy Markdown
Collaborator

Related Issue(s)

Related Collection Role

  • cisco.nac_dc_vxlan.validate
  • cisco.nac_dc_vxlan.dtc.create
  • cisco.nac_dc_vxlan.dtc.deploy
  • cisco.nac_dc_vxlan.dtc.remove
  • other

Related Data Model Element

  • vxlan.fabric
  • vxlan.global
  • vxlan.topology
  • vxlan.underlay
  • vxlan.overlay
  • vxlan.overlay_extensions
  • vxlan.policy
  • vxlan.multisite
  • defaults.vxlan
  • other

Proposed Changes

Test Notes

Cisco Nexus Dashboard Version

Checklist

  • Latest commit is rebased from develop with merge conflicts resolved
  • New or updates to documentation has been made accordingly
  • Assigned the proper reviewers

ccoueffe added 2 commits May 12, 2026 13:56
Move data loading and syntax validation outside the rules loop to avoid
redundant schema parsing and YAML reloading on each iteration. Reduces
validation time from ~98s to ~26s (3.8x speedup) on a 4-host fabric.
Signed-off-by: ccoueffe <ccoueffe@cisco.com>
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.

1 participant