[libvirt] <script path='...'/> ignored for interface types 'bridge' and 'network'

Daniel P. Berrange berrange at redhat.com
Thu Jul 3 08:21:35 UTC 2008


On Wed, Jul 02, 2008 at 06:26:43PM -0700, Emele, Joshua M wrote:
>  
>     <interface type='bridge'>
>       <source bridge='br0'/>
>       <script path='/etc/libvirt/qemu/test1-networking'/>
>     </interface>
>  
> Unfortunately this value is never used. I'm using:
 
> Is there a way to force libvirt to use the specified script with
> interface type 'network' or 'bridge'? If not, are there plans in the
> future to do so?

No, with network/bridge configs libvirt manages the device setup
itself. With type=ethernet, device setup is handed off to the 
script specified. As such it it doesn't make any sense to use a
script with network/bridge configs - its just not appicable

Daniel
-- 
|: Red Hat, Engineering, London   -o-   http://people.redhat.com/berrange/ :|
|: http://libvirt.org  -o-  http://virt-manager.org  -o-  http://ovirt.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505  -o-  F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|




More information about the libvir-list mailing list