mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 07:05:28 +00:00
ab4bf20ead
The domain XML generator creates the mac addres strings with lowercase strings with a separate piece of code. This patch changes the formating helper to do the same stuff to allow using it to normalize a string provided by the user. After this change some of the tests that are outputing the mac address will need to be changed.
12 lines
325 B
XML
12 lines
325 B
XML
<network>
|
|
<name>private</name>
|
|
<uuid>81ff0d90-c91e-6742-64da-4a736edb9a9b</uuid>
|
|
<bridge name='virbr2' stp='on' delay='0' />
|
|
<mac address='52:54:00:17:3f:37'/>
|
|
<ip address='192.168.152.1' netmask='255.255.255.0'>
|
|
<dhcp>
|
|
<range start='192.168.152.2' end='192.168.152.254' />
|
|
</dhcp>
|
|
</ip>
|
|
</network>
|