Explorar el Código

Fix xml examples due to locking mechanism.

git-svn-id: https://klish.googlecode.com/svn/trunk@240 0eaa4687-2ee9-07dd-09d9-bcdd2d2dd5fb
Serj Kalichev hace 13 años
padre
commit
b1da1b8949

+ 2 - 1
xml-examples/klish/etc/clish-xml/common.xml

@@ -6,7 +6,8 @@
 	<!--=======================================================-->
 
 <COMMAND name="exit"
-	help="Exit from the CLI">
+	help="Exit from the CLI"
+	lock="false">
 	<ACTION builtin="clish_close"/>
 </COMMAND>
 

+ 2 - 1
xml-examples/klish/etc/clish-xml/configure-mode.xml

@@ -34,7 +34,8 @@
 
 	<COMMAND name="exit"
 		help="Exit from configure mode"
-		view="enable-view">
+		view="enable-view"
+		lock="false">
 	</COMMAND>
 
 	<COMMAND name="hostname"

+ 2 - 3
xml-examples/klish/etc/clish-xml/info-mode.xml

@@ -17,9 +17,8 @@
 <!------ Simple non-priveledged mode commands ------>
 
 	<COMMAND name="enable"
-		help="Turn on privileged commands">
-		<DETAIL>
-		</DETAIL>
+		help="Turn on privileged commands"
+		lock="false">
 		<ACTION>su -c klish-enable</ACTION>
 	</COMMAND>
 

+ 2 - 1
xml-examples/klish/etc/clish-xml/interface.xml

@@ -49,7 +49,8 @@
 <!------ Simple configure-if mode commands ------>
 
 	<COMMAND name="exit"
-		help="Exit from interface configuration mode">
+		help="Exit from interface configuration mode"
+		lock="false">
 		<ACTION builtin="clish_nested_up"/>
 	</COMMAND>
 

+ 4 - 2
xml-examples/klish/etc/clish-xml/ping.xml

@@ -9,7 +9,8 @@
 	prompt="${SYSTEM_NAME}# ">
 
 	<COMMAND name="ping"
-		help="Send echo messages">
+		help="Send echo messages"
+		lock="false">
 		<PARAM name="ip"
 			help="IP echo"
 			ptype="STRING"
@@ -24,7 +25,8 @@
 	</COMMAND>
 
 	<COMMAND name="traceroute"
-		help="Trace route to destination">
+		help="Trace route to destination"
+		lock="false">
 		<PARAM name="ip"
 			help="IP trace"
 			ptype="STRING"