Martin Polreich | e059208 | 2017-05-15 12:32:11 +0200 | [diff] [blame] | 1 | libvirt: |
2 | server: | ||||
3 | enabled: true | ||||
4 | virtualizations: | ||||
5 | - kvm | ||||
6 | network: | ||||
7 | default: | ||||
8 | ensure: absent | ||||
9 | mydefault: | ||||
10 | xml: | | ||||
11 | <network> | ||||
12 | <name>mydefault</name> | ||||
13 | <bridge name="virbr0"/> | ||||
14 | <forward/> | ||||
15 | <ip address="192.168.122.1" netmask="255.255.255.0"> | ||||
16 | <dhcp> | ||||
17 | <range start="192.168.122.2" end="192.168.122.254"/> | ||||
18 | </dhcp> | ||||
19 | </ip> | ||||
20 | </network> | ||||
21 | ovs-net: | ||||
22 | autostart: False | ||||
23 | xml: | | ||||
24 | <network> | ||||
25 | <name>ovs-net</name> | ||||
26 | <forward mode='bridge'/> | ||||
27 | <bridge name='ovsbr0'/> | ||||
28 | <virtualport type='openvswitch'> | ||||
29 | <parameters interfaceid='09b11c53-8b5c-4eeb-8f00-d84eaa0aaa4f'/> | ||||
30 | </virtualport> | ||||
31 | </network> |