You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When providing config in brace style it's translated to only 'set' statements. It's then just merged with existing config, but statements not in provided config are not deleted.
It could be good to have option to load fresh full config and delete everything else. Just like Vyos 'load' command do.
Maybe something like 'state: merge [default] or replaced' as can be found in other modules?
ISSUE TYPE
Feature Idea
COMPONENT NAME
vyos_config
ADDITIONAL INFORMATION
We build full config using templates, then send to device to replace old config with new one. Right now we just copy this config and issue 'load' command, but using proper module with diff and report what was really send to device would be definitely more proper way of doing this.
The text was updated successfully, but these errors were encountered:
lucaelin
added a commit
to lucaelin/vyos.vyos
that referenced
this issue
Jul 28, 2021
SUMMARY
When providing config in brace style it's translated to only 'set' statements. It's then just merged with existing config, but statements not in provided config are not deleted.
It could be good to have option to load fresh full config and delete everything else. Just like Vyos 'load' command do.
Maybe something like 'state: merge [default] or replaced' as can be found in other modules?
ISSUE TYPE
COMPONENT NAME
vyos_config
ADDITIONAL INFORMATION
We build full config using templates, then send to device to replace old config with new one. Right now we just copy this config and issue 'load' command, but using proper module with diff and report what was really send to device would be definitely more proper way of doing this.
The text was updated successfully, but these errors were encountered: