summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst
diff options
context:
space:
mode:
authoryxpoke <yangxu5@huawei.com>2018-04-09 10:30:12 +0800
committeryxpoke <yangxu5@huawei.com>2018-04-09 10:34:54 +0800
commit9b8904d9ffe2553424dcd9d7cac9e9327e37a75e (patch)
treeee14469fc43f56ebe51dec628de80ff02a642def /docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst
parent992d7ae6b43535b2ef1e1373c1b2dbc00e9e194b (diff)
convert resource im wiki page to rst document
Change-Id: Iacee37d478d9ded9711d2a2d462d621526c46b60 Issue-ID: MODELING-46 Signed-off-by: yxpoke <yangxu5@huawei.com>
Diffstat (limited to 'docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst')
-rw-r--r--docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst b/docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst
new file mode 100644
index 0000000..47cbe82
--- /dev/null
+++ b/docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst
@@ -0,0 +1,34 @@
+.. Copyright 2018 (Huawei)
+.. 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: AffinityOrAntiAffinityGroup
+
++-------------+-------------+------------------+-----------------+-----------------+
+| **Attribute | **Type** | **Multiplicity** | **Description** | **Applied |
+| Name** | | | | Stereotypes** |
++=============+=============+==================+=================+=================+
+| groupId | Identifier | 1 | Identifies | support: |
+| | | | an affinity or | MANDATORY |
+| | | | anti-affinity | |
+| | | | group to which | |
+| | | | the affinity or | |
+| | | | anti-affinity | |
+| | | | rule applies. | |
++-------------+-------------+------------------+-----------------+-----------------+
+| type | Enum | 1 | Specifies | support: |
+| | | | whether the rule| MANDATORY |
+| | | | is an affinity | |
+| | | | rule or an | valueRange: |
+| | | | anti-affinity | "Affinity", |
+| | | | rule. | "Anti-Affinity" |
++-------------+-------------+------------------+-----------------+-----------------+
+| scope | Enum | 1 | Specifies | support: |
+| | | | the scope | MANDATORY |
+| | | | of the rule. | |
+| | | | | valueRange: |
+| | | | | "NFVI-PoP", |
+| | | | | "Zone", |
+| | | | | "ZoneGroup", |
+| | | | | "NFVI-node" |
++-------------+-------------+------------------+-----------------+-----------------+