Merge "Add INFO.yaml file"
[vnfrqts/requirements.git] / docs / Chapter5 / Creating-Vendor-Specific-VNFM-Adaptor-Microservices.rst
1 .. This work is licensed under a Creative Commons Attribution 4.0 International License.
2 .. http://creativecommons.org/licenses/by/4.0
3 .. Copyright 2017 AT&T Intellectual Property.  All rights reserved.
4
5 Creating Vendor-Specific VNFM Adaptor Microservices
6 ---------------------------------------------------
7
8 VNFs can be managed by vendor-specific VNFMs. To add a vendor-specific
9 VNFM to ONAP, a vendor-specific VNFM adaptor is added to ONAP implementing
10 the interface of the vendor-specific VNFM.
11
12 A vendor-specific VNFM adaptor is a microservice with a unique name and
13 an appointed port. When started up, the vendor-specific VNFM adaptor
14 microservice is automatically registered to the Microservices Bus (MSB).
15 The following RESTful example describes the scenario of registering a
16 vendor-specific VNFM adaptor to MSB:
17
18 .. code-block:: java
19
20     POST /api/microservices/v1/services
21     {
22         "serviceName": "catalog",
23         "version": "v1",
24         "url": "/api/catalog/v1",
25         "protocol": "REST",
26         "visualRange": "1",
27         "nodes": [
28         {
29             "ip": "10.74.56.36",
30             "port": "8988",
31             "ttl": 0
32         }
33         ]
34     }