Comment 2 for bug 1591249

Revision history for this message
ALU (c-launchpadmail) wrote :

This appears to be something tied to Ubuntu's back-end for processing these XML files.

I got ncftool to give a very similar dump to virsh's with --live

ncftool> dumpxml --live bond0
<?xml version="1.0"?>
<interface name="bond0" type="bond">
  <link state="up" speed="2000"/>
  <bond>
    <interface name="eno1" type="ethernet">
      <link state="up" speed="1000"/>
      <mac address="REDACTED:1b:f4"/>
    </interface>
    <interface name="eno2" type="ethernet">
      <link state="up" speed="1000"/>
      <mac address="REDACTED:1b:f4"/>yy
    </interface>
  </bond>
  <protocol family="ipv4">
    <ip address="192.168.1.16" prefix="24"/>
  </protocol>
  <protocol family="ipv6">
    <ip address="REDACTED:1bf4" prefix="64"/>
  </protocol>
</interface>

---------------------------

Running
$ncftool dumpxml --live bond0 > /tmp/bond0.xml
$ncftool define /tmp/bond0.xml
error: XML invalid
error: Expecting an element start, got nothing
----------------------

This appears to be something tied to Ubuntu's back-end for processing these XML files.