1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-23 21:34:54 +03:00
libvirt/tests/libxlxml2domconfigdata/multiple-ip.json
Marek Marczykowski-Górecki 984c534a3f tests: add test for multiple IPs for libxl and xenconfig driver
Test conversion of multiple IP addresses to/from xl format and
domXML. Also test libxl_domain_config generator handling of
multiple IP addresses.

Reviewed-by: Jim Fehlig <jfehlig@suse.com>
2017-12-08 14:04:57 -07:00

38 lines
755 B
JSON

{
"c_info": {
"type": "pv",
"name": "test-pv",
"uuid": "039e9ee6-4a84-3055-4c81-8ba426ae2656"
},
"b_info": {
"max_vcpus": 4,
"avail_vcpus": [
0,
1,
2,
3
],
"max_memkb": 524288,
"target_memkb": 524288,
"sched_params": {
"weight": 1000
},
"type.pv": {
"bootloader": "pygrub"
},
"arch_arm": {
}
},
"nics": [
{
"devid": 0,
"mac": "00:16:3e:3e:86:60",
"ip": "10.0.0.1 2000:abcd::1",
"script": "/etc/xen/scripts/vif-bridge",
"nictype": "vif"
}
],
"on_reboot": "restart"
}