1
0
This commit is contained in:
2023-10-11 09:16:59 +08:00
parent d72c3a64fd
commit 169d0be5ee

View File

@@ -1321,48 +1321,24 @@ Example:
### 8.2 License管理 ### 8.2 License管理
#### 8.2.1 License文件管理接口 #### 8.2.1 网元License管理接口
* URI * URI
```uri ```uri
/api/rest/systemManagement/v1/{neType}/license /api/rest/systemManagement/v1/elementType/{elementTypeValue}/objectType/license?neId={neId}
``` ```
* Relations * Relations
OMC front-end -> OMC back-end OMC front-end -> OMC back-end ->NF
* Params * Params
* Method * Method
* POST: upload to OMC, 上传文件到OMC, content_type=multipart/form-data POST: Upload license to NF
* GET: download from omc, 下载文件到OMC, content_type=multipart/form-data
* DELETE: delete from omc
* Body * Body
POST: 携带License文件, OMC按网元类型存储文件如果文件名相同则会覆盖 * licens文件, content_type=multipart/form-data
* Return * 附加license说明字段信息: "comment": "..."
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
* Return * Return
Code: 204 Not content Code: 204 Not content