Bug 505720

Summary: [PATCH] libvirt network schema fixes
Product: [Community] Virtualization Tools Reporter: Satoru SATOH <ssato>
Component: libvirtAssignee: Daniel Veillard <veillard>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: berrange, clalance, crobinso, itamar, markmc, veillard, virt-maint, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-07-02 14:06:20 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Libvirt network schema fixes
none
A sample network definition XML file to test the new network schema
none
Another sample network definition XML file to test the new network schema
none
A patch to make libvirt preserve network domain configuration ('/network/domain') none

Description Satoru SATOH 2009-06-13 06:36:33 UTC
Created attachment 347711 [details]
Libvirt network schema fixes

Description of problem:
Libvirt's network schema file (network.rng) lacks support of some elements for DHCP configuration (domain, host-ip-mac, etc).

Along with this network schema updates, I came across a bug of libvirt does not save <domain/> correctly. I also attached an experimental patch may fix that
(I did not build/test it).


Version-Release number of selected component (if applicable):
confirmed with libvirt-0.6.4-2.fc12.i586 and git HEAD

Comment 1 Satoru SATOH 2009-06-13 06:38:49 UTC
Created attachment 347712 [details]
A sample network definition XML file to test the new network schema

Comment 2 Satoru SATOH 2009-06-13 06:39:41 UTC
Created attachment 347713 [details]
Another sample network definition XML file to test the new network schema

Comment 3 Satoru SATOH 2009-06-13 06:45:47 UTC
Created attachment 347714 [details]
A patch to make libvirt preserve network domain configuration ('/network/domain')

Comment 4 Mark McLoughlin 2009-06-22 15:59:10 UTC
Thanks for the patches - could you please send these to libvir-list ?

Comment 5 Satoru SATOH 2009-06-29 17:40:42 UTC
Thank for your comments! I posted them on the list.

Comment 6 Daniel Veillard 2009-07-02 14:06:20 UTC
Okay pathes applied upstream, this will be in the upcoming 0.6.5 release,

  thanks !

Daniel