summaryrefslogtreecommitdiffstats
path: root/docs/ONAP Model Spec/im/VirtualCpuPinningData.rst
blob: d1876bc2e2735393ae3fb3190d5588a5447cea5d (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
.. 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: VirtualCpuPinningData
============================

+-------------------------+-------------+------------------+-------------------------+---------------+
| **Attribute Name**      | **Type**    | **Multiplicity** | **Description**         | **Applied     |
|                         |             |                  |                         | Stereotypes** |
+=========================+=============+==================+=========================+===============+
| virtualCpuPinningPolicy | Enum        | 0..1             | The policy              | support:      |
|                         |             |                  | can take                | MANDATORY     |
|                         |             |                  | values of               |               |
|                         |             |                  | "static" or             | valueRange:   |
|                         |             |                  | "dynamic".              | "static",     |
|                         |             |                  | In case of              | "dynamic"     |
|                         |             |                  | "static" the virtual    |               |
|                         |             |                  | CPU cores are           |               |
|                         |             |                  | requested to be         |               |
|                         |             |                  | allocated to logical    |               |
|                         |             |                  | CPU cores according     |               |
|                         |             |                  | to the rules defined in |               |
|                         |             |                  | virtualCpuPinningRules. |               |
|                         |             |                  | In case of "dynamic"    |               |
|                         |             |                  | the allocation          |               |
|                         |             |                  | of virtual CPU cores    |               |
|                         |             |                  | to logical CPU cores    |               |
|                         |             |                  | is decided by the VIM.  |               |
|                         |             |                  | (e.g.: SMT              |               |
|                         |             |                  | (Simultaneous           |               |
|                         |             |                  | Multi-Threading)        |               |
|                         |             |                  | requirements).          |               |
+-------------------------+-------------+------------------+-------------------------+---------------+
| virtualCpuPinningRule   | Not         | 0..1             | A list of               | support:      |
|                         | specified   |                  | rules that              | MANDATORY     |
|                         |             |                  | should be               |               |
|                         | Editor's    |                  | considered              |               |
|                         | note: need  |                  | during the              |               |
|                         | to be       |                  | allocation              |               |
|                         | specified   |                  | of the                  |               |
|                         |             |                  | virtual CPUs to         |               |
|                         |             |                  | logical CPUs in case of |               |
|                         |             |                  | "static"                |               |
|                         |             |                  | virtualCpuPinningPolicy.|               |
+-------------------------+-------------+------------------+-------------------------+---------------+