Revision aa922d64 lib/constants.py

b/lib/constants.py
2435 2435
# The version identifier for builtin data collectors
2436 2436
BUILTIN_DATA_COLLECTOR_VERSION = "B"
2437 2437

  
2438
# The source reasons for the change of state of an instance
2439
INSTANCE_REASON_SOURCE_CLI = "cli"
2440
INSTANCE_REASON_SOURCE_RAPI = "rapi"
2441
INSTANCE_REASON_SOURCE_UNKNOWN = "unknown"
2442

  
2443
INSTANCE_REASON_SOURCES = compat.UniqueFrozenset([
2444
  INSTANCE_REASON_SOURCE_CLI,
2445
  INSTANCE_REASON_SOURCE_RAPI,
2446
  INSTANCE_REASON_SOURCE_UNKNOWN,
2447
  ])
2448

  
2449
# The default reasons for the change of state of an instance
2450
INSTANCE_REASON_REBOOT = "reboot"
2451

  
2452 2438
# Do not re-export imported modules
2453 2439
del re, _vcsversion, _autoconf, socket, pathutils, compat

Also available in: Unified diff