summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 2 spec/im/virtualcpudata.rst
blob: 1f8f1db5cec6ed5669011509924216a622b8eef9 (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
.. 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

.. contents::
   :depth: 3
..

Class: VirtualCpuData/VirtualCPUDesc
====================================

+--------------------+-------------+------------------+-----------------+-------------------------+
| **Attribute Name** | **Type**    | **Multiplicity** | **Description** | **Applied Stereotypes** |
+====================+=============+==================+=================+=========================+
| cpuArchitec        | String      | 0..1             | CPU             | support:                |
| ture               |             |                  | architectur     | MANDATORY               |
|                    |             |                  | e               |                         |
|                    |             |                  | type.           |                         |
|                    |             |                  | Examples        |                         |
|                    |             |                  | are x86,        |                         |
|                    |             |                  | ARM. The        |                         |
|                    |             |                  | cardinality     |                         |
|                    |             |                  | can be 0        |                         |
|                    |             |                  | during the      |                         |
|                    |             |                  | allocation      |                         |
|                    |             |                  | request, if     |                         |
|                    |             |                  | no              |                         |
|                    |             |                  | particular      |                         |
|                    |             |                  | CPU             |                         |
|                    |             |                  | architectur     |                         |
|                    |             |                  | e               |                         |
|                    |             |                  | type is         |                         |
|                    |             |                  | requested.      |                         |
+--------------------+-------------+------------------+-----------------+-------------------------+
| numVirtualC        | Integer     | 1                | Number of       | support:                |
| pu                 |             |                  | virtual         | MANDATORY               |
|                    |             |                  | CPUs.           |                         |
+--------------------+-------------+------------------+-----------------+-------------------------+
| virtualCpuC        | Number      | 0..1             | Minimum         | support:                |
| lock               | (recommende |                  | virtual CPU     | MANDATORY               |
|                    | d           |                  | clock rate      |                         |
|                    | DM type:    |                  | (e.g. in        |                         |
|                    | Scalar-Unit |                  | MHz). The       |                         |
|                    | -Freq)      |                  | cardinality     |                         |
|                    |             |                  | can be 0        |                         |
|                    |             |                  | during the      |                         |
|                    |             |                  | allocation      |                         |
|                    |             |                  | request, if     |                         |
|                    |             |                  | no              |                         |
|                    |             |                  | particular      |                         |
|                    |             |                  | value is        |                         |
|                    |             |                  | requested.      |                         |
+--------------------+-------------+------------------+-----------------+-------------------------+
| virtualCpuO        | String      | 0..1             | The CPU         | support:                |
| versubscrip        |             |                  | core            | MANDATORY               |
| tionPolicy         |             |                  | oversubscri     |                         |
|                    |             |                  | ption           |                         |
|                    |             |                  | policy e.g.     |                         |
|                    |             |                  | the             |                         |
|                    |             |                  | relation of     |                         |
|                    |             |                  | virtual CPU     |                         |
|                    |             |                  | cores to        |                         |
|                    |             |                  | physical        |                         |
|                    |             |                  | CPU             |                         |
|                    |             |                  | cores/threa     |                         |
|                    |             |                  | ds.             |                         |
|                    |             |                  | The             |                         |
|                    |             |                  | cardinality     |                         |
|                    |             |                  | can be 0        |                         |
|                    |             |                  | during the      |                         |
|                    |             |                  | allocation      |                         |
|                    |             |                  | request, if     |                         |
|                    |             |                  | no              |                         |
|                    |             |                  | particular      |                         |
|                    |             |                  | value is        |                         |
|                    |             |                  | requested.      |                         |
+--------------------+-------------+------------------+-----------------+-------------------------+
| vduCpuRequi        | KeyValuePai | 0..N             | Array of        | support:                |
| rements            | r/NameValue |                  | key-value       | MANDATORY               |
|                    | Pair        |                  | pair            |                         |
|                    |             |                  | requirement     |                         |
|                    |             |                  | s               |                         |
|                    |             |                  | on the          |                         |
|                    |             |                  | Compute         |                         |
|                    |             |                  | (CPU) for       |                         |
|                    |             |                  | the VDU.        |                         |
+--------------------+-------------+------------------+-----------------+-------------------------+
| virtualCpuP        | VirtualCpuP | 0..1             | The virtual     | support:                |
| inning             | inningData  |                  | CPU pinning     | MANDATORY               |
|                    |             |                  | configurati     |                         |
|                    |             |                  | on              | editor's                |
|                    |             |                  | for the         | note: need              |
|                    |             |                  | virtualised     | to check                |
|                    |             |                  | compute         | whether can             |
|                    |             |                  | resource.       | be optional             |
+--------------------+-------------+------------------+-----------------+-------------------------+