.. _slb_smpp:

slb smpp
========

Configure SMPP


smpp Specification
------------------

	===================================== =================================================
	 **Parameter**                         **Value** 

	===================================== =================================================
	 **Type**                              *Configuration Resource*

	 **Element Name**                      smpp

	 **Element URI**                       /axapi/v3/slb/smpp

	 **Element Attributes**                smpp_attributes

	 **Partition Visibility**              shared

	 **Statistics Data URI**               /axapi/v3/slb/smpp/stats

	 **Operational Data URI**              /axapi/v3/slb/smpp/oper

	 **Schema**                             :download:`smpp schema <slb-smpp/slb-smpp.txt>`
	===================================== =================================================





	**Operations Allowed:**




.. raw:: html

   <script type="text/javascript">
 function showExample(a,b) { document.getElementById(a+'_div').style.display = 'block'; document.getElementById(a+'_cl').style.display = 'block'; document.getElementById(a+'_eg').style.display = 'none';}
   function closeExample(a,b) { document.getElementById(a+'_div').style.display = 'none'; document.getElementById(a+'_cl').style.display = 'none'; document.getElementById(a+'_eg').style.display = 'block';}
 </script>
   <table width='90%' style='margin-left:5%'>



.. raw:: html

   <tr style='border-bottom: thin solid; border-top: thin solid'><th width=15%>Operation</th><th width=10%>Method</th><th>URI</th><th width=15%>Payload</th><th width=10%></th></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Create Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/smpp



.. raw:: html

   </td><td valign = 'top'>


:ref:`2893_smpp_attributes`



.. raw:: html

   </td><td><button id='post_eg' onClick="showExample('post')">example</button> <button id='post_cl' onClick="closeExample('post')" style='display:none'>close</button></td></tr>




.. raw:: html

   <tr><td colspan=5 style='padding: 0         % 0    %;' valign = 'top'><div id='post_div' style='display:none'>


.. include:: ../artifacts/slb_smpp_POST.txt
   :literal:




.. raw:: html

   </div></td></tr>


.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Get Object



.. raw:: html

   </td><td valign = 'top'>


GET



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/smpp



.. raw:: html

   </td><td valign = 'top'>


:ref:`2893_smpp_attributes`



.. raw:: html

   </td><td><button id='get_eg' onClick="showExample('get')">example</button> <button id='get_cl' onClick="closeExample('get')" style='display:none'>close</button></td></tr>




.. raw:: html

   <tr><td colspan=5 style='padding: 0         % 0    %;' valign = 'top'><div id='get_div' style='display:none'>


.. include:: ../artifacts/slb_smpp_GET.txt
   :literal:




.. raw:: html

   </div></td></tr>


.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Modify Object



.. raw:: html

   </td><td valign = 'top'>


POST



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/smpp



.. raw:: html

   </td><td valign = 'top'>


:ref:`2893_smpp_attributes`



.. raw:: html

   </td><td></td></tr>




.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Replace Object



.. raw:: html

   </td><td valign = 'top'>


PUT



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/smpp



.. raw:: html

   </td><td valign = 'top'>


:ref:`2893_smpp_attributes`



.. raw:: html

   </td><td><button id='put_eg' onClick="showExample('put')">example</button> <button id='put_cl' onClick="closeExample('put')" style='display:none'>close</button></td></tr>




.. raw:: html

   <tr><td colspan=5 style='padding: 0         % 0    %;' valign = 'top'><div id='put_div' style='display:none'>


.. include:: ../artifacts/slb_smpp_PUT.txt
   :literal:




.. raw:: html

   </div></td></tr>


.. raw:: html

   <tr  style='border-bottom: thin solid;'><td valign = 'top'>


Delete Object



.. raw:: html

   </td><td valign = 'top'>


DELETE



.. raw:: html

   </td><td valign = 'top'>


/axapi/v3/slb/smpp



.. raw:: html

   </td><td valign = 'top'>


:ref:`2893_smpp_attributes`



.. raw:: html

   </td><td><button id='delete_eg' onClick="showExample('delete')">example</button> <button id='delete_cl' onClick="closeExample('delete')" style='display:none'>close</button></td></tr>




