Existing functions for defaults under T5218 return a dictionary of defaults, in various versions, but one occasionally needs just the defaults at a given path; expose a utility function. The use case is for tag node defaults, as used in conf_mode container.py: tag node defaults are not automatically merged, but are available in the reference dict, and should be accessible.
Description
Description
Details
Details
- Difficulty level
- Easy (less than an hour)
- Version
- vyos-1.4
- Why the issue appeared?
- Will be filled on close
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Improvement (missing useful functionality)
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | BUG | jestabro | T2665 vyos.xml.defaults for tag nodes | ||
Resolved | ENHANCEMENT | jestabro | T5218 Revise vyos xml lib for bug fixes and extensions | ||
Resolved | ENHANCEMENT | jestabro | T5434 Replace remaining calls of vyos.xml library | ||
Resolved | ENHANCEMENT | jestabro | T5435 Expose utility function for default values at path |