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

Re: Fwd: Re: [Libvir] update after changing XML



Richard W.M. Jones wrote:
My bridge section looks like this:

    <interface type='bridge'>
      <source dev='br0'/>
      <target dev='vnet7'/>
      <mac address="11:22:33:44:EE:FC"/>
    </interface>

Do I need to create the vnet7 device before hand?  I thought this might be something libvirt created on startup.  Or, is the define error related to something else?  My current XML file appears to be well formed.

Looking at the code, I think the error message is misleading. In fact the problem appears to be that you need to have:

     <interface type='bridge'>
       <source bridge='br0'/>  <!-- NB -->
       <target dev='vnet7'/>
       <mac address="11:22:33:44:EE:FC"/>
     </interface>

Dan is this intended behaviour or a bug?

Rich.

--
Emerging Technologies, Red Hat - http://et.redhat.com/~rjones/
Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod
Street, Windsor, Berkshire, SL4 1TE, United Kingdom.  Registered in
England and Wales under Company Registration No. 03798903

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


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