diff --git a/components/examples/server.json b/components/examples/server.json index 6993774..7561bb4 100644 --- a/components/examples/server.json +++ b/components/examples/server.json @@ -94,6 +94,8 @@ "maxMemory": 1073741824, "maxStorage": 21474836480, "maxCpu": null, + "manageInternalFirewall": true, + "enableLogs": true, "hourlyCost": 0.0513888896, "hourlyPrice": 0.0513888896, "sourceImage": { diff --git a/components/examples/servers.json b/components/examples/servers.json index c540cee..6608020 100644 --- a/components/examples/servers.json +++ b/components/examples/servers.json @@ -83,6 +83,8 @@ "maxMemory": 17179869184, "maxStorage": 17179869184, "maxCpu": null, + "manageInternalFirewall": true, + "enableLogs": true, "hourlyCost": 0.1122221653, "hourlyPrice": 0.1122221653, "sourceImage": null, diff --git a/components/schemas/hostUpdate.yaml b/components/schemas/hostUpdate.yaml index dd964a4..4ad1ae6 100644 --- a/components/schemas/hostUpdate.yaml +++ b/components/schemas/hostUpdate.yaml @@ -8,6 +8,18 @@ properties: type: string description: Optional description field. example: "my new server" + enabled: + type: boolean + description: Flag to determine if a host can be selected for provisioning + default: true + manageInternalFirewall: + type: boolean + description: Flag to enable/disable managment of internal firewall + default: true + enableLogs: + type: boolean + description: Flag to enable/disable logs + default: true sshUsername: type: string description: SSH Username diff --git a/components/schemas/server.yaml b/components/schemas/server.yaml index dfa546f..6fe4393 100644 --- a/components/schemas/server.yaml +++ b/components/schemas/server.yaml @@ -232,6 +232,10 @@ properties: type: integer format: int64 nullable: true + manageInternalFirewall: + type: boolean + enableLogs: + type: boolean hourlyCost: type: number hourlyPrice: