Page MenuHomeVyOS Platform

get_config_dict: Use utility function for non-empty path argument
Closed, ResolvedPublicFEATURE REQUEST

Description

Currently, get_config_dict provides the sub-config at 'path', by passing the path argument to show_config. This results in

  1. the behaviour cited in T2662 through the interaction of the backend and configtree
  2. an additional dependency on, and call to, the vyatta backend
  3. ceding control of the result to the backend

As an alternative, it is suggested to add a utility function 'get_sub_dict', and apply that to the full config_dict obtained from show_config, for a non-empty path.

Details

Difficulty level
Normal (likely a few hours)
Version
vyos-1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Internal change (not visible to end users)

Event Timeline

jestabro changed the task status from Open to Needs testing.Jul 1 2020, 6:24 PM
jestabro triaged this task as Normal priority.
jestabro created this task.
jestabro created this object in space S1 VyOS Public.
erkin set Issue type to Internal change (not visible to end users).Aug 29 2021, 1:59 PM
erkin removed a subscriber: Active contributors.