mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
Surround top-level function and class definitions with two blank lines.
This commit is contained in:
parent
9e310558ee
commit
b954917761
373 changed files with 408 additions and 28 deletions
|
@ -1026,6 +1026,7 @@ def create_exact_count_of_vms(module, client, template_id, exact_count, attribut
|
|||
|
||||
return changed, instances_list, tagged_instances_list
|
||||
|
||||
|
||||
VM_STATES = ['INIT', 'PENDING', 'HOLD', 'ACTIVE', 'STOPPED', 'SUSPENDED', 'DONE', '', 'POWEROFF', 'UNDEPLOYED', 'CLONING', 'CLONING_FAILURE']
|
||||
LCM_STATES = ['LCM_INIT', 'PROLOG', 'BOOT', 'RUNNING', 'MIGRATE', 'SAVE_STOP',
|
||||
'SAVE_SUSPEND', 'SAVE_MIGRATE', 'PROLOG_MIGRATE', 'PROLOG_RESUME',
|
||||
|
@ -1175,6 +1176,7 @@ def check_name_attribute(module, attributes):
|
|||
module.fail_json(msg="Ilegal 'NAME' attribute: '" + attributes.get("NAME") +
|
||||
"' .Signs '#' are allowed only at the end of the name and the name cannot contain only '#'.")
|
||||
|
||||
|
||||
TEMPLATE_RESTRICTED_ATTRIBUTES = ["CPU", "VCPU", "OS", "FEATURES", "MEMORY", "DISK", "NIC", "INPUT", "GRAPHICS",
|
||||
"CONTEXT", "CREATED_BY", "CPU_COST", "DISK_COST", "MEMORY_COST",
|
||||
"TEMPLATE_ID", "VMID", "AUTOMATIC_DS_REQUIREMENTS", "DEPLOY_FOLDER", "LABELS"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue