Skip to content

Add support for deploying servers without guest OS customisation #14

Description

@tintoy

Deployment payload:

{
    "name": "Production Server",
    "description": "Uncustomized appliance server.",
    "imageId": "e926545b-1b9c-4068-8cef-076830a9a0bc",
    "start": "false",
    "cpu": {
        "speed": "ECONOMY",
        "count": "9",
        "coresPerSocket": "3"
    },
    "memoryGb": "2",
    "networkInfo": {
        "networkDomainId": "e926545b-1b9c-4068-8cef-076830a9a0bc",
        "primaryNic": {
            "privateIpv4": "10.0.1.15",
            "networkAdapter": "VMXNET3"
        },
        "additionalNic": [
            {
                "vlanId": "secondVlanId",
                "networkAdapter": "VMXNET3"
            }
        ]
    },
    "disk": [
        {
            "id": "d99e4d2a-24c0-4c54-b491-e56697b8f004",
            "speed": "ECONOMY"
        },
        {
            "id": "e6a3c0b7-cd32-4224-b8ec-5f1359940204",
            "speed": "HIGHPERFORMANCE"
        }
    ],
    "tag": [
        {
            "tagKeyName": "department",
            "value": "IT"
        },
        {
            "tagKeyName": "backup"
        }
    ]
}

Compare this to the standard (with guest OS customisation) deployment payload:

{
    "imageId": "8241f16d-3cda-4030-a9fe-6233cc94990b",
    "start": true,
    "disk": [
        {
            "speed": "STANDARD",
            "id": "d99e4d2a-24c0-4c54-b491-e56697b8f004"
        }
    ],
    "administratorPassword": "P$$ssWwrrdGoDd!",
    "cpu": {
        "count": 4,
        "coresPerSocket": 1,
        "speed": "STANDARD"
    },
    "memoryGb": 4,
    "description": "This is the main FTPS Server",
    "network": {
        "privateIpv4": "10.160.117.45"
    },
    "primaryDns": "10.160.117.125",
    "secondaryDns": "10.160.117.125",
    "name": "Production FTPS Server (Local DNS)",
    "tag": [
        {
            "tagKeyName": "department",
            "value": "IT"
        },
        {
            "tagKeyName": "backup"
        }
    ]
}

Requires API v2.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions