[libvirt] [PATCH] openvz: swap <source bridge=...> with <target dev=...>

Evgeniy Sokolov evg at openvz.org
Fri Oct 3 12:04:06 UTC 2008


> 
> P.S. Now I am working on that:
> 
> 
> 
>         P.S. Are someone going to implement
>              <interface type='bridge'>
>                 ...
>                  <source bridge="...">
>                 ...
>               </interface>
>         part of openvz driver? :)
> 
>     I plan to implement it in a month.
>     It will be fine if you are ready to develop the feature.
> 
> 
> I'm using $veid.conf to store information about bridge device in the 
> following manner:
> for interface <ifname>, therhe will be a line
>    #BRIGDE(<ifname>): <bridge name>
> for example,
>    #BRIDGE(veth101.0): virbr1
> 
> Do you agree with that behaviour?
I think we can simplify format to simplify parsing.
#BRIDGE="virbr1:veth101.0,veth101.1,veth101.2"

In this case we may use
openvzReadConfigParam(101, "#BRIDGE", value, 1024)






More information about the libvir-list mailing list