diff options
Diffstat (limited to 'op-mode-definitions/show-system.xml.in')
| -rw-r--r-- | op-mode-definitions/show-system.xml.in | 36 | 
1 files changed, 36 insertions, 0 deletions
| diff --git a/op-mode-definitions/show-system.xml.in b/op-mode-definitions/show-system.xml.in index 4a0e6c3b2..85bfdcdba 100644 --- a/op-mode-definitions/show-system.xml.in +++ b/op-mode-definitions/show-system.xml.in @@ -7,6 +7,42 @@            <help>Show system information</help>          </properties>          <children> +          <node name="commit"> +            <properties> +              <help>Show commit revision log</help> +            </properties> +            <command>${vyos_op_scripts_dir}/config_mgmt.py show_commit_log</command> +            <children> +              <tagNode name="diff"> +                <properties> +                  <help>Show commit revision diff</help> +                </properties> +                <command>${vyos_op_scripts_dir}/config_mgmt.py show_commit_diff --rev "$5"</command> +              </tagNode> +              <tagNode name="file"> +                <properties> +                  <help>Show commit revision file</help> +                </properties> +                <command>${vyos_op_scripts_dir}/config_mgmt.py show_commit_file --rev "$5"</command> +                <children> +                  <tagNode name="compare"> +                    <properties> +                      <help>Compare config file revisions</help> +                    </properties> +                    <command>${vyos_op_scripts_dir}/config_mgmt.py show_commit_diff --rev "$5" --rev2 "$7"</command> +                    <children> +                      <leafNode name="commands"> +                        <properties> +                          <help>Compare config file revision commands</help> +                        </properties> +                        <command>${vyos_op_scripts_dir}/config_mgmt.py show_commit_diff --rev "$5" --rev2 "$7" --commands</command> +                      </leafNode> +                    </children> +                  </tagNode> +                </children> +              </tagNode> +            </children> +          </node>            <node name="connections">              <properties>                <help>Show active network connections on the system</help> | 
