From 9b8904d9ffe2553424dcd9d7cac9e9327e37a75e Mon Sep 17 00:00:00 2001 From: yxpoke Date: Mon, 9 Apr 2018 10:30:12 +0800 Subject: convert resource im wiki page to rst document Change-Id: Iacee37d478d9ded9711d2a2d462d621526c46b60 Issue-ID: MODELING-46 Signed-off-by: yxpoke --- .../im/AffinityOrAntiAffinityGroup.rst | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst (limited to 'docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst') 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" | ++-------------+-------------+------------------+-----------------+-----------------+ -- cgit 1.2.3-korg