summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst
blob: 58c7ffc3564276222d4ab2a0ea34de9c75be234e (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
.. 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"     |
+-------------+-------------+------------------+-----------------+-----------------+