summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 2 spec/im/virtualcpudata.rst
diff options
context:
space:
mode:
authorguochong <guochong@chinamobile.com>2018-04-11 09:39:48 +0800
committerguochong <guochong@chinamobile.com>2018-04-11 09:39:48 +0800
commit10f96964015f89158941ae1f0698a6a89954ede8 (patch)
treece6d76827e488d19399f05141705dbb20c543952 /docs/ONAP release 2 spec/im/virtualcpudata.rst
parent65b61f587060d3ae129afa6d36e0d87c1f537dc7 (diff)
Convert doc to rst file
Issue-ID: MODELING-46 Change-Id: I1e73dcaa94365a7218421b1a9624ea051a802738 Signed-off-by: guochong <guochong@chinamobile.com>
Diffstat (limited to 'docs/ONAP release 2 spec/im/virtualcpudata.rst')
-rw-r--r--docs/ONAP release 2 spec/im/virtualcpudata.rst96
1 files changed, 96 insertions, 0 deletions
diff --git a/docs/ONAP release 2 spec/im/virtualcpudata.rst b/docs/ONAP release 2 spec/im/virtualcpudata.rst
new file mode 100644
index 0000000..1f8f1db
--- /dev/null
+++ b/docs/ONAP release 2 spec/im/virtualcpudata.rst
@@ -0,0 +1,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 |
++--------------------+-------------+------------------+-----------------+-------------------------+