summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 2 spec/im/virtualcpudata.rst
blob: 105614fa6e26b5cbbd6af13572c7367316d3d205 (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
.. Copyright 2018 (China Mobile)
.. This file is licensed under the CREATIVE COMMONS ATTRIBUTION 4.0 INTERNATIONAL LICENSE
.. Full license text at https://creativecommons.org/licenses/by/4.0/legalcode

Class: VirtualCpuData
=====================

+----------------------------------+-----------------------+------------------+-----------------+-------------------------+
| **Attribute Name**               | **Type**              | **Multiplicity** | **Description** | **Applied Stereotypes** |
+==================================+=======================+==================+=================+=========================+
| cpuArchitecture                  | String                | 0..1             | CPU             | support:                |
|                                  |                       |                  | architecture    | MANDATORY               |
|                                  |                       |                  | type.           |                         |
|                                  |                       |                  | Examples        |                         |
|                                  |                       |                  | are x86,        |                         |
|                                  |                       |                  | ARM. The        |                         |
|                                  |                       |                  | cardinality     |                         |
|                                  |                       |                  | can be 0        |                         |
|                                  |                       |                  | during the      |                         |
|                                  |                       |                  | allocation      |                         |
|                                  |                       |                  | request, if     |                         |
|                                  |                       |                  | no              |                         |
|                                  |                       |                  | particular      |                         |
|                                  |                       |                  | CPU             |                         |
|                                  |                       |                  | architecture    |                         |
|                                  |                       |                  | type is         |                         |
|                                  |                       |                  | requested.      |                         |
+----------------------------------+-----------------------+------------------+-----------------+-------------------------+
| numVirtualCpu                    | Integer               | 1                | Number of       | support:                |
|                                  |                       |                  | virtual         | MANDATORY               |
|                                  |                       |                  | CPUs.           |                         |
+----------------------------------+-----------------------+------------------+-----------------+-------------------------+
| virtualCpuClock                  | Number                | 0..1             | Minimum         | support:                |
|                                  | (recommended          |                  | virtual CPU     | MANDATORY               |
|                                  | DM type:              |                  | clock rate      |                         |
|                                  | Scalar-Unit-Freq)     |                  | (e.g. in        |                         |
|                                  |                       |                  | MHz). The       |                         |
|                                  |                       |                  | cardinality     |                         |
|                                  |                       |                  | can be 0        |                         |
|                                  |                       |                  | during the      |                         |
|                                  |                       |                  | allocation      |                         |
|                                  |                       |                  | request, if     |                         |
|                                  |                       |                  | no              |                         |
|                                  |                       |                  | particular      |                         |
|                                  |                       |                  | value is        |                         |
|                                  |                       |                  | requested.      |                         |
+----------------------------------+-----------------------+------------------+-----------------+-------------------------+
| virtualCpuOversubscriptionPolicy | String                | 0..1             | The CPU         | support:                |
|                                  |                       |                  | core            | MANDATORY               |
|                                  |                       |                  | oversubscription|                         |
|                                  |                       |                  | policy e.g.     |                         |
|                                  |                       |                  | the             |                         |
|                                  |                       |                  | relation of     |                         |
|                                  |                       |                  | virtual CPU     |                         |
|                                  |                       |                  | cores to        |                         |
|                                  |                       |                  | physical        |                         |
|                                  |                       |                  | CPU             |                         |
|                                  |                       |                  | cores/threads.  |                         |
|                                  |                       |                  | The             |                         |
|                                  |                       |                  | cardinality     |                         |
|                                  |                       |                  | can be 0        |                         |
|                                  |                       |                  | during the      |                         |
|                                  |                       |                  | allocation      |                         |
|                                  |                       |                  | request, if     |                         |
|                                  |                       |                  | no              |                         |
|                                  |                       |                  | particular      |                         |
|                                  |                       |                  | value is        |                         |
|                                  |                       |                  | requested.      |                         |
+----------------------------------+-----------------------+------------------+-----------------+-------------------------+
| vduCpuRequirements               | KeyValuePair          | 0..N             | Array of        | support:                |
|                                  |                       |                  | key-value       | MANDATORY               |
|                                  |                       |                  | pair            |                         |
|                                  |                       |                  | requirements    |                         |
|                                  |                       |                  | on the          |                         |
|                                  |                       |                  | Compute         |                         |
|                                  |                       |                  | (CPU) for       |                         |
|                                  |                       |                  | the VDU.        |                         |
+----------------------------------+-----------------------+------------------+-----------------+-------------------------+
| virtualCpuPinning                | VirtualCpuPinningData | 0..1             | The virtual     | support:                |
|                                  |                       |                  | CPU pinning     | MANDATORY               |
|                                  |                       |                  | configuration   |                         |
|                                  |                       |                  | for the         |                         |
|                                  |                       |                  | virtualised     |                         |
|                                  |                       |                  | compute         |                         |
|                                  |                       |                  | resource.       |                         |
+----------------------------------+-----------------------+------------------+-----------------+-------------------------+