# Sample health policy based on node health checking 
type: senlin.policy.health
version: 1.0
description: A policy for maintaining node health from a cluster.
properties:
  detection:
    # Type for health checking, valid values include:
    # NODE_STATUS_POLLING, LB_STATUS_POLLING, VM_EVENT_LISTENING
    type: NODE_STATUS_POLLING

    options:
      # Number of seconds between two adjacent checking
      interval: 60

  recovery:
    # List of actions that can be retried on a failed node
    actions:
      - REBOOT
      - REBUILD
      - MIGRATE 
      - EVACUATE
      - RECREATE

    # List of services that are to be fenced
    fencing:
      - COMPUTE 
      - STORAGE 
      - NETWORK
