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] xl create ipv6 support

To: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] xl create ipv6 support
From: Carlos <cechevarne@xxxxxxxxx>
Date: Tue, 22 Feb 2011 09:54:30 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxx>
Delivery-date: Tue, 22 Feb 2011 00:55:10 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=Z/akJENC6WjeV3/tKbb4s1wtcb4XyFdA7ZRZVZFZjNo=; b=Rr4C8mmavh/OQ+cBNP2XNUl1vMuEUKnX8W+X91yhTHhNmHxK7o1eukvTgLNb7ZwqwZ 6+gloOEqw7XKXemifsZe8m9oO7Nt8pBJkKjVBIQW0vevrnq32136xJMQA5MwtMjLtkJm E4nDvmGBfdBxg3nn2HRHBpUfsDDvNL4P0Tby4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PQDYAGl6pRPIQ0EF4NKNpc6Y87CBHgiCdthItM0bnt1SbxVcC/6zh0FGznazvO6vUO 5bfA7tFZ9Sg+4/MBYVvMvuaJatFzDxHfpeWPv7MUNn31opdcw6xCsYav7LmeoqDE7kl4 M7XUPfvKxwXk9AQes2tDgbH3TI3IL8aJQD8pg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <alpine.DEB.2.00.1102211114320.17894@kaball-desktop>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=k03gF7Z8Pn29bVeOWEeUC+mwH+K+QW7HhgiZG@xxxxxxxxxxxxxx> <1298281462.16356.7527.camel@xxxxxxxxxxxxxxxxxxxxxx> <alpine.DEB.2.00.1102211114320.17894@kaball-desktop>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
The patch works :).

#/etc/xen# xl create domU.cfg
Parsing config file domU.cfg
Daemon running with PID 3165

/usr/bin/xenstore-ls /local/domain/0/backend/vif/2/1
frontend = "/local/domain/2/device/vif/1"
frontend-id = "2"
>state = "4"
script = "/etc/xen/scripts/vif-bridge"
mac = "00:16:3e:45:4f:cc"
ip = "82.98.165.194 2a02:be8:0:17:216:3eff:fe45:4fbb"
bridge = "xenbr"
handle = "1"
feature-sg = "1"
feature-gso-tcpv4 = "1"
feature-rx-copy = "1"
feature-rx-flip = "0"
feature-smart-poll = "1"
hotplug-status = "connected"


2011/2/21 Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
On Mon, 21 Feb 2011, Ian Campbell wrote:
> # HG changeset patch
> # User Ian Campbell <ian.campbell@xxxxxxxxxx>
> # Date 1298281384 0
> # Node ID 44ba31b97a1f0f2628298e285d9eb64ab39eeeac
> # Parent  c529d4d7d79ba3fe69ffb6cbacac5c9e3e5cf246
> xl/libxl: treat vif "ip" fields as a simple string
>
> Currently we parse the string as an IPv4 address but this does not
> handle IPv6. We then format the IP address as a string into xenstore.
> Rather than add further parsing and formatting to support IPv6 simply
> treat the field as a string, which it turns out is all xend does.
>
> Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
>


Acked-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>