Registering Authentication Information

MindEdge OM registers with the FusionDirector for authentication. The registration request carries the account, password, product name, product serial number, and customized asset tag. The product type is added to identify whether the product supports the BMC and whether the product is a server.

The message heads are defined as follows:

Level-1 Resource Name

Description

Type

Value Range

Authorization

Certification

string

Basic base64 (account: password)

ProductName

Product name

string

32 bytes

SerialNumber

Product serial number

string

64 bytes

AssetTag

Customized asset tag

string

256 bytes

DevMgmtType

Product type

string

32 bytes, used to identify whether the device is a BMC device. The values are:

  • BMC: The device is managed by the BMC.
  • AtlasEdge: The device is managed by the AtlasEdge. The default value is AtlasEdge.

Response example

{
    "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."
        }]
    }
}

Elements are defined as follows:

Level-1 Resource Name

Level-2 Resource Name

Level-3 Resource Name

Description

error

-

-

FusionDirector returns an error.

code

-

Meaning: error code

Type: string

message

-

Meaning: error information

Type: string

@Message.ExtendedInfo

-

Meaning: extended error information

Type: string

-

@odata.type

This field does not need to be parsed.

-

MessageId

Meaning: message ID

Type: string

Value:

  • FusionDirector.1.0.IAMLocked: FusionDirector is locked.
  • FusionDirector.1.0.SpareNodeIDInCorrect: The node ID of the spare part is incorrect.

-

RelatedProperties

This field does not need to be parsed.

-

Message

Meaning: message content

Type: string

-

MessageArgs

Meaning: message parameter

Type: string

Value: If the value of MessgeId is FusionDirector.1.0.SpareNodeIDInCorrect, the value of this field is NodeID.

-

Severity

This field does not need to be parsed.

-

Resolution

This field does not need to be parsed.