Revision 885a0fc4 lib/client/gnt_instance.py

b/lib/client/gnt_instance.py
692 692
  """
693 693
  op = opcodes.OpInstanceStartup(instance_name=name,
694 694
                                 force=opts.force,
695
                                 ignore_offline_nodes=opts.ignore_offline)
695
                                 ignore_offline_nodes=opts.ignore_offline,
696
                                 no_remember=opts.no_remember)
696 697
  # do not add these parameters to the opcode unless they're defined
697 698
  if opts.hvparams:
698 699
    op.hvparams = opts.hvparams
......
731 732
  """
732 733
  return opcodes.OpInstanceShutdown(instance_name=name,
733 734
                                    timeout=opts.timeout,
734
                                    ignore_offline_nodes=opts.ignore_offline)
735
                                    ignore_offline_nodes=opts.ignore_offline,
736
                                    no_remember=opts.no_remember)
735 737

  
736 738

  
737 739
def ReplaceDisks(opts, args):
......
1457 1459
    [m_node_opt, m_pri_node_opt, m_sec_node_opt, m_clust_opt,
1458 1460
     m_node_tags_opt, m_pri_node_tags_opt, m_sec_node_tags_opt,
1459 1461
     m_inst_tags_opt, m_inst_opt, m_force_multi, TIMEOUT_OPT, SUBMIT_OPT,
1460
     DRY_RUN_OPT, PRIORITY_OPT, IGNORE_OFFLINE_OPT],
1462
     DRY_RUN_OPT, PRIORITY_OPT, IGNORE_OFFLINE_OPT, NO_REMEMBER_OPT],
1461 1463
    "<instance>", "Stops an instance"),
1462 1464
  'startup': (
1463 1465
    GenericManyOps("startup", _StartupInstance), [ArgInstance()],
1464 1466
    [FORCE_OPT, m_force_multi, m_node_opt, m_pri_node_opt, m_sec_node_opt,
1465 1467
     m_node_tags_opt, m_pri_node_tags_opt, m_sec_node_tags_opt,
1466 1468
     m_inst_tags_opt, m_clust_opt, m_inst_opt, SUBMIT_OPT, HVOPTS_OPT,
1467
     BACKEND_OPT, DRY_RUN_OPT, PRIORITY_OPT, IGNORE_OFFLINE_OPT],
1469
     BACKEND_OPT, DRY_RUN_OPT, PRIORITY_OPT, IGNORE_OFFLINE_OPT,
1470
     NO_REMEMBER_OPT],
1468 1471
    "<instance>", "Starts an instance"),
1469 1472
  'reboot': (
1470 1473
    GenericManyOps("reboot", _RebootInstance), [ArgInstance()],

Also available in: Unified diff