robottelo.system_facts
¶
JSON representation for a RHEL server.
Module Contents¶
Functions¶
Generate a random date for system’s BIOS between |
|
|
Generate random system facts for registration. |
Attributes¶
- robottelo.system_facts._bios_date()¶
Generate a random date for system’s BIOS between today and 10 years ago.
- Returns
A random datetime.date that falls within the last 10 years from today.
- Return type
object
- robottelo.system_facts.ARCHITECTURES = ['i386', 'x86_64', 'ppc', 's390x']¶
- robottelo.system_facts.DISTRO_IDS¶
- robottelo.system_facts.MEMORY_CAPACITY = ['2 GB', '4 GB', '8 GB', '16 GB']¶
- robottelo.system_facts.MEMORY_SIZE = ['1024 MB', '2048 MB', '4096 MB', '8192 MB']¶
- robottelo.system_facts.SYSTEM_FACTS¶
- robottelo.system_facts.generate_system_facts(name=None)¶
Generate random system facts for registration.
- Parameters
name (str) – A valid FQDN for a system. If one is not provided, then a random value will be generated.
- Returns
A dictionary with random system facts
- Return type
dict