Revision f351ad77

b/qa/qa_rapi.py
518 518
    ("/2/nodes?bulk=1", _VerifyNodesBulk, "GET", None),
519 519
    ])
520 520

  
521
  # Not parameters of the node, but controlling opcode behavior
522
  LEGITIMATELY_MISSING = ["force", "powered"]
523
  # Identifying the node - RAPI provides these itself
524
  IDENTIFIERS = ["node_name", "node_uuid"]
525
  # As the name states, these can be set but not retrieved yet
526
  NOT_EXPOSED_YET = ["hv_state", "disk_state", "auto_promote"]
527

  
528
  _DoGetPutTests("/2/nodes/%s" % node.primary,
529
                 "/2/nodes/%s/modify" % node.primary,
530
                 opcodes.OpNodeSetParams.OP_PARAMS,
531
                 modify_method="POST",
532
                 exceptions=(LEGITIMATELY_MISSING + NOT_EXPOSED_YET +
533
                             IDENTIFIERS))
534

  
521 535

  
522 536
def _FilterTags(seq):
523 537
  """Removes unwanted tags from a sequence.

Also available in: Unified diff