云服务器内容精选
-
响应示例 状态码: 200 Ok { "log_configs" : [ { "size" : 1000, "level" : "string", "rotate_num" : 10, "rotate_period" : "string", "type" : "LTS", "component" : "string" } ], "ha_config" : { "ha_type" : "ACTIVE_STANDBY", "active_standby_config" : { "work_node" : "DEFAULT", "master_interface_name" : "eth0", "slave_interface_name" : "eth0", "virtual_ip_address" : "127.0.0.1", "virtual_ipv6_address" : "ABCD:EF01:2345:6789:ABCD:EF01:2345:6789" } }, "edge_node_id" : "string", "instance_id" : "string", "product_id" : "string", "product_name" : "jeQDJQZltU8iKgFFoW060F5SGZka", "space_id" : "jeQDJQZltU8iKgFFoW060F5SGZka", "resource_spec_types" : [ "iotedge.campus.1000tps.10000device" ], "resource_ids" : [ "jeQDJQZltU8iKgFFoW060F5SGZka" ], "ips" : [ "string" ], "name" : "string", "state" : "string", "software_version" : "1.0.0", "create_time" : "string", "update_time" : "string", "os_name" : "string", "arch" : "string", "host_name" : "string", "nics" : [ { "eth" : "string", "ip" : "string", "mask_len" : 24 } ], "specification" : "string", "ai_card_type" : "string", "npu_library_path" : "/usr/local/Ascend/driver/lib64/", "container_version" : "17.0.1", "type" : "string", "security_level" : "HIGH", "reliability_level" : "LOW", "storage_period" : 7, "base_path" : [ { "log_base_path" : "string", "config_base_path" : "string", "db_base_path" : "string" } ], "hardware_model" : "string", "offline_cache_configs" : { "publish_order" : "realtime_first", "period" : 7, "capacity" : 2048, "channel_cache_state" : "on" }, "device_auth_info" : { "auth_type" : "CERTIFICATES", "local_path" : { "cert_path" : "/opt/device-cert/cert.pem", "key_path" : "/opt/device-cert/key.pem" } }, "device_data_format" : "iotda_1.0", "automatic_upgrade" : "OFF", "tpm_info" : { "manufacturer_id" : "IBM", "spec_version" : "146" }, "runtime_info" : { "enable_tpm" : true }, "os_type" : "generalLinux" }
-
响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 hosts Array of HostInfoDTO objects 节点主机信息详情 数组长度:0 - 10 表4 HostInfoDTO 参数 参数类型 描述 host_tag String 主机标签DEFAULT|MASTER|SLAVE 最小长度:0 最大长度:64 host_status String 主机工作状态(ONLINE|OFFLINE) 最小长度:0 最大长度:64 os_name String 边缘节点操作系统。例如:Ubuntu 20.04;CentOS 7.9。不同于os_type边缘节点系统类型。 最小长度:1 最大长度:64 host_name String 边缘节点主机名 最小长度:1 最大长度:256 container_version String 容器运行时版本 最小长度:0 最大长度:64 nics Array of Nic objects 边缘节点网络网卡信息 数组长度:0 - 10 specification String 网络规格,如4 cores | 3867 MB 最小长度:0 最大长度:64 npu_details Array of NPUDetailsDTO objects NPU设备详细信息,包括硬件信息和使用情况。 数组长度:0 - 64 表5 Nic 参数 参数类型 描述 eth String 网卡信息,如eth0,eth1 最小长度:0 最大长度:32 ip String 网卡ip 最小长度:0 最大长度:64 mask_len Integer 子网掩码的位数 最小值:0 最大值:32 表6 NPUDetailsDTO 参数 参数类型 描述 device_id String 昇腾设备ID 最小长度:1 最大长度:64 npu_type String 华为AI加速卡型号,如D310推理卡、D310P推理卡、D910训练卡。 最小长度:0 最大长度:16 product_name String 昇腾设备产品类型 最小长度:0 最大长度:64 ai_core Integer AI加速卡包含ai核个数 最小值:0 最大值:64 health String 昇腾设备健康状态 最小长度:0 最大长度:64 error_msg String 昇腾设备故障信息 最小长度:0 最大长度:256 used_info Array of NpuUsedInfoDTO objects NPU使用信息 数组长度:0 - 64 表7 NpuUsedInfoDTO 参数 参数类型 描述 module_id String 模块名称 最小长度:1 最大长度:64 used_ai_core_num Integer 模块使用AI核的个数 最小值:1 最大值:64 used_cpu_core_num Integer 模块使用NPU芯片中的cpu核数 最小值:0 最大值:64
-
响应示例 状态码: 200 Ok { "log_configs" : [ { "size" : 1000, "level" : "string", "rotate_num" : 10, "rotate_period" : "string", "type" : "LTS", "component" : "string" } ], "ha_config" : { "ha_type" : "ACTIVE_STANDBY", "active_standby_config" : { "work_node" : "DEFAULT", "master_interface_name" : "eth0", "slave_interface_name" : "eth0", "virtual_ip_address" : "127.0.0.1", "virtual_ipv6_address" : "ABCD:EF01:2345:6789:ABCD:EF01:2345:6789" } }, "edge_node_id" : "string", "instance_id" : "string", "product_id" : "string", "product_name" : "jeQDJQZltU8iKgFFoW060F5SGZka", "space_id" : "jeQDJQZltU8iKgFFoW060F5SGZka", "resource_spec_types" : [ "iotedge.campus.1000tps.10000device" ], "resource_ids" : [ "jeQDJQZltU8iKgFFoW060F5SGZka" ], "ips" : [ "string" ], "name" : "string", "state" : "string", "software_version" : "1.0.0", "create_time" : "string", "update_time" : "string", "os_name" : "string", "arch" : "string", "host_name" : "string", "nics" : [ { "eth" : "string", "ip" : "string", "mask_len" : 24 } ], "specification" : "string", "ai_card_type" : "string", "npu_library_path" : "/usr/local/Ascend/driver/lib64/", "container_version" : "17.0.1", "type" : "string", "security_level" : "HIGH", "reliability_level" : "LOW", "storage_period" : 7, "base_path" : [ { "log_base_path" : "string", "config_base_path" : "string", "db_base_path" : "string" } ], "hardware_model" : "string", "offline_cache_configs" : { "publish_order" : "realtime_first", "period" : 7, "capacity" : 2048 }, "device_auth_info" : { "auth_type" : "CERTIFICATES", "local_path" : { "cert_path" : "/opt/device-cert/cert.pem", "key_path" : "/opt/device-cert/key.pem" } }, "device_data_format" : "iotda_1.0", "automatic_upgrade" : "OFF" }
-
响应示例 状态码: 200 更新成功 { "delete_connector" : false, "deploy_connector" : false, "deployment_id" : "", "update_devices" : { "added" : { "comment" : "This is a test comment", "device_ids" : [ "114a9718-052d-4152-a4f5-cd7ab84e6fad" ], "relation" : "This_is_a_test_relation" } } }
-
请求示例 添加边缘节点的终端设备,输入设备ID。 { "devices" : { "added" : { "relation" : "This_is_a_test_relation", "comment" : "This is a test comment", "device_ids" : [ "c59d8205-e786-4455-8883-12578a34ae90" ] } } }
-
边缘节点说明 联邦学习的整体框架包括边缘节点与中心节点,联邦实例是创建在中心节点的,即server端,而用户的本地算法与数据在边缘节点,要进行联邦学习,必须将边缘节点注册到中心节点的联邦实例。一个中心节点(一个联邦实例)可注册多个边缘节点,一个边缘节点一次只能注册到一个联邦实例的一个版本。 边缘节点客户端部署方法请参见《客户端部署指南》。 因为注册边缘节点会同步生成安全特性多方计算用秘钥,在使用联邦学习安全特性多方计算能力时建议定期(一年或视情况)更新安全秘钥,否则可能存在秘钥信息泄露风险。更新方法为先去注册边缘节点,然后重新注册边缘节点即可。 父主题: 边缘节点管理
更多精彩内容
CDN加速
GaussDB
文字转换成语音
免费的服务器
如何创建网站
域名网站购买
私有云桌面
云主机哪个好
域名怎么备案
手机云电脑
SSL证书申请
云点播服务器
免费OCR是什么
电脑云桌面
域名备案怎么弄
语音转文字
文字图片识别
云桌面是什么
网址安全检测
网站建设搭建
国外CDN加速
SSL免费证书申请
短信批量发送
图片OCR识别
云数据库MySQL
个人域名购买
录音转文字
扫描图片识别文字
OCR图片识别
行驶证识别
虚拟电话号码
电话呼叫中心软件
怎么制作一个网站
Email注册网站
华为VNC
图像文字识别
企业网站制作
个人网站搭建
华为云计算
免费租用云托管
云桌面云服务器
ocr文字识别免费版
HTTPS证书申请
图片文字识别转换
国外域名注册商
使用免费虚拟主机
云电脑主机多少钱
鲲鹏云手机
短信验证码平台
OCR图片文字识别
SSL证书是什么
申请企业邮箱步骤
免费的企业用邮箱
云免流搭建教程
域名价格