This commit is contained in:
lai committed 2024-03-27 10:08:13 +08:00
commit 9531230fc0
3 files changed
+30 -3

No files matched your search

+13
View File
@@ -88,3 +88,16 @@ export function neHostCheckInfo(data: Record<string, any>) {
data: data, data: data,
}); });
} }
/**
* 网元主机SSH方式授权免密发送
* @param data 网元主机对象
* @returns object
*/
export function neHostAuthorizedRSA(data: Record<string, any>) {
return request({
url: '/ne/host/authorizedBySSH',
method: 'post',
data: data,
});
}
+14
View File
@@ -92,3 +92,17 @@ export function stateNeInfo(neType: string, neId: string) {
params: { neType, neId }, params: { neType, neId },
}); });
} }
/**
* 查询网元信息
* @param neType 网元类型
* @param neId 网元ID
* @returns object
*/
export function getTypeAndIDNeInfo(neType: string, neId: string) {
return request({
url: '/ne/info/byTypeAndID',
method: 'get',
params: { neType, neId },
});
}
+3 -3
View File
@@ -66,13 +66,13 @@ export function delNeSoftware(softwareIds: string | number) {
} }
/** /**
* 网元软件包安装 * 网元软件包安装检查
* @param data 网元对象 * @param data 网元对象
* @returns object * @returns object
*/ */
export function installNeSoftware(data: Record<string, any>) { export function installCheckNeSoftware(data: Record<string, any>) {
return request({ return request({
url: `/ne/software/install`, url: `/ne/software/installCheck`,
method: 'post', method: 'post',
data: data, data: data,
}); });