Skip to content
This repository has been archived by the owner on Feb 2, 2018. It is now read-only.

Commit

Permalink
constants: Added host statuses.
Browse files Browse the repository at this point in the history
  • Loading branch information
ashcrow authored and mbarnes committed Mar 16, 2017
1 parent d0e69d4 commit 4e3f8b1
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/commissaire/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,12 @@
CLUSTER_STATUS_DEGRADED = 'degraded'
CLUSTER_STATUS_FAILED = 'failed'

# Host Statuses
HOST_STATUS_INVESTIGATING = 'investigating'
HOST_STATUS_BOOTSTRAPPING = 'bootstrapping'
HOST_STATUS_ACTIVE = 'active'
HOST_STATUS_FAILED = 'failed'

# JSONRPC error codes
JSONRPC_ERRORS = {
'INVALID_JSON': -32700,
Expand Down

0 comments on commit 4e3f8b1

Please sign in to comment.