Page MenuHomeVyOS Platform

Move the interface default values from the conf_mode file to the interface
Closed, InvalidPublicFEATURE REQUEST

Description

The default for interface configuration should be set in the Interface itself. The code should use FixedDict to make sure that no mistake can be made when setting variable names. Also, the name of the variable in the conf_mode files should be consistent and match the name in the Interface classes.

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Internal change (not visible to end users)

Event Timeline

thomas-mangin changed the task status from Open to Needs testing.Apr 21 2020, 2:56 PM
This comment was removed by thomas-mangin.
thomas-mangin added a commit: Restricted Diffusion Commit.Apr 21 2020, 2:58 PM
thomas-mangin changed the task status from Needs testing to Open.Apr 21 2020, 3:05 PM
thomas-mangin removed a commit: Restricted Diffusion Commit.
erkin set Issue type to Internal change (not visible to end users).Aug 30 2021, 7:10 AM
erkin removed a subscriber: Active contributors.
Viacheslav added a subscriber: Viacheslav.

It is not a task for 1.3 LTS releases.
For 1.4, there a new feature that was implemented in https://vyos.dev/T5228
get_config_dict and add argument with_defaults