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

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

On 04/25/2013 02:13 PM, Gene Czarcinski wrote:
>> It is getting real close and it should be ready "real soon now" ;))
> With IPv4 using address='' and netmask='' 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

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