Bug 505720 - [PATCH] libvirt network schema fixes
Summary: [PATCH] libvirt network schema fixes
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Daniel Veillard
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-13 06:36 UTC by Satoru SATOH
Modified: 2010-03-16 17:20 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-07-02 14:06:20 UTC
Embargoed:


Attachments (Terms of Use)
Libvirt network schema fixes (1.67 KB, text/plain)
2009-06-13 06:36 UTC, Satoru SATOH
no flags Details
A sample network definition XML file to test the new network schema (416 bytes, application/xml)
2009-06-13 06:38 UTC, Satoru SATOH
no flags Details
Another sample network definition XML file to test the new network schema (416 bytes, application/xml)
2009-06-13 06:39 UTC, Satoru SATOH
no flags Details
A patch to make libvirt preserve network domain configuration ('/network/domain') (799 bytes, patch)
2009-06-13 06:45 UTC, Satoru SATOH
no flags Details | Diff

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


Note You need to log in before you can comment on or make changes to this bug.