File tree Expand file tree Collapse file tree 2 files changed +25
-24
lines changed
cmd/metal-api/internal/service/v1 Expand file tree Collapse file tree 2 files changed +25
-24
lines changed Original file line number Diff line number Diff line change @@ -155,7 +155,7 @@ type MachineAllocationNetworks []MachineAllocationNetwork
155
155
156
156
type MachineAllocationNetwork struct {
157
157
NetworkID string `json:"networkid" description:"the id of the network that this machine will be placed in"`
158
- AutoAcquireIP * bool `json:"autoacquire" description:"will automatically acquire an ip in this network if set to true, default is true" optional:"true" `
158
+ AutoAcquireIP * bool `json:"autoacquire" description:"will automatically acquire an ip in this network if set to true, default is true"`
159
159
}
160
160
161
161
type MachineFinalizeAllocationRequest struct {
Original file line number Diff line number Diff line change 2627
2627
},
2628
2628
"v1.FirewallCreateRequest" : {
2629
2629
"required" : [
2630
+ " projectid" ,
2631
+ " imageid" ,
2630
2632
" sizeid" ,
2631
- " partitionid" ,
2632
2633
" ssh_pub_keys" ,
2633
2634
" tenant" ,
2634
- " imageid" ,
2635
- " projectid"
2635
+ " partitionid"
2636
2636
],
2637
2637
"properties" : {
2638
2638
"description" : {
2711
2711
},
2712
2712
"v1.FirewallResponse" : {
2713
2713
"required" : [
2714
+ " id" ,
2714
2715
" liveliness" ,
2715
- " changed" ,
2716
- " size" ,
2717
- " allocation" ,
2718
- " rackid" ,
2716
+ " tags" ,
2719
2717
" hardware" ,
2720
- " id " ,
2718
+ " state " ,
2721
2719
" events" ,
2722
2720
" partition" ,
2723
- " tags" ,
2724
- " state" ,
2725
- " created"
2721
+ " rackid" ,
2722
+ " changed" ,
2723
+ " allocation" ,
2724
+ " created" ,
2725
+ " size"
2726
2726
],
2727
2727
"properties" : {
2728
2728
"allocation" : {
3152
3152
},
3153
3153
"v1.MachineAllocationNetwork" : {
3154
3154
"required" : [
3155
- " networkid"
3155
+ " networkid" ,
3156
+ " autoacquire"
3156
3157
],
3157
3158
"properties" : {
3158
3159
"autoacquire" : {
3231
3232
},
3232
3233
"v1.MachineHardware" : {
3233
3234
"required" : [
3235
+ " memory" ,
3234
3236
" cpu_cores" ,
3235
3237
" disks" ,
3236
- " memory" ,
3237
3238
" nics"
3238
3239
],
3239
3240
"properties" : {
3542
3543
"required" : [
3543
3544
" id" ,
3544
3545
" partition" ,
3545
- " size" ,
3546
3546
" allocation" ,
3547
- " state" ,
3548
- " liveliness" ,
3547
+ " events" ,
3549
3548
" rackid" ,
3549
+ " size" ,
3550
3550
" hardware" ,
3551
- " events" ,
3551
+ " state" ,
3552
+ " liveliness" ,
3552
3553
" tags" ,
3553
3554
" created" ,
3554
3555
" changed"
3642
3643
"v1.NetworkCreateRequest" : {
3643
3644
"required" : [
3644
3645
" id" ,
3645
- " underlay" ,
3646
- " parentnetworkid" ,
3647
3646
" prefixes" ,
3648
3647
" destinationprefixes" ,
3649
3648
" nat" ,
3650
- " primary"
3649
+ " primary" ,
3650
+ " underlay" ,
3651
+ " parentnetworkid"
3651
3652
],
3652
3653
"properties" : {
3653
3654
"description" : {
3711
3712
"v1.NetworkResponse" : {
3712
3713
"required" : [
3713
3714
" id" ,
3715
+ " parentnetworkid" ,
3714
3716
" prefixes" ,
3715
3717
" destinationprefixes" ,
3716
3718
" nat" ,
3717
3719
" primary" ,
3718
3720
" underlay" ,
3719
- " parentnetworkid" ,
3720
3721
" usage" ,
3721
3722
" created" ,
3722
3723
" changed"
3934
3935
"required" : [
3935
3936
" id" ,
3936
3937
" bootconfig" ,
3937
- " created " ,
3938
- " changed "
3938
+ " changed " ,
3939
+ " created "
3939
3940
],
3940
3941
"properties" : {
3941
3942
"bootconfig" : {
You can’t perform that action at this time.
0 commit comments