cloud-hypervisor/vmm
Sebastien Boeuf befd342da4 vmm: api: Make NetConfig defaults match between CLI and HTTP API
In order to let the CLI and the HTTP API behave the same regarding the
NetConfig structure, this patch defines some default values for tap, ip,
mask, mac and iommu.

tap is None, ip is 192.168.249.1, mask is 255.255.255.0, mac is a
randomly generated value, and iommu is false.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
2019-12-09 23:19:24 -08:00
..
src vmm: api: Make NetConfig defaults match between CLI and HTTP API 2019-12-09 23:19:24 -08:00
Cargo.toml cargo: Bump the kvm and vmm-sys-util crates 2019-11-29 17:48:02 +00:00