Exemplo n.º 1
0
    def wait_vm_suspended(self, instance_id, num_sec):
        """We would wait forever - EC2 doesn't support this.

        Args:
            instance_id: ID of the instance to wait for
        Raises:
            ActionNotSupported: The action is not supported on the system
        """
        raise ActionNotSupported()
Exemplo n.º 2
0
    def is_vm_suspended(self, instance_id):
        """Is the VM suspended? We'll never know because EC2 don't support this.

        Args:
            instance_id: ID of the instance to inspect
        Raises:
            ActionNotSupported: The action is not supported on the system
        """
        raise ActionNotSupported()
Exemplo n.º 3
0
    def suspend_vm(self, instance_id):
        """Suspend a VM: Unsupported by EC2

        Args:
            instance_id: ID of the instance to act on
        Raises:
            ActionNotSupported: The action is not supported on the system
        """
        raise ActionNotSupported()
Exemplo n.º 4
0
 def wait_vm_suspended(self, vm_name, num_sec):
     raise ActionNotSupported('vm_suspend not supported.')
Exemplo n.º 5
0
 def suspend_vm(self, vm_name):
     raise ActionNotSupported('vm_suspend not supported.')