Revision 8c35561f lib/opcodes.py

b/lib/opcodes.py
1 1
#
2 2
#
3 3

  
4
# Copyright (C) 2006, 2007 Google Inc.
4
# Copyright (C) 2006, 2007, 2008, 2009, 2010 Google Inc.
5 5
#
6 6
# This program is free software; you can redistribute it and/or modify
7 7
# it under the terms of the GNU General Public License as published by
......
440 440
  OP_DSC_FIELD = "node_name"
441 441
  __slots__ = [
442 442
    "node_name",
443
    "live",
443
    "mode",
444 444
    ]
445 445

  
446 446

  
......
559 559
  node.
560 560

  
561 561
  @ivar instance_name: the name of the instance
562
  @ivar mode: the migration mode (live, non-live or None for auto)
562 563

  
563 564
  """
564 565
  OP_ID = "OP_INSTANCE_MIGRATE"
565 566
  OP_DSC_FIELD = "instance_name"
566
  __slots__ = ["instance_name", "live", "cleanup"]
567
  __slots__ = ["instance_name", "mode", "cleanup"]
567 568

  
568 569

  
569 570
class OpMoveInstance(OpCode):

Also available in: Unified diff