Skip to content

Commit

Permalink
Added host flags enableLogs and manageInternalFirewall
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdickson6 committed Feb 7, 2024
1 parent 96699e8 commit 84879bf
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 0 deletions.
2 changes: 2 additions & 0 deletions components/examples/server.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@
"maxMemory": 1073741824,
"maxStorage": 21474836480,
"maxCpu": null,
"manageInternalFirewall": true,
"enableLogs": true,
"hourlyCost": 0.0513888896,
"hourlyPrice": 0.0513888896,
"sourceImage": {
Expand Down
2 changes: 2 additions & 0 deletions components/examples/servers.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
"maxMemory": 17179869184,
"maxStorage": 17179869184,
"maxCpu": null,
"manageInternalFirewall": true,
"enableLogs": true,
"hourlyCost": 0.1122221653,
"hourlyPrice": 0.1122221653,
"sourceImage": null,
Expand Down
12 changes: 12 additions & 0 deletions components/schemas/hostUpdate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 4 additions & 0 deletions components/schemas/server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,10 @@ properties:
type: integer
format: int64
nullable: true
manageInternalFirewall:
type: boolean
enableLogs:
type: boolean
hourlyCost:
type: number
hourlyPrice:
Expand Down

0 comments on commit 84879bf

Please sign in to comment.