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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]