"Fossies" - the Fresh Open Source Software Archive

Member "opensips-3.0.1/scripts/pi_http/clusterer-mod" (16 Apr 2019, 1937 Bytes) of package /linux/misc/opensips-3.0.1.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 	<!-- clusterer provisionning -->
    2 	<mod><mod_name>clusterer</mod_name>
    3 		<cmd><cmd_name>show</cmd_name>
    4 			<db_table_id>clusterer</db_table_id>
    5 			<cmd_type>DB_QUERY</cmd_type>
    6 			<query_cols>
    7 				<col><field>id</field><link_cmd>update</link_cmd></col>
    8 				<col><field>cluster_id</field></col>
    9 				<col><field>node_id</field></col>
   10 				<col><field>url</field></col>
   11 				<col><field>state</field></col>
   12 				<col><field>no_ping_retries</field></col>
   13 				<col><field>priority</field></col>
   14 				<col><field>sip_addr</field></col>
   15 				<col><field>flags</field></col>
   16 				<col><field>description</field></col>
   17 			</query_cols>
   18 		</cmd>
   19 		<cmd><cmd_name>add</cmd_name>
   20 			<db_table_id>clusterer</db_table_id>
   21 			<cmd_type>DB_INSERT</cmd_type>
   22 			<query_cols>
   23 				<col><field>cluster_id</field></col>
   24 				<col><field>node_id</field></col>
   25 				<col><field>url</field></col>
   26 				<col><field>state</field></col>
   27 				<col><field>no_ping_retries</field></col>
   28 				<col><field>priority</field></col>
   29 				<col><field>sip_addr</field></col>
   30 				<col><field>flags</field></col>
   31 				<col><field>description</field></col>
   32 			</query_cols>
   33 		</cmd>
   34 		<cmd><cmd_name>update</cmd_name>
   35 			<db_table_id>clusterer</db_table_id>
   36 			<cmd_type>DB_UPDATE</cmd_type>
   37 			<clause_cols>
   38 				<col><field>id</field><operator>=</operator></col>
   39 			</clause_cols>
   40 			<query_cols>
   41 				<col><field>cluster_id</field></col>
   42 				<col><field>node_id</field></col>
   43 				<col><field>url</field></col>
   44 				<col><field>state</field></col>
   45 				<col><field>no_ping_retries</field></col>
   46 				<col><field>priority</field></col>
   47 				<col><field>sip_addr</field></col>
   48 				<col><field>flags</field></col>
   49 				<col><field>description</field></col>
   50 			</query_cols>
   51 		</cmd>
   52 		<cmd><cmd_name>delete</cmd_name>
   53 			<db_table_id>clusterer</db_table_id>
   54 			<cmd_type>DB_DELETE</cmd_type>
   55 			<clause_cols>
   56 				<col><field>id</field><operator>=</operator></col>
   57 			</clause_cols>
   58 		</cmd>
   59 	</mod>