Skip to content

Cannot add correctly redfish-endpoint with OpenCHAMIΒ #95

@t-h2o

Description

@t-h2o

Cannot add correctly redfish-endpoint with OpenCHAMI

I am able to add a redfish endpoint correctly with cURL but not with Manta.

βœ… cURL

Adding a redfish-endpoint by cURL

curl -X POST -d '{"RedfishEndpoints":[{
  "ID":"x1000c0s0b5",
  "FQDN":"x1000c0s0b5",
  "RediscoverOnUpdate":true,
  "User":"root",
  "Password":"root_password"
}]}' http://localhost:27779/hsm/v2/Inventory/RedfishEndpoints

SMD microservice output log from openchami

{
  "RedfishEndpoints": [
    {
      "ID": "x1000c0s0b5",
      "FQDN": "x1000c0s0b5",
      "RediscoverOnUpdate": true,
      "User": "root",
      "Password": "root_password"
    }
  ]
}

🚧 Manta

manta add redfish-endpoint \
--id x1000c0s0b5 \
--fqdn "x1000c0s0b5" \
--rediscover-on-update \
--user root \
--password root_password

SMD microservice output log from openchami

{
  "ID": "x1000c0s0b5",
  "FQDN": "x1000c0s0b5",
  "Enabled": false,
  "User": "root",
  "Password": "root_password",
  "UseSSDP": false,
  "MacRequired": false,
  "RediscoverOnUpdate": true
}

Conclusion

IMO, Manta have to update his payload to looks like the cURL payload.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions