@daocloud-proto/virtnest 0.18.1 → 0.19.0-dev1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/virtnest",
3
- "version":"0.18.1",
3
+ "version":"0.19.0-dev1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
package/v1alpha1/vm.pb.ts CHANGED
@@ -187,6 +187,7 @@ export type CreateVMRequest = {
187
187
  network?: MultusNetwork
188
188
  createPowerOn?: boolean
189
189
  gpus?: GPU[]
190
+ nameservers?: string[]
190
191
  }
191
192
 
192
193
  export type GPU = {
@@ -231,6 +232,7 @@ export type UpdateVMRequest = {
231
232
  disks?: VMDisks
232
233
  gpus?: GPU[]
233
234
  network?: MultusNetwork
235
+ nameservers?: string[]
234
236
  }
235
237
 
236
238
  export type UpdateVMResponse = {
@@ -586,6 +588,7 @@ export type CreateVMWithVMTemplateRequest = {
586
588
  network?: MultusNetwork
587
589
  createPowerOn?: boolean
588
590
  gpus?: GPU[]
591
+ nameservers?: string[]
589
592
  }
590
593
 
591
594
  export type CreateVMWithVMTemplateResponse = {
@@ -596,6 +599,8 @@ export type MultusConfigInfo = {
596
599
  namespace?: string
597
600
  cniType?: string
598
601
  hasDefaultIppool?: boolean
602
+ defaultIp4Pools?: string[]
603
+ defaultIp6Pools?: string[]
599
604
  }
600
605
 
601
606
  export type NetworkInterfaceInfo = {
@@ -94,6 +94,7 @@ export type GetVMTemplateResponse = {
94
94
  disks?: VMDisks
95
95
  gpus?: GPU[]
96
96
  networks?: MultusNetworkInfo
97
+ nameservers?: string[]
97
98
  }
98
99
 
99
100
  export type MultusNetworkInfo = {