diff options
author | John Estabrook <jestabro@vyos.io> | 2024-10-08 16:57:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-08 16:57:25 -0500 |
commit | 3bc900722892dba525b7cd6bada4e6327b01fffe (patch) | |
tree | 2dfb03e3f60c7d18bfda90380df80c4b4d298bf3 /interface-definitions | |
parent | 7d4264365e487d37115cff0633b25e4b2012a126 (diff) | |
parent | dfba19b3e89f47690c0abdee5f6410278237122e (diff) | |
download | vyos-1x-3bc900722892dba525b7cd6bada4e6327b01fffe.tar.gz vyos-1x-3bc900722892dba525b7cd6bada4e6327b01fffe.zip |
Merge pull request #4128 from jestabro/commit-confirm-soft-rollback
config-mgmt: T5976: add option for commit-confirm to use 'soft' rollback
Diffstat (limited to 'interface-definitions')
-rw-r--r-- | interface-definitions/system_config-management.xml.in | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/interface-definitions/system_config-management.xml.in b/interface-definitions/system_config-management.xml.in index e666633b7..a23d44aea 100644 --- a/interface-definitions/system_config-management.xml.in +++ b/interface-definitions/system_config-management.xml.in @@ -67,6 +67,33 @@ <constraintErrorMessage>Number of revisions must be between 0 and 65535</constraintErrorMessage> </properties> </leafNode> + <node name="commit-confirm"> + <properties> + <help>Commit confirm options</help> + </properties> + <children> + <leafNode name="action"> + <properties> + <help>Commit confirm revert action</help> + <completionHelp> + <list>reload reboot</list> + </completionHelp> + <valueHelp> + <format>reload</format> + <description>Reload previous configuration if not confirmed</description> + </valueHelp> + <valueHelp> + <format>reboot</format> + <description>Reboot to saved configuration if not confirmed</description> + </valueHelp> + <constraint> + <regex>(reload|reboot)</regex> + </constraint> + </properties> + <defaultValue>reboot</defaultValue> + </leafNode> + </children> + </node> </children> </node> </children> |