1
0
This commit is contained in:
2023-10-08 16:59:03 +08:00
parent b071ba58c2
commit d72c3a64fd

View File

@@ -348,12 +348,18 @@
* true默认值表示该字段为可选填没有写该属性项时optional为true兼容以前配置文件
* false表示必填项
* Method
* 字符串"get,post,put,delete"只用于Top Tag字段默认为支持所有方法
* get对应"获取"按钮, post对应"新增"按钮, put对应"修改"按钮, delete对应"删除"按钮
* 配置相应方法,则显示相应的按钮,支持对应的方法
* Example
```yaml
UDM:
system:
display: "System"
method: "get,post,put,delete"
list:
- name: "serviceIP"
type: "ipv4"
@@ -552,7 +558,7 @@
}
```
### 3.5 网元启动/停止/服务重启
### 3.5 网元服务启动/停止/重启
* URI
@@ -560,14 +566,13 @@
/api/rest/systemManagement/v1/elementType/{elementTypeValue}/objectType/service/{action}?neId={neId}
```
action: start/restart/stop
* Relations
OMC FE -> OMC BE -> NF
* Params
OMC-FE -> OMC-BE, neId={neId}, 指定NF的neId
* Method
POST
@@ -587,22 +592,21 @@
/api/rest/systemManagement/v1/elementType/{elementTypeValue}/objectType/instance/{action}?neId={neId}
```
action: reboot/poweroff
* Relations
OMC FE -> OMC BE -> NF
* Params
OMC-FE -> OMC-BE, neId={neId}, 指定NF的neId
* Method
POST
* Body
* Body
```json
type NeInstance struct {
Action string `json:"action"` // 动作, start/restart/stop
Action string `json:"action"` // 动作, reboot/poweroff
}
```
@@ -1670,7 +1674,7 @@ Example:
"...": "..."
}
]
}
}
]
}
```