.. raw:: html

   <tr><td colspan=5 style='padding: 0         % 0    %;' valign = 'top'><div id='delete_div' style='display:none'>


.. include:: ../artifacts/slb_smpp_DELETE.txt
   :literal:




.. raw:: html

   </div></td></tr>


.. raw:: html

   </table>

.. _2893_smpp_attributes:

smpp attributes
---------------

    **sampling-enable**

        **Type:** List

    **uuid**

        **Description** uuid of the object

        **Type:** string

        **Maximum Length:** 64 characters

        **Maximum Length:** 1 characters

.. _2893_sampling-enable:

sampling-enable
^^^^^^^^^^^^^^^
	=============================== ===================================================
	**Specification**                 **Value**
	=============================== ===================================================
	 **Type**                        *list*

	 **Block object keys**             

	=============================== ===================================================

    **counters1**

        **Description** 'all': all; 'msg_proxy_current': Curr SMPP Proxy; 'msg_proxy_total': Total SMPP Proxy; 'msg_proxy_mem_allocd': some help string; 'msg_proxy_mem_cached': some help string; 'msg_proxy_mem_freed': some help string; 'msg_proxy_client_recv': Client message rcvd; 'msg_proxy_client_send_success': Sent to server; 'msg_proxy_client_incomplete': Incomplete; 'msg_proxy_client_drop': AX responds directly; 'msg_proxy_client_connection': Connecting server; 'msg_proxy_client_fail': Number of SMPP messages received from client but failed to forward to server; 'msg_proxy_client_fail_parse': some help string; 'msg_proxy_client_fail_process': some help string; 'msg_proxy_client_fail_snat': some help string; 'msg_proxy_client_exceed_tmp_buff': some help string; 'msg_proxy_client_fail_send_pkt': some help string; 'msg_proxy_client_fail_start_server_Conn': some help string; 'msg_proxy_server_recv': Server message rcvd; 'msg_proxy_server_send_success': Sent to client; 'msg_proxy_server_incomplete': Incomplete; 'msg_proxy_server_drop': Number of the packet AX drop; 'msg_proxy_server_fail': Number of SMPP messages received from server but failed to forward to client; 'msg_proxy_server_fail_parse': some help string; 'msg_proxy_server_fail_process': some help string; 'msg_proxy_server_fail_selec_connt': some help string; 'msg_proxy_server_fail_snat': some help string; 'msg_proxy_server_exceed_tmp_buff': some help string; 'msg_proxy_server_fail_send_pkt': some help string; 'msg_proxy_create_server_conn': Server conn created; 'msg_proxy_start_server_conn': Number of server connection created successfully; 'msg_proxy_fail_start_server_conn': Number of server connection created failed; 'msg_proxy_server_conn_fail_snat': some help string; 'msg_proxy_fail_construct_server_conn': some help string; 'msg_proxy_fail_reserve_pconn': some help string; 'msg_proxy_start_server_conn_failed': some help string; 'msg_proxy_server_conn_already_exists': some help string; 'msg_proxy_fail_insert_server_conn': some help string; 'msg_proxy_parse_msg_fail': some help string; 'msg_proxy_process_msg_fail': some help string; 'msg_proxy_no_vport': some help string; 'msg_proxy_fail_select_server': some help string; 'msg_proxy_fail_alloc_mem': msg_proxy_fail_alloc_mem; 'msg_proxy_unexpected_err': some help string; 'msg_proxy_l7_cpu_failed': some help string; 'msg_proxy_l4_to_l7': some help string; 'msg_proxy_l4_from_l7': some help string; 'msg_proxy_to_l4_send_pkt': some help string; 'msg_proxy_l4_from_l4_send': some help string; 'msg_proxy_l7_to_L4': some help string; 'msg_proxy_mag_back': some help string; 'msg_proxy_fail_dcmsg': some help string; 'msg_proxy_deprecated_conn': some help string; 'msg_proxy_hold_msg': some help string; 'msg_proxy_split_pkt': some help string; 'msg_proxy_pipline_msg': some help string; 'msg_proxy_client_reset': some help string; 'msg_proxy_server_reset': some help string; 'payload_allocd': some help string; 'payload_freed': some help string; 'pkt_too_small': pkt_too_small; 'invalid_seq': some help string; 'AX_response_directly': Number of packet which AX responds directly; 'select_client_conn': Client conn selection; 'select_client_by_req': Select by request; 'select_client_from_list': Select by roundbin; 'select_client_by_conn': Select by conn; 'select_client_fail': Select failed; 'select_server_conn': Server conn selection; 'select_server_by_req': Select by request; 'select_server_from_list': Select by roundbin; 'select_server_by_conn': Select server conn by client conn; 'select_server_fail': Fail to select server conn; 'bind_conn': some help string; 'unbind_conn': some help string; 'enquire_link_recv': some help string; 'enquire_link_resp_recv': some help string; 'enquire_link_send': some help string; 'enquire_link_resp_send': some help string; 'client_conn_put_in_list': some help string; 'client_conn_get_from_list': some help string; 'server_conn_put_in_list': some help string; 'server_conn_get_from_list': some help string; 'server_conn_fail_bind': some help string; 'single_msg': some help string; 'fail_bind_msg': fail_bind_msg; 

        **Type:** string

        **Supported Values:** all, msg_proxy_current, msg_proxy_total, msg_proxy_mem_allocd, msg_proxy_mem_cached, msg_proxy_mem_freed, msg_proxy_client_recv, msg_proxy_client_send_success, msg_proxy_client_incomplete, msg_proxy_client_drop, msg_proxy_client_connection, msg_proxy_client_fail, msg_proxy_client_fail_parse, msg_proxy_client_fail_process, msg_proxy_client_fail_snat, msg_proxy_client_exceed_tmp_buff, msg_proxy_client_fail_send_pkt, msg_proxy_client_fail_start_server_Conn, msg_proxy_server_recv, msg_proxy_server_send_success, msg_proxy_server_incomplete, msg_proxy_server_drop, msg_proxy_server_fail, msg_proxy_server_fail_parse, msg_proxy_server_fail_process, msg_proxy_server_fail_selec_connt, msg_proxy_server_fail_snat, msg_proxy_server_exceed_tmp_buff, msg_proxy_server_fail_send_pkt, msg_proxy_create_server_conn, msg_proxy_start_server_conn, msg_proxy_fail_start_server_conn, msg_proxy_server_conn_fail_snat, msg_proxy_fail_construct_server_conn, msg_proxy_fail_reserve_pconn, msg_proxy_start_server_conn_failed, msg_proxy_server_conn_already_exists, msg_proxy_fail_insert_server_conn, msg_proxy_parse_msg_fail, msg_proxy_process_msg_fail, msg_proxy_no_vport, msg_proxy_fail_select_server, msg_proxy_fail_alloc_mem, msg_proxy_unexpected_err, msg_proxy_l7_cpu_failed, msg_proxy_l4_to_l7, msg_proxy_l4_from_l7, msg_proxy_to_l4_send_pkt, msg_proxy_l4_from_l4_send, msg_proxy_l7_to_L4, msg_proxy_mag_back, msg_proxy_fail_dcmsg, msg_proxy_deprecated_conn, msg_proxy_hold_msg, msg_proxy_split_pkt, msg_proxy_pipline_msg, msg_proxy_client_reset, msg_proxy_server_reset, payload_allocd, payload_freed, pkt_too_small, invalid_seq, AX_response_directly, select_client_conn, select_client_by_req, select_client_from_list, select_client_by_conn, select_client_fail, select_server_conn, select_server_by_req, select_server_from_list, select_server_by_conn, select_server_fail, bind_conn, unbind_conn, enquire_link_recv, enquire_link_resp_recv, enquire_link_send, enquire_link_resp_send, client_conn_put_in_list, client_conn_get_from_list, server_conn_put_in_list, server_conn_get_from_list, server_conn_fail_bind, single_msg, fail_bind_msg