Revision 88f8f0f7 tools/burnin

b/tools/burnin
552 552
      if self.opts.iallocator:
553 553
        pnode = snode = None
554 554
        msg = "with iallocator %s" % self.opts.iallocator
555
      elif self.opts.disk_template not in constants.DTS_NET_MIRROR:
555
      elif self.opts.disk_template not in constants.DTS_INT_MIRROR:
556 556
        snode = None
557 557
        msg = "on %s" % pnode
558 558
      else:
......
700 700
        import_log_msg = ("import from %s"
701 701
                          " with iallocator %s" %
702 702
                          (enode, self.opts.iallocator))
703
      elif self.opts.disk_template not in constants.DTS_NET_MIRROR:
703
      elif self.opts.disk_template not in constants.DTS_INT_MIRROR:
704 704
        snode = None
705 705
        import_log_msg = ("import from %s to %s" %
706 706
                          (enode, pnode))
......
990 990
    has_err = True
991 991
    try:
992 992
      self.BurnCreateInstances()
993
      if opts.do_replace1 and opts.disk_template in constants.DTS_NET_MIRROR:
993
      if opts.do_replace1 and opts.disk_template in constants.DTS_INT_MIRROR:
994 994
        self.BurnReplaceDisks1D8()
995 995
      if (opts.do_replace2 and len(self.nodes) > 2 and
996
          opts.disk_template in constants.DTS_NET_MIRROR) :
996
          opts.disk_template in constants.DTS_INT_MIRROR) :
997 997
        self.BurnReplaceDisks2()
998 998

  
999 999
      if (opts.disk_template in constants.DTS_GROWABLE and

Also available in: Unified diff