The create command registers a new Sky Node into the registry.

JSON Input Data Format
{
    "name": string,
    "tags": string,
    "type": string,
    "password": string,
    "ip": string,
    "privateip": string,
    "zone": string
}
name * Specifies a name for Sky Node.
tags * Specifies the tags for the Sky Node. For example: DEV, PROD, FIN, etc.
type * Specifies the Sky Node type. Input Bare Metal if the host supports "vt-x" or "amd-v" virtualization. Input Virtual or Cloud otherwise.
password * Specifies the root user password of the Sky Node. This is required to initiate the {NEBULA} deployment process. After {NEBULA} is successfully deployed, this field will be removed, as the {NEBULA} system will manage the server and disable the root user.
ip * Specifies the primary IP address of the Sky Node.
privateip Specifies the motion IP address of the Sky Node. If your server has two network interface cards (NICs), you can specify a secondary IP address to be used for migration data movement.
zone Specifies the hostname or domain for the server, which is necessary to prevent certificate errors. However, exclude this field if you are unsure of the hostname or do not have a domain prepared, as you can register a certificate after the {NEBULA} deployment.
* Indicates a mandatory field.

Code Snippets
Here are several code snippets provided for your direct use. Simply select your preferred tool/language by clicking on it.


Successful Response
{
    "result": "OK",
    "payload": "The process was successfully completed"
}

Failed Response
{
    "result": "ERR",
    "message": "Error message ..."
}