.. _snmp_server_enable_traps_scaleout_infrastructure: snmp-server enable traps scaleout infrastructure ================================================ Enable Intrastructure group traps infrastructure Specification ---------------------------- ===================================== ========================================================================================= **Parameter** **Value** ===================================== ========================================================================================= **Type** *Configuration Resource* **Element Name** infrastructure **Element URI** /axapi/v3/snmp-server/enable/traps/scaleout/infrastructure **Element Attributes** infrastructure_attributes **Partition Visibility** shared **Schema** :download:`infrastructure schema <snmp-server-enable-traps-scaleout-infrastructure/snmp-server-enable-traps-scaleout-infrastructure.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/snmp-server/enable/traps/scaleout/infrastructure .. raw:: html </td><td valign = 'top'> :ref:`3095_infrastructure_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/snmp_server_enable_traps_scaleout_infrastructure_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/snmp-server/enable/traps/scaleout/infrastructure .. raw:: html </td><td valign = 'top'> :ref:`3095_infrastructure_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/snmp_server_enable_traps_scaleout_infrastructure_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/snmp-server/enable/traps/scaleout/infrastructure .. raw:: html </td><td valign = 'top'> :ref:`3095_infrastructure_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/snmp-server/enable/traps/scaleout/infrastructure .. raw:: html </td><td valign = 'top'> :ref:`3095_infrastructure_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/snmp_server_enable_traps_scaleout_infrastructure_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/snmp-server/enable/traps/scaleout/infrastructure .. raw:: html </td><td valign = 'top'> :ref:`3095_infrastructure_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/snmp_server_enable_traps_scaleout_infrastructure_DELETE.txt :literal: .. raw:: html </div></td></tr> .. raw:: html </table> .. _3095_infrastructure_attributes: infrastructure attributes ------------------------- **all** **Description** Enable all infra traps **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **cluster** **Description:** cluster is a **JSON Block**. Please see below for :ref:`3095_cluster` **Type:** Object **Reference Object:** :doc:`/axapi/v3/snmp-server/enable/traps/scaleout/infrastructure/cluster <snmp_server_enable_traps_scaleout_infrastructure_cluster>` **master-node** **Description:** master-node is a **JSON Block**. Please see below for :ref:`3095_master-node` **Type:** Object **Reference Object:** :doc:`/axapi/v3/snmp-server/enable/traps/scaleout/infrastructure/master-node <snmp_server_enable_traps_scaleout_infrastructure_master_node>` **service-node** **Description:** service-node is a **JSON Block**. Please see below for :ref:`3095_service-node` **Type:** Object **Reference Object:** :doc:`/axapi/v3/snmp-server/enable/traps/scaleout/infrastructure/service-node <snmp_server_enable_traps_scaleout_infrastructure_service_node>` **test-send-all-traps** **Description** Send all infra traps **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _3095_service-node: service-node ^^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **local-device-disabled** **Description** Enable local device disabled trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **service-master** **Description** Enable service-master trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **traffic-map-update** **Description** Enable traffic map update trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _3095_cluster: cluster ^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **election** **Description** Enable election status trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **master-calling-re-election** **Description** Enable re-election trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **node-status** **Description** Enable active node status trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _3095_master-node: master-node ^^^^^^^^^^^ =============================== =================================================== **Specification** **Value** =============================== =================================================== **Type** *object* =============================== =================================================== **traffic-map-distribution** **Description** Enable Traffic-map distribution trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters **vserver-traffic-map-update** **Description** Enable VServer Traffic-map trap **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0