diff --git a/docs/05-5GC OMC restful intefaces.md b/docs/05-5GC OMC restful intefaces.md index 2cd86aa..12c69ef 100644 --- a/docs/05-5GC OMC restful intefaces.md +++ b/docs/05-5GC OMC restful intefaces.md @@ -552,6 +552,60 @@ } ``` +### 3.5 网元启动/停止/服务重启 + +* URI + + ```uri + /api/rest/systemManagement/v1/elementType/{elementTypeValue}/objectType/service/{action}?neId={neId} + ``` + +* Relations + + OMC FE -> OMC BE -> NF + +* Params + + OMC-FE -> OMC-BE, neId={neId}, 指定NF的neId + +* Method + + POST +* Body + + ```json + type NeService struct { + Action string `json:"action"` // 动作, start/restart/stop + } + ``` + +### 3.6 机器开机/重启/关机 + +* URI + + ```uri + /api/rest/systemManagement/v1/elementType/{elementTypeValue}/objectType/instance/{action}?neId={neId} + ``` + +* Relations + + OMC FE -> OMC BE -> NF + +* Params + + OMC-FE -> OMC-BE, neId={neId}, 指定NF的neId + +* Method + + POST +* Body + + ```json + type NeInstance struct { + Action string `json:"action"` // 动作, start/restart/stop + } + ``` + ## 4 性能管理 ### 4.1 任务管理