Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -33,76 +33,12 @@ properties:
description: Authentication token for the ISO.
ipxe:
oneOf:
- type: object
properties:
vlan_id:
type:
- integer
- "null"
description: VLAN ID for the IPXE boot.
network_interface:
type:
- integer
- "null"
description: Network interface for the IPXE boot.
static_ip:
type:
- string
- "null"
description: Static IP assigned to the IPXE boot.
netmask:
type:
- string
- "null"
description: Netmask assigned to the IPXE boot.
gateway_ip:
type:
- string
- "null"
description: Gateway IP assigned to the IPXE boot.
dns_ip:
type:
- string
- "null"
description: DNS IP assigned to the IPXE boot.
- $ref: VirtualProviderIsoIpxeConfig.yml
- type: "null"
server:
oneOf:
- type: object
required:
- nics
properties:
storage:
oneOf:
- type: object
properties:
conditional_format:
type: boolean
- type: "null"
sdn_neighbor_preference:
oneOf:
- type: string
enum:
- ipv4
- ipv6
- type: "null"
nics:
description: An array of server network interfaces.
type: array
items:
$ref: VirtualProviderIsoNic.yml
bonds:
description: An array of bonds
type: array
items:
$ref: VirtualProviderIsoBond.yml
additional_kernel_args:
description: Appends additional kernel arguments when booting CycleOS.
oneOf:
- type: string
- type: "null"
- $ref: VirtualProviderIsoServerConfig.yml
- type: "null"

backend:
oneOf:
- type: object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ required:
properties:
interface_name:
type: string

interfaces:
type: array
items:
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
title: VirtualProviderIsoIpxeConfig
description: The IPXE configuration for an ISO.
type: object
properties:
vlan_id:
type:
- integer
- "null"
description: VLAN ID for the IPXE boot.
network_interface:
type:
- integer
- "null"
description: Network interface for the IPXE boot.
static_ip:
type:
- string
- "null"
description: Static IP assigned to the IPXE boot.
netmask:
type:
- string
- "null"
description: Netmask assigned to the IPXE boot.
gateway_ip:
type:
- string
- "null"
description: Gateway IP assigned to the IPXE boot.
dns_ip:
type:
- string
- "null"
description: DNS IP assigned to the IPXE boot.
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
title: VirtualProviderIsoServerConfig
type: object
required:
- nics
properties:
storage:
oneOf:
- type: object
properties:
conditional_format:
type: boolean
raid:
oneOf:
- type: string
description: Determines how Cycle will configure RAID on storage drives.
enum: [disable, max-storage, max-redundancy, balanced]
- type: "null"
- type: "null"
sdn_neighbor_preference:
oneOf:
- type: string
enum:
- ipv4
- ipv6
- type: "null"
nics:
description: An array of server network interfaces.
type: array
items:
$ref: VirtualProviderIsoNic.yml
bonds:
description: An array of bonds
type: array
items:
$ref: VirtualProviderIsoBond.yml
additional_kernel_args:
description: Appends additional kernel arguments when booting CycleOS.
oneOf:
- type: string
- type: "null"
67 changes: 2 additions & 65 deletions platform/paths/infrastructure/virtual-providers/isos/iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -121,74 +121,11 @@ patch:
ipxe:
description: ISO IPXE configuration. Only available when ISO is in new state.
oneOf:
- type: object
properties:
vlan_id:
type:
- integer
- "null"
description: VLAN ID for the IPXE boot.
network_interface:
type:
- integer
- "null"
description: Network interface for the IPXE boot.
static_ip:
type:
- string
- "null"
description: Static IP assigned to the IPXE boot.
netmask:
type:
- string
- "null"
description: Netmask assigned to the IPXE boot.
gateway_ip:
type:
- string
- "null"
description: Gateway IP assigned to the IPXE boot.
dns_ip:
type:
- string
- "null"
description: DNS IP assigned to the IPXE boot.
- $ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoIpxeConfig.yml
- type: "null"
server:
oneOf:
- type: object
required:
- nics
properties:
storage:
oneOf:
- type: object
properties:
conditional_format:
type: boolean
- type: "null"
sdn_neighbor_preference:
oneOf:
- type: string
enum:
- ipv4
- ipv6
- type: "null"
nics:
description: An array of server network interfaces.
type: array
items:
$ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoNic.yml
bonds:
description: An array of bonds
type: array
items:
$ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoBond.yml
additional_kernel_args:
description: Appends additional kernel arguments when booting CycleOS.
oneOf:
- type: string
- type: "null"
- $ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoServerConfig.yml
- type: "null"
responses:
202:
Expand Down
65 changes: 2 additions & 63 deletions platform/paths/infrastructure/virtual-providers/isos/isos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,72 +37,11 @@ post:
description: Authentication token for the ISO.
ipxe:
oneOf:
- type: object
properties:
vlan_id:
type:
- integer
- "null"
description: VLAN ID for the IPXE boot.
network_interface:
type:
- integer
- "null"
description: Network interface for the IPXE boot.
static_ip:
type:
- string
- "null"
description: Static IP assigned to the IPXE boot.
netmask:
type:
- string
- "null"
description: Netmask assigned to the IPXE boot.
gateway_ip:
type:
- string
- "null"
description: Gateway IP assigned to the IPXE boot.
dns_ip:
type:
- string
- "null"
description: DNS IP assigned to the IPXE boot.
- $ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoIpxeConfig.yml
- type: "null"
server:
oneOf:
- type: object
properties:
storage:
oneOf:
- type: object
properties:
conditional_format:
type: boolean
- type: "null"
sdn_neighbor_preference:
oneOf:
- type: string
enum:
- ipv4
- ipv6
- type: "null"
nics:
description: An array of server network interfaces.
type: array
items:
$ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoNic.yml
bonds:
description: An array of bonds
type: array
items:
$ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoBond.yml
additional_kernel_args:
description: Appends additional kernel arguments when booting CycleOS.
oneOf:
- type: string
- type: "null"
- $ref: ../../../../../components/schemas/infrastructure/virtual-providers/VirtualProviderIsoServerConfig.yml
- type: "null"

responses:
Expand Down