[Swan-dev] xml changes for testing?

Paul Wouters paul at nohats.ca
Wed Jan 7 17:17:23 EET 2015


On Wed, 7 Jan 2015, Antony Antony wrote:

> commit 5c0f985bf72bc3ca9bfd5c3ba29299905c0f0018
> Author: Antony Antony <antony at phenome.org>
> Date:   Wed Jan 7 09:38:10 2015 +0100
>
>    testing: drop dhcp range bfrom kvm bridge used by kvm

This does more than the description of the commit. Also, why did you
drop it?

- Our comment was wrong/obsolete but the replacement is a warning that does not apply
- IPv6 configuration of the host was removed (meaning you cannot ssh in
   over ipv6 from the host if we you ever wanted to)
- your generated uuid got added - it should be removed so that it won't
   clash on other test system with different uids.

Paul

diff --git a/testing/libvirt/net/192_0_1 b/testing/libvirt/net/192_0_1
index 5e45053..4fb6e81 100644
--- a/testing/libvirt/net/192_0_1
+++ b/testing/libvirt/net/192_0_1
@@ -1,19 +1,15 @@
  <!--
-This net has no "nic" host in the diagram, so we made up 192.0.1.127
-and its mac address.
-"nic" is not used as a VM, it is the host. It's
-interfaces are configured on the bridge. dhcp not used
-
+WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT ARE LIKELY TO BE
+OVERWRITTEN AND LOST. Changes to this xml configuration should be made
using:
+  virsh net-edit 192_0_1
+or other application using the libvirt API.
  -->

  <network ipv6='yes'>
    <name>192_0_1</name>
-  <bridge name='swan01' stp='on' delay='0' />
-  <mac address='12:00:00:16:16:BA'/>
+  <uuid>a397fdea-1bef-4af5-97e1-56cc3ed3fb97</uuid>
+  <bridge name='swan01' stp='on' delay='0'/>
+  <mac address='12:00:00:16:16:ba'/>
    <ip address='192.0.1.127' netmask='255.255.255.0'>
-    <dhcp>
-      <range start='192.0.1.128' end='192.0.1.200' />
-    </dhcp>
    </ip>
-  <ip family="ipv6" address="2001:db8:0:1::253" prefix="64"/>
  </network>



More information about the Swan-dev mailing list