addHAStatus

The addHAStatus operation handles configuration related to HAStatus model. 

Description

Restores a failed unit to an unfailed state.

Data Parameters

Parameter Required Type Description
nodeRole False string The node role will map to node role configured in HAConfiguration
nodeState False string The current node state fetched from Lina
peerNodeState False string The peer node's state fetched from Lina
configStatus False string
haHealthStatus False string
disabledReason False string The reason for HA failure obtained from failover history if there is any else will be empty
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
disabledTimestamp False string UTC time when the node state changed to Failed/Suspended/Disabled state
Field level constraints: must match pattern ^((?!;).)*$. (Note: Additional constraints might exist)
type True string A UTF8 string, all letters lower-case, that represents the class-type. This corresponds to the class name.

Example

- name: Execute 'addHAStatus' operation
  ftd_configuration:
    operation: "addHAStatus"
    data:
        nodeRole: "{{ node_role }}"
        nodeState: "{{ node_state }}"
        peerNodeState: "{{ peer_node_state }}"
        configStatus: "{{ config_status }}"
        haHealthStatus: "{{ ha_health_status }}"
        disabledReason: "{{ disabled_reason }}"
        disabledTimestamp: "{{ disabled_timestamp }}"
        type: "{{ type }}"