Revision a6070ef7 lib/constants.py

b/lib/constants.py
978 978
  QFT_OTHER,
979 979
  ])
980 980

  
981
# Query result field status (don't change values as they're used by clients)
981
# Query result field status (don't change or reuse values as they're used by
982
# clients)
982 983
#: Normal field status
983 984
QRFS_NORMAL = 0
984 985
#: Unknown field
985 986
QRFS_UNKNOWN = 1
986
#: No data (e.g. node offline)
987
#: No data (e.g. RPC error), can be used instead of L{QRFS_OFFLINE}
987 988
QRFS_NODATA = 2
988 989
#: Value unavailable for item
989 990
QRFS_UNAVAIL = 3
991
#: Resource marked offline
992
QRFS_OFFLINE = 4
990 993

  
991 994
QRFS_ALL = frozenset([
992 995
  QRFS_NORMAL,
993 996
  QRFS_UNKNOWN,
994 997
  QRFS_NODATA,
995 998
  QRFS_UNAVAIL,
999
  QRFS_OFFLINE,
996 1000
  ])
997 1001

  
998 1002
# max dynamic devices

Also available in: Unified diff