summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 17:02:53 -0700
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-02 17:02:53 -0700
commit13131290ccc5e351b7ee5e607635d44d2304046d (patch)
tree2c876224b180fef1722956981bdaa4ed4d648173 /templates
parent20a5a4c2615d161ff648601dc0521b7b5850fa63 (diff)
downloadvyatta-op-13131290ccc5e351b7ee5e607635d44d2304046d.tar.gz
vyatta-op-13131290ccc5e351b7ee5e607635d44d2304046d.zip
* "show configuration" command now hides default values.
* add "show configuration all" command to display all values.
Diffstat (limited to 'templates')
-rw-r--r--templates/show/configuration/all/node.def4
-rw-r--r--templates/show/configuration/node.def2
2 files changed, 5 insertions, 1 deletions
diff --git a/templates/show/configuration/all/node.def b/templates/show/configuration/all/node.def
new file mode 100644
index 0000000..60fa026
--- /dev/null
+++ b/templates/show/configuration/all/node.def
@@ -0,0 +1,4 @@
+help: Show running configuration (including default values)
+run: ${vyatta_sbindir}/xorp_tmpl_tool \
+ test ${vyatta_sbindir}/vyatta-output-config.pl -all
+ ${vyatta_sbindir}/xorp_tmpl_tool end_loading
diff --git a/templates/show/configuration/node.def b/templates/show/configuration/node.def
index f98fb25..a4a0e41 100644
--- a/templates/show/configuration/node.def
+++ b/templates/show/configuration/node.def
@@ -1,4 +1,4 @@
-help: Show the current running configuration
+help: Show running configuration
run: ${vyatta_sbindir}/xorp_tmpl_tool \
test ${vyatta_sbindir}/vyatta-output-config.pl
${vyatta_sbindir}/xorp_tmpl_tool end_loading