Package starcluster :: Module volume :: Class VolumeCreator
[hide private]
[frames] | no frames]

Class VolumeCreator

source code


Instance Methods [hide private]
 
__init__(self, cfg, add_to_cfg=False, keypair=None, device='/dev/sdz', image_id='ami-d1c42db8', shutdown_instance=True)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
_request_instance(self, zone) source code
 
_create_volume(self, size, zone) source code
 
_determine_device(self) source code
 
_attach_volume(self, instance_id, device) source code
 
_validate_image(self, image) source code
 
_validate_zone(self, zone) source code
 
_validate_size(self, size) source code
 
_validate_device(self, device) source code
 
validate(self, size, zone, device, image) source code
 
is_valid(self, size, zone, device, image) source code
 
_partition_volume(self) source code
 
_format_volume_partitions(self) source code
 
_load_keypair(self) source code
 
create(self, volume_size, volume_zone) source code

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

Properties [hide private]
  security_group

Inherited from object: __class__

Method Details [hide private]

__init__(self, cfg, add_to_cfg=False, keypair=None, device='/dev/sdz', image_id='ami-d1c42db8', shutdown_instance=True)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)

Property Details [hide private]

security_group

Get Method:
unreachable.security_group(self)