blob: bc551c642e18375f28f1ac327faf79be690e67f9 (
plain)
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
|
---
metadata:
version: "1.0"
schemas:
# schema name
vduCpuRequirements:
# hpa key name
cpuModelSpecificationBinding:
# json encoded key name: reg expression for the valid value
schema-version: &any r'.*'
schema-location: *any
platform-id: &generic r'generic'
mandatory: &bool r'true|false|TRUE|FALSE|True|False'
configuration-value: r'strictBinding|equalOrBetterBinding'
instructionSetRequirements:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
simultaneousMultiThreading:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'enabled|disabled'
hypervisorConfiguration:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
computeRas:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'pciDetectedAndCorrectedErrors|pciDetectedAndUncorrectedErrors'
cpuModel:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
directIoAccessToCache:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
accelerator:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
measuredLaunchEnvironment:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
secureEnclave:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
numVirtualCpu:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+'
virtualCpuClock:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+\w*(Hz|kHz|MHz|GHz)'
logicalCpuPinningPolicy:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'dedicated|shared'
logicalCpuThreadPinningPolicy:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'require|isolate|prefer'
vduMemRequirements:
memoryPageSize:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+\w*(B|kB|KB|KiB|MB|MiB|GB|GiB|TB|TiB)'
numberOfPages:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+'
memoryAllocationPolicy:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'strictLocalAffinity|preferredLocalAffinity'
memoryType:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
memorySpeed:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
memoryRas:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
memoryBandwidth:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+'
processorCacheAllocationType:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
processorCacheAllocationSize:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
vduStorageRequirements:
storageIops:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+'
storageResilencyMechanism:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'erasure|tripleReplication'
processorCacheAllocationSize:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
processorCacheAllocationSize:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
logicalNodeComputeMemoryRequirements:
numberCpu:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+'
localNumaMemorySize:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+\w*(B|kB|KB|KiB|MB|MiB|GB|GiB|TB|TiB)'
logicalNodeIoRequirements:
pciVendorId:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
pciDeviceId:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
pciNumDevices:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'\d+'
pciAddress:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
pciDeviceLocalToNumaNode:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'required|notRequired'
networkInterfaceRequirements:
nicFeature:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
dataProcessingAccelerationLibray:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'DPDK'
dataProcessingAccelerationLibrayVersion:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: *any
interfaceType:
schema-version: *any
schema-location: *any
platform-id: *generic
mandatory: *bool
configuration-value: r'virtio|PCI-Passthrough|SR-IOV|E1000|RTL8139|PCNET'
mappings:
# mapping between property value of a tosca node type and the valid hpa schema
# type: tosca node type
# key: prop1##prop2##...##propN
# Property hierachy within that node type. Prefix of '(capability:)'
# in propI means the value is from capability instead of property.
# Suffix '[] in propI means the value is a list of propI+1.
# schema: schema defined in the above schemas section
- type: tosca.nodes.nfv.Vdu.Compute
key: capability:virtual_compute##logical_node##logical_node_requirements
schema: logicalNodeComputeMemoryRequirements
- type: tosca.nodes.nfv.Vdu.Compute
key: capability:virtual_compute##virtual_cpu##vdu_cpu_requirements
schema: vduCpuRequirements
- type: tosca.nodes.nfv.Vdu.Compute
key: capability:virtual_compute##virtual_memory##vdu_memory_requirements
schema: vduCpuRequirements
- type: tosca.nodes.nfv.Vdu.VirtualStorage
key: vdu_storage_requirements
schema: vduStorageRequirements
- type: tosca.nodes.nfv.VduCp
key: virtual_network_interface_requirements[]##network_interface_requirements##logical_node_requirements
schema: networkInterfaceRequirements
- type: tosca.nodes.nfv.VduCp
key: virtual_network_interface_requirements[]##nic_io_requirements##logical_node_requirements
schema: logicalNodeIoRequirements
|