WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Inconsistent domain parameter passed to vif-bridge

To: Michael Vrable <mvrable@xxxxxxxxxxx>
Subject: Re: [Xen-devel] Inconsistent domain parameter passed to vif-bridge
From: Ian Pratt <Ian.Pratt@xxxxxxxxxxxx>
Date: Sat, 31 Jul 2004 12:16:10 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx, Ian.Pratt@xxxxxxxxxxxx
Delivery-date: Sat, 31 Jul 2004 12:19:55 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Fri, 30 Jul 2004 15:20:06 PDT." <20040730152006.A15608@xxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
> It seems that the "domain" parameter passed to the vif-bridge script
> isn't always consistent.  When calling "vif-bridge up", domain refers to
> the name assigned to the domain.  When "vif-bridge down" is called,
> domain is of the form "DOM<n>", where <n> is the numeric identifier for
> the domain.

Oops -- that's a bug not a feature.

We probably should be making both the name and the domid
available to the script anyhow. 

> So far I've tracked the problem as far as noticing that NetDev.destroy
> in python/xen/xend/server/netif.py isn't passed the name of the domain,
> but I haven't figured out how to best fix this.  I'm willing to work on
> it a bit; any suggestions for how to approach it?

Mike would be the best person to fix this, but he's on holiday
for a week. Any takers?

Ian






-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>