Add a new OpenAPI v3 REST API to warewulfd at /api
Co-authored-by: jason yang <jasonyangshadow@gmail.com> Signed-off-by: Jonathon Anderson <janderson@ciq.com>
This commit is contained in:
@@ -153,25 +153,7 @@ nodes:
|
||||
args: []string{"-j"},
|
||||
output: `
|
||||
{
|
||||
"default": {
|
||||
"Profiles": null,
|
||||
"Comment": "",
|
||||
"ClusterName": "",
|
||||
"ImageName": "",
|
||||
"Ipxe": "",
|
||||
"RuntimeOverlay": null,
|
||||
"SystemOverlay": null,
|
||||
"Kernel": null,
|
||||
"Ipmi": null,
|
||||
"Init": "",
|
||||
"Root": "",
|
||||
"NetDevs": null,
|
||||
"Tags": null,
|
||||
"PrimaryNetDev": "",
|
||||
"Disks": null,
|
||||
"FileSystems": null,
|
||||
"Resources": null
|
||||
}
|
||||
"default": {}
|
||||
}
|
||||
`,
|
||||
inDb: `
|
||||
@@ -205,44 +187,8 @@ nodes:
|
||||
args: []string{"-j"},
|
||||
output: `
|
||||
{
|
||||
"default": {
|
||||
"Profiles": null,
|
||||
"Comment": "",
|
||||
"ClusterName": "",
|
||||
"ImageName": "",
|
||||
"Ipxe": "",
|
||||
"RuntimeOverlay": null,
|
||||
"SystemOverlay": null,
|
||||
"Kernel": null,
|
||||
"Ipmi": null,
|
||||
"Init": "",
|
||||
"Root": "",
|
||||
"NetDevs": null,
|
||||
"Tags": null,
|
||||
"PrimaryNetDev": "",
|
||||
"Disks": null,
|
||||
"FileSystems": null,
|
||||
"Resources": null
|
||||
},
|
||||
"test": {
|
||||
"Profiles": null,
|
||||
"Comment": "",
|
||||
"ClusterName": "",
|
||||
"ImageName": "",
|
||||
"Ipxe": "",
|
||||
"RuntimeOverlay": null,
|
||||
"SystemOverlay": null,
|
||||
"Kernel": null,
|
||||
"Ipmi": null,
|
||||
"Init": "",
|
||||
"Root": "",
|
||||
"NetDevs": null,
|
||||
"Tags": null,
|
||||
"PrimaryNetDev": "",
|
||||
"Disks": null,
|
||||
"FileSystems": null,
|
||||
"Resources": null
|
||||
}
|
||||
"default": {},
|
||||
"test": {}
|
||||
}
|
||||
`,
|
||||
inDb: `
|
||||
|
||||
Reference in New Issue
Block a user