'Creates the Task to power off an LPAR.
:param adapter: The adapter for the pypowervm API
:param instance: The nova instance.
:param force_immediate: Boolean. Perform a VSP hard power off.'

def __init__(self, adapter, instance, force_immediate=False):

    super(PowerOff, self).__init__('pwr_off_vm')
    self.instance = instance
    self.adapter = adapter
    self.force_immediate = force_immediate
