[libvirt] [PATCH-v4 2/2] Support for static routes on a virtual bridge

Eric Blake eblake at redhat.com
Thu Apr 25 20:34:23 UTC 2013


On 04/25/2013 02:13 PM, Gene Czarcinski wrote:
>> It is getting real close and it should be ready "real soon now" ;))
>>
> AARRRRGH!!!!
> 
> With IPv4 using address='0.0.0.0' and netmask='0.0.0.0' things work just
> fine but with prefix not so much.  The problem is that with prefix=0, it
> is not in the xml which then results it it defaulting at a later time. 

Is it getting defaulted back to 0?  In the past, if we have XML elements
that can validly be 0, but where 0 is not the default, it works to add a
witness field (has_prefix); if has_prefix is true, then use prefix
instead of defaulting to a non-zero prefix that we normally use.  Yeah,
it's a bit of a pain, but it's not the first time.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130425/7354f980/attachment-0001.sig>


More information about the libvir-list mailing list