Page MenuHomeVyOS Platform

Add vyconf aware initialization of Config
Closed, ResolvedPublicENHANCEMENT

Description

We already have an explicit vyconf aware initialization of Config for vyos-commitd, analogous to the mechanism used for vyos-configd, namely, init with explicit values of active/working configs (T7121). What is needed is the generic initialization of Config in the vyconf context, in either config- or op- mode, analogous to the default initialization of Config from the legacy context ConfigSourceSession:
https://github.com/vyos/vyos-1x/blob/current/python/vyos/configsource.py#L108

With the provided vyconf aware ConfigSession (T7321), this is needed for basic smoketests to run successfully.
(cf. https://github.com/vyos/vyos-1x/blob/current/src/etc/netplug/vyos-netplug-dhcp-client#L51 for an obvious example.)

Details

Version
-
Is it a breaking change?
Perfectly compatible
Issue type
Feature (new functionality)

Event Timeline

jestabro moved this task from Need Triage to Completed on the VyOS Rolling board.