Browse code

lcr doc: added RPC commands section

Andrei Pelinescu-Onciul authored on 13/05/2009 11:59:25
Showing 1 changed files
... ...
@@ -910,6 +910,56 @@ if (to_gw("1")) {
910 910
 		</section>
911 911
 	</section>
912 912
 	<section>
913
+	<title>Exported RPC Commands</title>
914
+		<section>
915
+		<title><function>lcr.reload</function></title>
916
+		<para>
917
+			Causes lcr module to re-read the contents of gateway table
918
+			into memory.
919
+		</para>
920
+		<para>
921
+		Name: <emphasis>lcr.reload</emphasis>
922
+		</para>
923
+		<para>Parameters: <emphasis>none</emphasis></para>
924
+		<example>
925
+		<title><function>lcr.reload</function> RPC example</title>
926
+		<programlisting  format="linespecific">
927
+		$ sercmd lcr.reload
928
+		</programlisting>
929
+		</example>
930
+		</section>
931
+		
932
+		<section>
933
+		<title><function>lcr.dump_gws</function></title>
934
+		<para>
935
+			Causes lcr module to dump the contents of its
936
+			in-memory gw table.
937
+		</para>
938
+		<para>Parameters: <emphasis>none</emphasis></para>
939
+		<example>
940
+		<title><function>lcr.dump_gws</function> RPC example</title>
941
+		<programlisting  format="linespecific">
942
+		$ sercmd lcr.dump_gws
943
+		</programlisting>
944
+		</example>
945
+		</section>
946
+		
947
+		<section>
948
+		<title><function>lcr.dump_lcr</function></title>
949
+		<para>
950
+			Causes lcr module to dump the contents of its
951
+			in-memory lcr table.
952
+		</para>
953
+		<para>Parameters: <emphasis>none</emphasis></para>
954
+ 		<example>
955
+		<title><function>lcr.dump_lcr</function> RPC example</title>
956
+        <programlisting  format="linespecific">
957
+		$ sercmd lcr.dump_lcr
958
+		</programlisting>
959
+		</example>
960
+		</section>
961
+	</section>
962
+	<section>
913 963
 	<title>Known Limitations</title>
914 964
 	<para>
915 965
 		In-memory gateway and in-memory lcr table are switched