.. _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
OperationMethodURIPayload
Create Object .. raw:: html POST .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`724_fail-safe_attributes` .. raw:: html
Get Object .. raw:: html GET .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`724_fail-safe_attributes` .. raw:: html
Modify Object .. raw:: html POST .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`724_fail-safe_attributes` .. raw:: html
Replace Object .. raw:: html PUT .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`724_fail-safe_attributes` .. raw:: html
Delete Object .. raw:: html DELETE .. raw:: html /axapi/v3/fail-safe .. raw:: html :ref:`724_fail-safe_attributes` .. raw:: html
.. _724_fail-safe_attributes: fail-safe attributes -------------------- **config** **Description:** config is a **JSON Block**. Please see below for :ref:`724_config` **Type:** Object **Reference Object:** :doc:`/axapi/v3/fail-safe/config ` **dataplane-recovery-timeout** **Description** dataplane hung detection timeout before ACOS is restarted (in seconds) **Type:** number **Range:** 1-30 **Default:** 5 **disable-failsafe** **Description:** disable-failsafe is a **JSON Block**. Please see below for :ref:`724_disable-failsafe` **Type:** Object **Reference Object:** :doc:`/axapi/v3/fail-safe/disable-failsafe ` **fpga-buff-recovery-threshold** **Description** FPGA buffers recovery threshold (Units of 256 buffers (default 2)) **Type:** number **Range:** 1-10 **Default:** 2 **fpga-monitor-enable** **Description** FPGA monitor feature enable **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **fpga-monitor-forced-reboot** **Description** FPGA monitor forced reboot in error condition **Type:** boolean **Supported Values:** true, false, 1, 0 **Default:** 0 **fpga-monitor-interval** **Description** FPGA monitor packet interval (seconds) (Numbers of seconds between sending packets (default 1)) **Type:** number **Range:** 1-60 **Default:** 1 **fpga-monitor-threshold** **Description** FPGA monitor packet missed for error condition (Numbers of missed monitor packets before setting error condition (default 3)) **Type:** number **Range:** 3-60 **Default:** 3 **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 **hw-ssl-timeout-monitor** **Description** 'hw-ssl-timeout-monitor-disable': Disable fail-safe hardware SSL timeout monitor; 'hw-ssl-timeout-monitor-enable': Enable fail-safe hardware SSL timeout monitor; **Type:** string **Supported Values:** hw-ssl-timeout-monitor-disable, hw-ssl-timeout-monitor-enable **Default:** hw-ssl-timeout-monitor-enable **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 **session-mem-recovery-threshold** **Description** Session memory recovery threshold (percentage) (Percentage of available session memory (default 30%)) **Type:** number **Range:** 1-100 **Default:** 30 **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 .. _724_disable-failsafe: disable-failsafe ^^^^^^^^^^^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *object* =============================== =================================================== **action** **Description** 'all': Disable All; 'io-buffer': Disable I/O Buffer; 'session-memory': Disable Session Memory; 'system-memory': Disable System Memory; **Type:** string **Supported Values:** all, io-buffer, session-memory, system-memory **Default:** all **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _724_config: config ^^^^^^ =============================== =================================================== **Specification** =============================== =================================================== **Type** *object* =============================== =================================================== **uuid** **Description** uuid of the object **Type:** string **Maximum Length:** 64 characters **Maximum Length:** 1 characters .. _724_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 * - - fpga_stats_iochan - - fpga_stats_iochan * - - total_free_fpga_buff - number - total_free_fpga_buff * - - total_fpga_buffers - number - total_fpga_buffers * - - free_fpga_buffers - number - free_fpga_buffers * - - fpga_stats_num_cntrs - number - fpga_stats_num_cntrs * - - 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