Support Bridged Network (#78)

* Support Bridged Network

Inspired by https://github.com/cirruslabs/tart/issues/473

* Fixed tests
This commit is contained in:
Fedor Korotkov
2023-04-20 15:04:07 +04:00
committed by GitHub
parent a8771a046e
commit dd5e588eb0
4 changed files with 21 additions and 17 deletions
+6 -5
View File
@@ -19,11 +19,12 @@ type Meta struct {
}
type VM struct {
Image string `json:"image"`
CPU uint64 `json:"cpu"`
Memory uint64 `json:"memory"`
Softnet bool `json:"softnet"`
Headless bool `json:"headless"`
Image string `json:"image"`
CPU uint64 `json:"cpu"`
Memory uint64 `json:"memory"`
NetSoftnet bool `json:"net-softnet"`
NetBridged string `json:"net-bridged"`
Headless bool `json:"headless"`
// Status field is used to track the lifecycle of the VM associated with this resource.
Status VMStatus `json:"status"`