Package ganeti :: Package rapi :: Module rlib2 :: Class R_2_instances_name_reinstall
[hide private]
[frames] | no frames]

Class R_2_instances_name_reinstall

source code


/2/instances/[instance_name]/reinstall resource.

Implements an instance reinstall.

Nested Classes [hide private]
  POST_OPCODE
Set this to a class derived from opcodes.OpCode to automatically generate a POST handler submitting the opcode

Inherited from baserlib.OpcodeResource: __metaclass__

Instance Methods [hide private]
 
POST(self)
Reinstall an instance.
source code

Inherited from baserlib.ResourceBase: GetClient, SubmitJob, __init__, dryRun, getBodyParameter, useBulk, useForce, useLocking

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]

Inherited from baserlib.OpcodeResource: DELETE_OPCODE, DELETE_RENAME, GET_OPCODE, GET_RENAME, POST_RENAME, PUT_OPCODE, PUT_RENAME

Inherited from baserlib.ResourceBase: DELETE_ACCESS, GET_ACCESS, POST_ACCESS, PUT_ACCESS, request_body

Instance Variables [hide private]

Inherited from baserlib.OpcodeResource: GetDeleteOpInput, GetGetOpInput, GetPostOpInput, GetPutOpInput

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

POST(self)

source code 

Reinstall an instance.

The URI takes os=name and nostartup=[0|1] optional parameters. By default, the instance will be started automatically.