'Set the root/admin password on the VM instance.'

def set_admin_password(self, instance, new_pass):

    if self.agent_enabled(instance):
        vm_ref = self._get_vm_opaque_ref(instance)
        agent = self._get_agent(instance, vm_ref)
        agent.set_admin_password(new_pass)
    else:
        raise NotImplementedError()
