Categorygithub.com/sdcio/config-diff
modulepackage
0.0.0-20250106104606-6ab96a19938d
Repository: https://github.com/sdcio/config-diff.git
Documentation: pkg.go.dev

# README

Overview

Execution

# ./config-diff <schema-definition> <output-format> <concurrent-validation> <onlyNewOrUpdated>
  • <schema-definition>: Path of the schema-definition *.yaml file
  • <output-format>: Format of the output. (json, json_ietf, xml)
  • <concurrent-validation>: Internal tree parameter, selects if the validation of the schema should be run in goroutines. Not really relevant to the user, exposed it for performance measurements. Using a debugger, inspecting validation use flase any other case use -> true
  • <onlyNewOrUpdated>: If set to true, only chnaged or new values will included in output. Otherwise the whole config runnning + new and changed.

Example:

./config-diff "/home/mava/projects/config-diff/data/schema/arista-4.33.0.F.yaml" xml true true

# Packages

No description provided by the author
No description provided by the author