mashups¶
boto.mashups¶
boto.mashups.interactive¶
-
boto.mashups.interactive.interactive_shell(chan)¶
-
boto.mashups.interactive.posix_shell(chan)¶
-
boto.mashups.interactive.windows_shell(chan)¶
boto.mashups.iobject¶
-
class
boto.mashups.iobject.IObject¶ -
choose_from_list(item_list, search_str='', prompt='Enter Selection')¶
-
get_filename(prompt)¶
-
get_int(prompt)¶
-
get_string(prompt, validation_fn=None)¶
-
-
boto.mashups.iobject.int_val_fn(v)¶
boto.mashups.order¶
boto.mashups.server¶
High-level abstraction of an EC2 server
-
class
boto.mashups.server.Server(id=None, **kw)¶ -
classmethod
Inventory()¶ Returns a list of Server instances, one for each Server object persisted in the db
-
classmethod
Register(name, instance_id, description='')¶
-
ami¶ The AMI for the server
-
ami_id= None¶
-
attach_volume(volume, device='/dev/sdp')¶ Attach an EBS volume to this server
Parameters: - volume (boto.ec2.volume.Volume) – EBS Volume to attach
- device (string) – Device to attach to (default to /dev/sdp)
-
bundle_image(prefix, key_file, cert_file, size)¶
-
config¶ The instance data for this server
-
config_uri= None¶
-
console_output¶ Retrieve the console output for server
-
create_image(bucket=None, prefix=None, key_file=None, cert_file=None, size=None)¶
-
description= None¶
-
detach_volume(volume)¶ Detach an EBS volume from this server
Parameters: volume (boto.ec2.volume.Volume) – EBS Volume to detach
-
ec2¶
-
elastic_ip= None¶
-
getAMI()¶
-
getConfig()¶
-
getConsoleOutput()¶
-
getGroups()¶
-
getHostname()¶
-
getInstance()¶
-
getLaunchTime()¶
-
getPrivateHostname()¶
-
getStatus()¶
-
get_file(remotepath, localpath)¶
-
get_ssh_client(key_file=None, host_key_file='~/.ssh/known_hosts', uname='root')¶
-
groups¶ The Security Groups controlling access to this server
-
hostname¶ The public DNS name of the server
-
install_package(package_name)¶
-
instance¶ The Instance for the server
-
instance_id= None¶
-
instance_type= None¶
-
key_name= None¶
-
launch_time¶ The time the Server was started
-
listdir(remotepath)¶
-
load_config()¶
-
log= None¶
-
name= None¶
-
private_hostname¶ The private DNS name of the server
-
put_file(localpath, remotepath)¶
-
reboot()¶
-
security_group= None¶
-
setConfig(config)¶
-
setReadOnly(value)¶
-
set_config(config)¶ Set SDB based config
-
shell(key_file=None)¶
-
start()¶
-
status¶ The status of the server
-
stop()¶
-
upload_bundle(bucket, prefix)¶
-
zone= None¶
-
classmethod