setup

Initial setup of croit.

get /setup/list-interfaces

Arguments
  • No arguments...

Definition
get /setup/list-interfaces
Attributes
  • ipsarray

    -

    • interfaceNamestring

      -

    • ipstring

      -

    • netmaskinteger

      -

  • interfacesarray

    -

  • currentInterfacestring

    -

  • currentIpstring

    -

Example response
{ "ips": [ { "interfaceName": "string", "ip": "string", "netmask": 0 } ], "interfaces": [ "string" ], "currentInterface": "string", "currentIp": "string" }

post /setup/main-ip

Arguments
  • bodyoptional

    -

Definition
post /setup/main-ip

post /setup/import-cluster

Arguments
  • bodyoptional

    -

Definition
post /setup/import-cluster

post /setup/restore-backup

Arguments
  • bodyoptional

    -

Definition
post /setup/restore-backup
Attributes
  • namestring

    -

  • idinteger

    -

  • statestring

    [WAITING, RUNNING, FINISHED, FAILED, CANCELED]

  • resultobject

    -

  • doneboolean

    -

  • statusCodeinteger

    -

  • startedAtinteger

    -

  • startedBystring

    -

  • objectstring

    -

  • outputstring

    -

Example response
{ "name": "string", "id": 0, "state": "WAITING", "result": {}, "done": true, "statusCode": 0, "startedAt": 0, "startedBy": "string", "object": "string", "output": "string" }

get /setup/ceph-version

Get the currently configured Ceph version.

Arguments
  • No arguments...

Definition
get /setup/ceph-version
Attributes
  • cephVersionstring

    [NAUTILUS, MIMIC, LUMINOUS]

Example response
{ "cephVersion": "NAUTILUS" }

post /setup/ceph-version

Set the Ceph version for a fresh deployment or import.

Arguments
  • bodyoptional

    -

Definition
post /setup/ceph-version

get /setup/available-ceph-versions

Get a list of supported Ceph releases.

Arguments
  • No arguments...

Definition
get /setup/available-ceph-versions
Attributes
Example response
[ "NAUTILUS" ]