diff options
author | 2018-04-09 10:30:12 +0800 | |
---|---|---|
committer | 2018-04-09 10:34:54 +0800 | |
commit | 9b8904d9ffe2553424dcd9d7cac9e9327e37a75e (patch) | |
tree | ee14469fc43f56ebe51dec628de80ff02a642def /docs | |
parent | 992d7ae6b43535b2ef1e1373c1b2dbc00e9e194b (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')
-rw-r--r-- | docs/ONAP release 2 spec/im/AddressData.rst | 60 | ||||
-rw-r--r-- | docs/ONAP release 2 spec/im/AffinityOrAntiAffinityGroup.rst | 34 | ||||
-rw-r--r-- | docs/ONAP release 2 spec/im/index.rst | 16 |
3 files changed, 110 insertions, 0 deletions
diff --git a/docs/ONAP release 2 spec/im/AddressData.rst b/docs/ONAP release 2 spec/im/AddressData.rst new file mode 100644 index 0000000..1317a0a --- /dev/null +++ b/docs/ONAP release 2 spec/im/AddressData.rst @@ -0,0 +1,60 @@ +.. 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: AddressData + ++---------------+---------------+------------------+-----------------+---------------+ +| **Attribute | **Type** | **Multiplicity** | **Description** | **Applied | +| Name** | | | | Stereotypes** | ++===============+===============+==================+=================+===============+ +| addressType | Identifier | 1 | Describes | support: | +| | | | the type of | MANDATORY | +| | | | the address to | | +| | | | be assigned to | | +| | | | the CP | | +| | | | instantiated | | +| | | | from the | | +| | | | parent CPD. | | +| | | | The content | | +| | | | type shall | | +| | | | be aligned | | +| | | | with the | | +| | | | address type | | +| | | | supported | | +| | | | by the | | +| | | | layerProtocol | | +| | | | attribute | | +| | | | of the | | +| | | | parent CPD. | | ++---------------+---------------+------------------+-----------------+---------------+ +| l2AddressData | L2AddressData | 0..1 | Provides the | support: | +| | | | information on | MANDATORY | +| | | | the MAC | | +| | | | addresses to be | | +| | | | assigned to | | +| | | | the CP(s) | | +| | | | instantiated | | +| | | | from the | | +| | | | parent CPD. | | +| | | | | | +| | | | Shall be present| | +| | | | when the | | +| | | | addressType is | | +| | | | MAC address. | | ++---------------+---------------+------------------+-----------------+---------------+ +| l3AddressData | L3AddressData | 0..1 | Provides the | support: | +| | | | information on | MANDATORY | +| | | | the IP addresses| | +| | | | to be assigned | | +| | | | to the CP | | +| | | | instantiated | | +| | | | from the | | +| | | | parent CPD. | | +| | | | | | +| | | | Shall be | | +| | | | present when | | +| | | | the addressType | | +| | | | is IP address. | | ++---------------+---------------+------------------+-----------------+---------------+ 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" | ++-------------+-------------+------------------+-----------------+-----------------+ diff --git a/docs/ONAP release 2 spec/im/index.rst b/docs/ONAP release 2 spec/im/index.rst new file mode 100644 index 0000000..8437213 --- /dev/null +++ b/docs/ONAP release 2 spec/im/index.rst @@ -0,0 +1,16 @@ +.. 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 +.. onap-documentation documentation master file, created by + sphinx-quickstart on Mon Sep 18 15:12:14 2017. + You can adapt this file completely to your liking, but it should at least + contain the root `toctree` directive. + +ONAP Information Model Specifications +============================================== + +.. toctree:: + :titlesonly: + + AddressData + AffinityOrAntiAffinityGroup |