diff options
| author | Dan Prince <dan.prince@rackspace.com> | 2011-04-06 15:42:24 -0400 |
|---|---|---|
| committer | Dan Prince <dan.prince@rackspace.com> | 2011-04-06 15:42:24 -0400 |
| commit | 7ef28c854fa386ee1aa64aaa22c3ef026094f40a (patch) | |
| tree | 7742e2401a4814663023422307c007d243d7b68c | |
| parent | b7f6deae7e3439c9e12bb54fcd18d9b06d5c1dce (diff) | |
| download | nova-7ef28c854fa386ee1aa64aaa22c3ef026094f40a.tar.gz nova-7ef28c854fa386ee1aa64aaa22c3ef026094f40a.tar.xz nova-7ef28c854fa386ee1aa64aaa22c3ef026094f40a.zip | |
YADU (Yet Another Docstring Update).
| -rw-r--r-- | nova/compute/api.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/nova/compute/api.py b/nova/compute/api.py index 790c205c0..af212ed32 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -135,8 +135,11 @@ class API(base.Base): key_name=None, key_data=None, security_group='default', availability_zone=None, user_data=None, metadata={}, injected_files=None): - """Create the number of instances requested if quota and - other arguments check out ok.""" + """Create number of instances requested, given quotas. + + Create the number of instances requested if quota and + other arguments check out ok. + """ type_data = instance_types.get_instance_type(instance_type) num_instances = quota.allowed_instances(context, max_count, type_data) |
