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/
Home Products Support Community News


[Xen-users] Aquiring domain name on vif offline

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Aquiring domain name on vif offline
From: Matt Ayres <matta@xxxxxxxxxxxx>
Date: Tue, 13 Dec 2005 12:20:37 -0500
Delivery-date: Tue, 13 Dec 2005 17:22:25 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: TekTonic
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.4 (Windows/20050908)

I'm using Xen in a routing setup. I am converting my scripts to use the new Xen 3.0 xenstore system and am finding a problem when the vif-route script is run with the "offline" parameter.

I added the following call to vif-route:

domain=$(xenstore_read_default "$XENBUS_PATH/domain" "$domain")

In online mode it works as expected, in offline mode it returns null. I assume this is because the domain is already destroyed and then Xen wants to take care of downing the vif.

My question to the Xen developers is how can I aquire the domain name in vif-route using the xenstore (or other) method?

Thank you,
Matt Ayres

Xen-users mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-users] Aquiring domain name on vif offline, Matt Ayres <=