summaryrefslogtreecommitdiffstats
path: root/docs/ONAP release 2 spec/im/LocalAffinityOrAntiAffinityRule.rst
blob: 57d1f632f9d1b7f1a56817a0562d1768adec00d5 (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
.. 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: LocalAffinityOrAntiAffinityRule
======================================

+-------------+-------------+------------------+-----------------+----------------+
| **Attribute | **Type**    | **Multiplicity** | **Description** | **Applied      |
| Name**      |             |                  |                 | Stereotypes**  |
+=============+=============+==================+=================+================+
| 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 the   | support:       |
|             |             |                  | scope of the    | MANDATORY      |
|             |             |                  | rule.           |                |
|             |             |                  |                 | valueRange:    |
|             |             |                  |                 | "NFVI-PoP",    |
|             |             |                  |                 | "Zone",        |
|             |             |                  |                 | "ZoneGroup",   |
|             |             |                  |                 | "NFVI-node"    |
+-------------+-------------+------------------+-----------------+----------------+