Skip to content

Commit 55bf801

Browse files
committed
Removed redundant Machine health probe schema
1 parent 59a1ee7 commit 55bf801

10 files changed

Lines changed: 254 additions & 241 deletions

rest-api/docs/index.html

Lines changed: 73 additions & 73 deletions
Large diffs are not rendered by default.

rest-api/openapi/spec.yaml

Lines changed: 18 additions & 65 deletions
Original file line numberDiff line numberDiff line change
@@ -13527,7 +13527,7 @@ components:
1352713527
BmcResetRequest:
1352813528
type: object
1352913529
title: BmcResetRequest
13530-
description: Request to reset a Machine BMC through NICo Core.
13530+
description: Request to reset a Machine BMC
1353113531
properties:
1353213532
useIpmiTool:
1353313533
type: boolean
@@ -13538,7 +13538,7 @@ components:
1353813538
DpuReprovisionRequest:
1353913539
type: object
1354013540
title: DpuReprovisionRequest
13541-
description: Request to trigger DPU reprovisioning through NICo Core.
13541+
description: Request to trigger DPU reprovisioning for a Machine
1354213542
required:
1354313543
- mode
1354413544
properties:
@@ -13559,7 +13559,7 @@ components:
1355913559
MachineHealthReportEntry:
1356013560
type: object
1356113561
title: MachineHealthReportEntry
13562-
description: Machine health report entry submitted to NICo Core.
13562+
description: Machine health report entry
1356313563
required:
1356413564
- source
1356513565
- mode
@@ -13577,16 +13577,16 @@ components:
1357713577
successes:
1357813578
type: array
1357913579
items:
13580-
$ref: '#/components/schemas/MachineHealthReportProbeSuccess'
13580+
$ref: '#/components/schemas/MachineHealthProbeSuccess'
1358113581
description: Results from successful health probes for the Machine.
1358213582
alerts:
1358313583
type: array
1358413584
items:
13585-
$ref: '#/components/schemas/MachineHealthReportProbeAlert'
13585+
$ref: '#/components/schemas/MachineHealthProbeAlert'
1358613586
description: Results from failed health probes for the Machine.
1358713587
mode:
1358813588
type: string
13589-
description: How NICo Core applies this health report.
13589+
description: How this health report was updated
1359013590
enum:
1359113591
- Merge
1359213592
- Replace
@@ -13614,12 +13614,12 @@ components:
1361413614
successes:
1361513615
type: array
1361613616
items:
13617-
$ref: '#/components/schemas/MachineHealthReportProbeSuccess'
13617+
$ref: '#/components/schemas/MachineHealthProbeSuccess'
1361813618
description: Results from successful health probes for the Machine.
1361913619
alerts:
1362013620
type: array
1362113621
items:
13622-
$ref: '#/components/schemas/MachineHealthReportProbeAlert'
13622+
$ref: '#/components/schemas/MachineHealthProbeAlert'
1362313623
description: Results from failed health probes for the Machine.
1362413624
mode:
1362513625
type: string
@@ -13635,59 +13635,6 @@ components:
1363513635
message: DPU reprovisioning in progress
1363613636
classifications:
1363713637
- maintenance
13638-
MachineHealthReportProbeSuccess:
13639-
type: object
13640-
title: MachineHealthReportProbeSuccess
13641-
description: Successful Machine health probe submitted to NICo Core.
13642-
required:
13643-
- id
13644-
properties:
13645-
id:
13646-
type: string
13647-
description: Health probe identifier.
13648-
target:
13649-
type: string
13650-
description: Specific component targeted by health probe.
13651-
examples:
13652-
- id: host.reachable
13653-
target: host
13654-
MachineHealthReportProbeAlert:
13655-
type: object
13656-
title: MachineHealthReportProbeAlert
13657-
description: Failed Machine health probe submitted to NICo Core.
13658-
required:
13659-
- id
13660-
- message
13661-
properties:
13662-
id:
13663-
type: string
13664-
description: Health probe identifier.
13665-
target:
13666-
type: string
13667-
description: Specific component targeted by health probe.
13668-
inAlertSince:
13669-
type: string
13670-
format: date-time
13671-
description: Date/time since the alert has been in effect.
13672-
message:
13673-
type: string
13674-
description: Details of the failed health probe result.
13675-
tenantMessage:
13676-
type: string
13677-
description: Information provided by Tenant, if any.
13678-
classifications:
13679-
type: array
13680-
items:
13681-
type: string
13682-
description: Classifications for this alert.
13683-
examples:
13684-
- id: dpu.reprovision.in.progress
13685-
target: dpu0
13686-
inAlertSince: '2026-06-24T12:00:00Z'
13687-
message: DPU reprovisioning in progress
13688-
tenantMessage: Maintenance in progress
13689-
classifications:
13690-
- maintenance
1369113638
HostFirmwareArtifact:
1369213639
type: object
1369313640
title: HostFirmwareArtifact
@@ -13983,7 +13930,7 @@ components:
1398313930
MachinePowerControlRequest:
1398413931
type: object
1398513932
title: MachinePowerControlRequest
13986-
description: Request to power control a Machine through NICo Core.
13933+
description: Request to power control a Machine
1398713934
required:
1398813935
- action
1398913936
properties:
@@ -20841,6 +20788,8 @@ components:
2084120788
title: MachineHealthProbeSuccess
2084220789
type: object
2084320790
description: Describes results of successful Machine health probe
20791+
required:
20792+
- id
2084420793
examples:
2084520794
- id: FanSpeed
2084620795
target: System Board Fan1A
@@ -20857,6 +20806,9 @@ components:
2085720806
title: MachineHealthProbeAlert
2085820807
type: object
2085920808
description: Describes results of a failed Machine health probe
20809+
required:
20810+
- id
20811+
- message
2086020812
examples:
2086120813
- id: FailedValidationTest
2086220814
target: DcgmFullShort
@@ -20882,6 +20834,7 @@ components:
2088220834
type:
2088320835
- string
2088420836
- 'null'
20837+
format: date-time
2088520838
description: Date/time since the alert has been in effect
2088620839
message:
2088720840
type: string
@@ -24724,7 +24677,7 @@ components:
2472424677
properties:
2472524678
id:
2472624679
type: string
24727-
description: ID of the DPU Machine (matches the host Machine ID for the DPU as reported by NICo Core)
24680+
description: ID of the DPU Machine
2472824681
infrastructureProviderId:
2472924682
type: string
2473024683
format: uuid
@@ -24765,7 +24718,7 @@ components:
2476524718
description: Labels associated with the DPU
2476624719
state:
2476724720
type: string
24768-
description: Lifecycle state of the DPU as reported by NICo Core
24721+
description: Lifecycle state of the DPU
2476924722
dpuNetworkConfig:
2477024723
$ref: '#/components/schemas/DpuNetworkConfig'
2477124724
description: Complete network configuration sent to the DPU agent
@@ -24774,7 +24727,7 @@ components:
2477424727
- string
2477524728
- 'null'
2477624729
format: date-time
24777-
description: Last reboot timestamp reported by NICo Core
24730+
description: Last reboot timestamp
2477824731
placementInRack:
2477924732
$ref: '#/components/schemas/PlacementInRack'
2478024733
description: 'Physical placement of the DPU Machine within its Rack, when known'

rest-api/sdk/standard/model_bmc_reset_request.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest-api/sdk/standard/model_dpu_machine.go

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

rest-api/sdk/standard/model_dpu_reprovision_request.go

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)