mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-28 11:31:16 +00:00
Since we're setting the zone anyway, it will be useful to allow setting a different (custom) zone for each network. This will be done by adding a "zone" attribute to the "bridge" element, e.g.: ... <bridge name='virbr0' zone='myzone'/> ... If a zone is specified in the config and it can't be honored, this will be an error. Signed-off-by: Laine Stump <laine@laine.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
12 lines
330 B
XML
12 lines
330 B
XML
<network>
|
|
<name>local</name>
|
|
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
|
|
<forward dev='eth1' mode='route'>
|
|
<interface dev='eth1'/>
|
|
</forward>
|
|
<bridge name='virbr1' zone='myzone' stp='on' delay='0'/>
|
|
<mac address='12:34:56:78:9a:bc'/>
|
|
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
|
</ip>
|
|
</network>
|