-
Notifications
You must be signed in to change notification settings - Fork 0
/
vmpreferences.py
68 lines (64 loc) · 2.41 KB
/
vmpreferences.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
from langchain.chains.query_constructor.base import AttributeInfo
# Description of the loads prefs
prefs_document_content_description = "description of the Virtual Machine Preferences"
prefs_metadata_field_info = [
AttributeInfo(
name="clock.preferredTimer.hpet.present",
description="Indicates whether HPET timer is required",
type="bool",
),
AttributeInfo(
name="firmware.preferredUseSecureBoot",
description="Indicated whether secure boot should be used",
type="string or list[string]",
),
AttributeInfo(
name="devices.preferredNetworkInterfaceMultiQueue",
description="optionally enables the vhost multiqueue feature for virtio interfaces",
type="bool",
),
AttributeInfo(
name="devices.preferredInputBus",
description="optionally defines the preferred bus for Input devices",
type="string or list[string]",
),
AttributeInfo(
name="name",
description="The name of the virtual machine preference",
type="string or list[string]",
),
AttributeInfo(
name="kind",
description="The kind of the virtual machine preference",
type="string or list[string]",
),
AttributeInfo(
name="devices.preferredInterfaceModel",
description="optionally defines the preferred model to be used by Interface devices",
type="string or list[string]",
),
AttributeInfo(
name="preferredTerminationGracePeriodSeconds",
description="Grace period observed after signalling a VirtualMachineInstance to stop after which the VirtualMachineInstance is force terminated",
type="integer",
),
AttributeInfo(
name="devices.preferredDiskDedicatedIoThread",
description="optionally enables dedicated IO threads for Disk devices",
type="bool",
),
AttributeInfo(
name="requirements.cpu.guest",
description="indicates the minimum number of CPUs required for this preference",
type="integer",
),
AttributeInfo(
name="requirements.memory.guest",
description="indicates the minimum memory size in bytes required for this preference",
type="integer",
),
AttributeInfo(
name="firmware.preferredUseEfi",
description="Indicated whether the EFI boot should be enabled",
type="bool",
),]