On 12/02/2016 12:29 AM, Leno Hou wrote:
This patch fixes the problem as shown below.
* virsh dumpxml failed with vlan1292 in inactive status
* virt-manager failed to view vlan1292 interface details.
RedHat Bugzilla:#1398143
Applying the patch causes test-redhat to fail (run "make check", then
look in the file tests/test-redhat.log). The specific test that fails is
one that creates a bridge that has a vlan interface attached to it
<interface type="bridge" name="br0">
<start mode="onboot"/>
<protocol family="ipv4">
<dhcp/>
</protocol>
<bridge stp="off">
<interface type="vlan" name="eth0.42">
<vlan tag="42">
<interface name="eth0"/>
</vlan>
</interface>
</bridge>
</interface>
Instead of creating the files ifcfg-br0 and ifcfg-eth0.42, it thinks it
has to create 2 files named ifcfg-br0, and messes up the contents of the
2nd (misnamed) file as well.
Even before that's fixed, I'll try to send more comments about the
contents of the patches, but probably won't be able to do that today
(unless I have some time tonight). In the meantime, if the fix to the
above problem is obvious to you (I doubt that it will be obvious to me,
because I am truly bad at navigating xsl transforms!) and you can post a
revised patch with a quick fix, that would be helpful.
Thanks for your patience (and for tackling a problem that needs xsl fu!)
_______________________________________________
netcf-devel mailing list -- netcf-devel@lists.fedorahosted.org
To unsubscribe send an email to netcf-devel-le...@lists.fedorahosted.org