ec2_instance.py: Add CpuOptions to EC2 (#43799)

* ec2_instance.py: Add CpuOptions to EC2

* ec2_instance_facts.py: Add CpuOptions to EC2 facts

* ec2_instance.py: LooseVersion and pylint indentation

* Implement nested cpu_options dict

* Fix botocore required version

* ec2_instance: Split integration tests to add executions with old botocore versions

* Ensure runme.sh is executable
This commit is contained in:
Julien PRIGENT 2018-08-20 11:49:00 +01:00 committed by Will Thames
commit 3921f34253
16 changed files with 197 additions and 7 deletions

View file

@ -113,6 +113,21 @@ instances:
returned: always
type: string
sample: vol-12345678
cpu_options:
description: The CPU options set for the instance.
returned: always if botocore version >= 1.10.16
type: complex
contains:
core_count:
description: The number of CPU cores for the instance.
returned: always
type: int
sample: 1
threads_per_core:
description: The number of threads per CPU core. On supported instance, a value of 1 means Intel Hyper-Threading Technology is disabled.
returned: always
type: int
sample: 1
client_token:
description: The idempotency token you provided when you launched the instance, if applicable.
returned: always