+
+ 'reboot': (RebootInstance, ARGS_ANY,
+ [DEBUG_OPT, m_force_multi,
+ make_option("-e", "--extra", dest="extra_args",
+ help="Extra arguments for the instance's kernel",
+ default=None, type="string", metavar="<PARAMS>"),
+ make_option("-t", "--type", dest="reboot_type",
+ help="Type of reboot: soft/hard/full",
+ default=constants.INSTANCE_REBOOT_SOFT,
+ type="string", metavar="<REBOOT>"),
+ make_option("--ignore-secondaries", dest="ignore_secondaries",
+ default=False, action="store_true",
+ help="Ignore errors from secondaries"),
+ m_node_opt, m_pri_node_opt, m_sec_node_opt,
+ m_clust_opt, m_inst_opt,
+ ],
+ "<instance>", "Reboots an instance"),