@daocloud-proto/virtnest 0.7.1 → 0.8.0-dev-1

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.7.1",
3
+ "version":"0.8.0-dev-1",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
package/v1alpha1/vm.pb.ts CHANGED
@@ -547,6 +547,7 @@ export type CreateVMWithVMTemplateRequest = {
547
547
  osVersion?: string
548
548
  secret?: string
549
549
  network?: MultusNetwork
550
+ createPowerOn?: boolean
550
551
  }
551
552
 
552
553
  export type CreateVMWithVMTemplateResponse = {
@@ -89,6 +89,34 @@ export type GetVMTemplateResponse = {
89
89
  network?: string
90
90
  disks?: VMDisks
91
91
  gpus?: GPU[]
92
+ networks?: MultusNetworkInfo
93
+ }
94
+
95
+ export type MultusNetworkInfo = {
96
+ networkMode?: string
97
+ items?: MultusNetworkInfoItem[]
98
+ }
99
+
100
+ export type MultusNetworkInfoItem = {
101
+ multusConfig?: MultusConfigInfo
102
+ interface?: string
103
+ ips?: string[]
104
+ mac?: string
105
+ subnet?: string
106
+ gateway?: string
107
+ vlanId?: string
108
+ }
109
+
110
+ export type MultusConfigInfo = {
111
+ name?: string
112
+ namespace?: string
113
+ cniType?: string
114
+ hasDefaultIppool?: boolean
115
+ }
116
+
117
+ export type NetworkInterfaceInfo = {
118
+ networkInterface?: string
119
+ multusConfigs?: MultusConfigInfo[]
92
120
  }
93
121
 
94
122
  export type VMDisks = {