昇腾社区首页
中文
注册

注册认证信息

MindEdge OM向FusionDirector注册认证,携带帐号、密码、产品名称、产品序列号、自定义资产标签,新增产品类型,用于区分产品是否支持BMC,是否为服务器形态。

消息头定义如下:

一级资源名称

描述

类型

取值范围

Authorization

认证信息

string

Basic base64(帐号:密码)

ProductName

产品名称

string

32字节

SerialNumber

产品序列号

string

64字节

AssetTag

自定义资产标签

string

256字节

DevMgmtType

产品类型

string

32字节,用于区分是否为BMC设备。取值为:

  • BMC:表示BMC管理设备。
  • AtlasEdge:表示AtlasEdge管理设备。默认不填AtlasEdge管理设备。

响应实例

{
    "error": {
        "code": "Base.1.0.GeneralError",
        "message": "A general error has occurred. See ExtendedInfo for more information.",
        "@Message.ExtendedInfo": [{
            "@odata.type": "",
            "MessageId": "FusionDirector.1.0.IAMLocked",
            "RelatedProperties": null,
            "Message": "There are insufficient privileges for the account or credentials associated with the current session to perform the requested operation.",
            "MessageArgs": null,
            "Severity": "Critical",
            "Resolution": "Either abandon the operation or change the associated access rights and resubmit the request if the operation failed."
        }]
    }
}

各元素定义如下:

一级资源名称

二级资源名称

三级资源名称

说明

error

-

-

FusionDirector返回错误

code

-

含义:错误码

类型:string

message

-

含义:错误信息

类型:string

@Message.ExtendedInfo

-

含义:错误信息扩展信息

类型:string

-

@odata.type

此字段不需要解析

-

MessageId

含义:消息ID

类型:string

取值:

  • FusionDirector.1.0.IAMLocked:FusionDirector被锁定
  • FusionDirector.1.0.SpareNodeIDInCorrect:备件的NodeID不正确

-

RelatedProperties

此字段不需要解析

-

Message

含义:消息内容

类型:string

-

MessageArgs

含义:消息参数

类型:string

取值:如果MessgeId取值为FusionDirector.1.0.SpareNodeIDInCorrect,则此字段为NodeID

-

Severity

此字段不需要解析

-

Resolution

此字段不需要解析