From: maopengzhang Date: Wed, 8 Nov 2017 12:46:18 +0000 (+0800) Subject: modify the document API X-Git-Tag: v1.0.1~1 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=cce7dad05f7ac0850043edb362bbab996e4d009b;p=vfc%2Fnfvo%2Flcm.git modify the document API Modify the document API Change-Id: Id4ca172a95309ccffeb7c792f1b8033fede4c688 Issue-ID: VFC-54 Signed-off-by: maopengzhang --- diff --git a/docs/platform/APIs/VNFLCM_API/VNFLCM_API.rst b/docs/platform/APIs/VNFLCM_API/VNFLCM_API.rst index c6db4326..8d9cff6a 100644 --- a/docs/platform/APIs/VNFLCM_API/VNFLCM_API.rst +++ b/docs/platform/APIs/VNFLCM_API/VNFLCM_API.rst @@ -2,14 +2,14 @@ :depth: 3 .. - **VNFM API** + **GVNFM Northbound & Southbound APIs** **V0.1** **1 Scope** ============= - The scope of the present document is to describe the VNFM exposed - API specification over Or-Vnfm Reference Point. + The scope of the present document is to describe the GVNFM exposed + API specification over Or-Vnfm reference point and Ve-Vnfm-vnf reference point. **2 Terms, Definitions and Abbreviations** =========================================== @@ -29,7 +29,7 @@ Table 2-1 abbreviations -**3. Interfaces provided by VNFM** (Or-Vnfm/Ve-Vnfm-vnf) +**3. Interfaces provided by GVNFM** (Or-Vnfm) ========================================================== Interfaces use RESTful API and the format is as follows: diff --git a/docs/platform/APIs/VNFMDriver_API/VNFM_Driver_API.rst b/docs/platform/APIs/VNFMDriver_API/VNFM_Driver_API.rst index 4aa6f52c..c289626d 100644 --- a/docs/platform/APIs/VNFMDriver_API/VNFM_Driver_API.rst +++ b/docs/platform/APIs/VNFMDriver_API/VNFM_Driver_API.rst @@ -7,7 +7,7 @@ **1. Scope** ============== -The scope of the present document is to describe the VNFM Driver exposed API specification. +The scope of the present document is to describe the VNFM driver integrated related API specification. **2. Terms, Definitions and Abbreviations** ============================================= @@ -34,7 +34,7 @@ Interfaces use RESTful API and the format is as follows: http(s)://[hostname][:port]/api/{vnfmtype}/v1/{vnfm_id}/[……] R1 vnfmtype: zte-vnfm -fw-vnfm +hw-vnfm juju **3.1 Instantiate VNF** @@ -643,7 +643,7 @@ VNF filter: vnfInstanceId via url [R1] +---------------+------------------------------------------------------------------+ | IF Definition | Description | +===============+==================================================================+ -| URI | http(s)://[hostname][:port]/api//nslcm/v1/ns/grantvnf | +| URI | http(s)://[hostname][:port]/api/nslcm/v1/ns/grantvnf | +---------------+------------------------------------------------------------------+ | Operation | POST | +---------------+------------------------------------------------------------------+ @@ -701,7 +701,7 @@ VNF filter: vnfInstanceId via url [R1] +---------------+------------------------------------------------------------------+ | IF Definition | Description | +===============+==================================================================+ -| URI | http(s)://[hostname][:port]/api/nslcm/v1/vnfs/ | +| URI | http(s)://[hostname][:port]/api/nslcm/v1/ns/{vnfmid}/vnfs/ | | | {vnfInstanceId}/Notify | +---------------+------------------------------------------------------------------+ | Operation | POST | diff --git a/docs/platform/APIs/index.rst b/docs/platform/APIs/index.rst index b05bede2..c6f561be 100644 --- a/docs/platform/APIs/index.rst +++ b/docs/platform/APIs/index.rst @@ -7,7 +7,7 @@ VF-C Offered APIs List VF-C APIs offered. -NS LCM API +VFC Northbound API ---------- Network services lifecycle management APIs @@ -19,10 +19,10 @@ Network services lifecycle management APIs NSLCM_API/index -VNFM Driver API +VNFM Integration APIs --------------- -VNFM Driver component northbound APIs +VNFM Driver Integration Related APIs .. toctree:: :maxdepth: 1 @@ -31,10 +31,10 @@ VNFM Driver component northbound APIs -VNF LCM API +GVNFM Northbound & Southbound APIs ----------- -VNF lifecycle management APIs +GVNFM Northbound & Southbound APIs for VNF Integration .. toctree:: :maxdepth: 1 diff --git a/lcm/swagger/vfc.vnfdriver.swagger.json b/lcm/swagger/vfc.vnfdriver.swagger.json index e16d9ccb..d1db6845 100644 --- a/lcm/swagger/vfc.vnfdriver.swagger.json +++ b/lcm/swagger/vfc.vnfdriver.swagger.json @@ -345,7 +345,7 @@ } } }, - "/nslcm/v1/{vnfmid}/vnfs/{vnfInstanceId}/Notify": { + "/nslcm/v1/ns/{vnfmid}/vnfs/{vnfInstanceId}/Notify": { "post": { "tags": [ "NSLCM"