.. _fail_safe: fail-safe ========= Fail Safe Global Commands fail-safe Specification ----------------------- ===================================== ================================================== ===================================== ================================================== **Type** *Configuration Resource* **Element Name** fail-safe **Element URI** /axapi/v3/fail-safe **Element Attributes** fail-safe_attributes **Operational Data URI** /axapi/v3/fail-safe/oper **Schema** :download:`fail-safe schema ` ===================================== ================================================== **Operations Allowed:** .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html .. raw:: html
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`932_fail-safe_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`932_fail-safe_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`932_fail-safe_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`932_fail-safe_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`932_fail-safe_attributes` .. raw:: html
.. _932_fail-safe_attributes: fail-safe attributes -------------------- **config** **Description:** config is a **JSON Block**. Please see below for :ref:`932_config` **Type:** Object **Refernce Object:** :doc:`/axapi/v3/fail-safe/config ` **fpga-buff-recovery-threshold** **Description** FPGA buffers recovery threshold (Units of 256 buffers (default 2)) **Type:** number **Range:** 1-10 **Default:** 2 **hw-error-monitor** **Description** 'hw-error-monitor-disable': Disable fail-safe hardware error monitor; 'hw-error-monitor-enable': Enable fail-safe hardware error monitor; **Type:** string **Supported Values:** hw-error-monitor-disable, hw-error-monitor-enable **Default:** hw-error-monitor-enable **hw-error-recovery-timeout** **Description** Hardware error recovery timeout (minutes) (waiting time of recovery from hardware errors (default 0)) **Type:** number **Range:** 1-1440 **kill** **Description** Stop the traffic and log the event **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** kill and log are mutually exclusive **log** **Description** Log the event **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **Mutual Exclusion:** log and kill are mutually exclusive **sw-error-monitor-enable** **Description** Enable fail-safe software error monitor **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **sw-error-recovery-timeout** **Description** Software error recovery timeout (minutes) (waiting time of recovery from software errors (default 3)) **Type:** number **Range:** 1-1440 **Default:** 3 **total-memory-size-check** **Description** Check total memory size of current system (Size of memory (GB)) **Type:** number **Range:** 1-256 **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _932_config: config ^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *object* =============================== =================================================== **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _932_oper_data: operational data ---------------- .. list-table:: :widths: 10 20 30 80 :header-rows: 2 :stub-columns: 1 * - - Counter - Size - Description * - - - - * - - total_system_memory - number - total_system_memory * - - total_free_fpga_buff - number - total_free_fpga_buff * - - total_fpga_buffers - number - total_fpga_buffers * - - free_fpga_buffers - number - free_fpga_buffers * - - free_session_memory - number - free_session_memory * - - avail_fpga_buff_domain1 - number - avail_fpga_buff_domain1 * - - avail_fpga_buff_domain2 - number - avail_fpga_buff_domain2 * - - total_session_memory - number - total_session_memory * - - fpga_buff_recovery_threshold - number - fpga_buff_recovery_threshold * - - sess_mem_recovery_threshold - number - sess_mem_recovery_threshold