v1
bmc

bmc import configuration

Controller:

github.com/ubccr/grendel/internal/api.(*Handler).BmcImportConfiguration

Middlewares:

  • github.com/go-fuego/fuego.defaultLogger.middleware
  • github.com/ubccr/grendel/internal/api.(*Handler).authMiddleware

Manually import system configuration to BMC

post/v1/bmc/configure/import

Query parameters

nodesetstring

Filter by nodeset. Minimum of one query parameter is required

tagsstring

Filter by tags. Minimum of one query parameter is required

Headers

Acceptstring

Request body

filestring

template file relative to templates directory

shutdown_typestring

options include: NoReboot, Graceful, Forced

Example request

{
  "file": "idrac-config.json.tmpl",
  "shutdown_type": "Graceful"
}

Response

OK

datastring
hoststring
msgstring
statusstring

Changes

Changed in 3 of the 15 revisions of this API.13

    • added the optional property / to the response with the status (media type: application/json)

      response-optional-property-added

    • added the optional property / to the response with the status (media type: application/xml)

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 5 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 38 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog