summaryrefslogtreecommitdiffstats
path: root/docs/ONAP Model Spec/im/virtualcpudata.rst
diff options
context:
space:
mode:
authorVictor Gao <victor.gao@huawei.com>2018-06-04 16:05:09 +0800
committerVictor Gao <victor.gao@huawei.com>2018-06-04 16:05:09 +0800
commit709de031ede9d9407a4830317b2c6c5f8969025b (patch)
tree89412859fd15d9d785c405df327707ff6a1e8f27 /docs/ONAP Model Spec/im/virtualcpudata.rst
parent78f70a2be21b22775d11a312b6bde26b31beb7c6 (diff)
handle model spec by branches2.0.0-ONAPbeijing2.0.0-ONAP
Change-Id: I4ac13c55261be3e347b00c46fc21d721f8c3332b Issue-ID: MODELING-79 Signed-off-by: Victor Gao <victor.gao@huawei.com>
Diffstat (limited to 'docs/ONAP Model Spec/im/virtualcpudata.rst')
-rw-r--r--docs/ONAP Model Spec/im/virtualcpudata.rst86
1 files changed, 86 insertions, 0 deletions
diff --git a/docs/ONAP Model Spec/im/virtualcpudata.rst b/docs/ONAP Model Spec/im/virtualcpudata.rst
new file mode 100644
index 0000000..105614f
--- /dev/null
+++ b/docs/ONAP Model Spec/im/virtualcpudata.rst
@@ -0,0 +1,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. | |
++----------------------------------+-----------------------+------------------+-----------------+-------------------------+