예제 #1
0
파일: ec2.py 프로젝트: nachandr/mgmtsystem
    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()
예제 #2
0
파일: ec2.py 프로젝트: nachandr/mgmtsystem
    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()
예제 #3
0
파일: ec2.py 프로젝트: nachandr/mgmtsystem
    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()
예제 #4
0
 def wait_vm_suspended(self, vm_name, num_sec):
     raise ActionNotSupported('vm_suspend not supported.')
예제 #5
0
 def suspend_vm(self, vm_name):
     raise ActionNotSupported('vm_suspend not supported.')