diff --git a/docs/05-5GC OMC restful intefaces.md b/docs/05-5GC OMC restful intefaces.md index 48af53c..46afdeb 100644 --- a/docs/05-5GC OMC restful intefaces.md +++ b/docs/05-5GC OMC restful intefaces.md @@ -602,7 +602,7 @@ * Method POST -* Body +* Body ```json type NeInstance struct { @@ -1321,48 +1321,24 @@ Example: ### 8.2 License管理 -#### 8.2.1 License文件管理接口 +#### 8.2.1 网元License管理接口 * URI ```uri - /api/rest/systemManagement/v1/{neType}/license + /api/rest/systemManagement/v1/elementType/{elementTypeValue}/objectType/license?neId={neId} ``` * Relations - OMC front-end -> OMC back-end + OMC front-end -> OMC back-end ->NF * Params * Method - * POST: upload to OMC, 上传文件到OMC, content_type=multipart/form-data - * GET: download from omc, 下载文件到OMC, content_type=multipart/form-data - * DELETE: delete from omc + POST: Upload license to NF * Body - POST: 携带License文件, OMC按网元类型存储文件,如果文件名相同则会覆盖 -* Return - - Code: 204 Not content - -#### 8.2.2 网元License管理接口 - -* URI - - ```uri - /api/rest/systemManagement/v1/{neType}/license/{neId} - ``` -* Relations - - OMC front-end -> OMC back-end -* Params -* Method - - * POST: distribute to NF - * PUT: active - * PATCH: rollback -* Body - - NA + * licens文件, content_type=multipart/form-data + * 附加license说明字段信息: "comment": "..." * Return Code: 204 Not content @@ -1674,7 +1650,7 @@ Example: "...": "..." } ] - } + } ] } ```