Config merge is overdue for a modern update as noticed while exposing 'merge' in the HTTP API (T7498): (1) it can be simplified and extended to destructive merge using configtree union, recently added (2) it will need to drop reliance on legacy my_set operations for compatibility with vyconf.
Description
Description
Details
Details
- Version
- -
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Feature (new functionality)
Related Objects
Related Objects
| Status | Subtype | Assigned | Task | ||
|---|---|---|---|---|---|
| Resolved | FEATURE REQUEST | jestabro | T7498 Extend HTTP API load/merge request to allow passing config in body | ||
| Open | jestabro | T7427 Replace legacy commit algorithm and data structures with vyconfd | |||
| Resolved | ENHANCEMENT | jestabro | T7499 Update config merge tool | ||
| Resolved | BUG | jestabro | T7588 Vyconf: Call libvyosconfig functions from main thread under http-api | ||
| Resolved | BUG | jestabro | T7627 Fix regression in vyos-load-config: allow load without argument to load default |
- Mentioned In
- rVYOSONEX6ad118257738: Merge https://github.com/vyos/libvyosconfig into integrate-libvyosconfig
rVYOSONEX843e2a99276f: T7499: set permissions on session directory
rVYOSONEX4dd28075ed44: T7499: update hashes for add destructive merge
rVYOSONEX73600f99aa11: Merge pull request #42 from jestabro/merge-config
rVYOSONEX73d0eec02cae: T7499: bindings for (non-)destructive configtree merge
T7627: Fix regression in vyos-load-config: allow load without argument to load default
rVYOSONEX4b34c65d4129: Merge pull request #4574 from jestabro/merge-config
rVYOSONEXfa184c335797: T7499: clean up cache files
rVYOSONEX9203e6445829: T7499: call commit only if session_changed
rVYOSONEX4d7a3a972a11: T7499: update submodule for vyconf/vyos-1x changes
rVYOSONEX2dfb0865149b: T7499: add download/uncompress to vyconf load/merge
rVYOSONEXfc7329f3d2bb: T7499: expose direct request to http-api
rVYOSONEX04a714fbf22c: T7499: add utility to download/uncompress config file, for load/merge
rVYOSONEXb43e3d7dd90c: T7499: formatting
rVYOSONEX352ebebc689d: T7499: generated output for adding field 'destructive' to merge function
rVYOSONEX170244db88f7: T7499: expose destructive merge in http-api
rVYOSONEX816834bcad0a: T7499: use direct request to vyconfd to avoid re-validating
rVYOSONEX8af85206e172: T7499: add unittest for config tree merge function
rVYOSONEXa9b42b38ae85: T7499: generated output for adding field 'cached' to load function
rVYOSONEX500c150bf049: T7499: load from internal representation to avoid re-parsing
rVYOSONEX05db4cdef55a: T7499: update vyos-merge-config.py script to use tree merge function
rVYOSONEX8e84c690e59f: T7499: fix typo in configtree write_cache
rVYOSONEX5e333ccf4a4d: T7499: add interface for (non-)destructive configtree merge - Mentioned Here
- T7498: Extend HTTP API load/merge request to allow passing config in body
Event Timeline
jestabro added a parent task: T7498: Extend HTTP API load/merge request to allow passing config in body.
jestabro mentioned this in rVYOSONEX5e333ccf4a4d: T7499: add interface for (non-)destructive configtree merge.Jul 8 2025, 3:12 PM2025-07-08 15:12:03 (UTC+0)
jestabro mentioned this in rVYOSONEX05db4cdef55a: T7499: update vyos-merge-config.py script to use tree merge function.
jestabro mentioned this in rVYOSONEX500c150bf049: T7499: load from internal representation to avoid re-parsing.
jestabro mentioned this in rVYOSONEXa9b42b38ae85: T7499: generated output for adding field 'cached' to load function.
jestabro mentioned this in rVYOSONEX8af85206e172: T7499: add unittest for config tree merge function.
jestabro mentioned this in rVYOSONEX816834bcad0a: T7499: use direct request to vyconfd to avoid re-validating.
jestabro mentioned this in rVYOSONEX352ebebc689d: T7499: generated output for adding field 'destructive' to merge function.
jestabro mentioned this in rVYOSONEX04a714fbf22c: T7499: add utility to download/uncompress config file, for load/merge.
Restricted Repository Identity mentioned this in rVYOSONEX4b34c65d4129: Merge pull request #4574 from jestabro/merge-config.Jul 8 2025, 3:12 PM2025-07-08 15:12:10 (UTC+0)
Restricted Repository Identity mentioned this in rVYOSONEX73600f99aa11: Merge pull request #42 from jestabro/merge-config.Sep 10 2025, 1:16 PM2025-09-10 13:16:38 (UTC+0)