Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for deploying servers without guest OS customisation #14

Open
tintoy opened this issue Apr 17, 2017 · 0 comments
Open

Add support for deploying servers without guest OS customisation #14

tintoy opened this issue Apr 17, 2017 · 0 comments

Comments

@tintoy
Copy link
Contributor

tintoy commented Apr 17, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant