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

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-2",
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,40 @@ 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
+ ipPool?: IPPool
109
+ }
110
+
111
+ export type MultusConfigInfo = {
112
+ name?: string
113
+ namespace?: string
114
+ cniType?: string
115
+ hasDefaultIppool?: boolean
116
+ }
117
+
118
+ export type NetworkInterfaceInfo = {
119
+ networkInterface?: string
120
+ multusConfigs?: MultusConfigInfo[]
121
+ }
122
+
123
+ export type IPPool = {
124
+ ipv4?: string[]
125
+ ipv6?: string[]
92
126
  }
93
127
 
94
128
  export type VMDisks = {