Skip to content

Commit

Permalink
Merge pull request #4128 from jestabro/commit-confirm-soft-rollback
Browse files Browse the repository at this point in the history
config-mgmt: T5976: add option for commit-confirm to use 'soft' rollback
  • Loading branch information
jestabro authored Oct 8, 2024
2 parents 7d42643 + dfba19b commit 3bc9007
Show file tree
Hide file tree
Showing 5 changed files with 375 additions and 158 deletions.
27 changes: 27 additions & 0 deletions interface-definitions/system_config-management.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Loading

0 comments on commit 3bc9007

Please sign in to comment.