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-users

RE: [Xen-users] How to use "xe tunnel-create" to create GRE tunnel?

To: 'frank' <frank@xxxxxxxxx>
Subject: RE: [Xen-users] How to use "xe tunnel-create" to create GRE tunnel?
From: Rob Hoes <Rob.Hoes@xxxxxxxxxx>
Date: Tue, 14 Dec 2010 10:33:40 +0000
Accept-language: en-US
Acceptlanguage: en-US
Cc: "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>, "xen-api@xxxxxxxxxxxxxxxxxxx" <xen-api@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 14 Dec 2010 02:35:38 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4D06577B.3020707@xxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4D02D839.6010809@xxxxxxxxx> <7285E730-BE47-437D-8C9E-D0B8930ECD78@xxxxxxxxxx> <4D051BC1.7080502@xxxxxxxxx> <7EA643C653F17F4C80DE959E978F10ED8C42279486@xxxxxxxxxxxxxxxxxxxxxxxxx> <4D06577B.3020707@xxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acua6vqtpJlRFRqlTTyE17Rs9uGXbwAjiHJQ
Thread-topic: [Xen-users] How to use "xe tunnel-create" to create GRE tunnel?

Hi Frank,

 

The XenAPI calls related to PIFs, VIFs, and Networks serve the same purpose no matter whether the linux bridging or the open vswitch backend is in use. These calls are used to create and configure (virtual) interfaces, bridges/vswitches and networks.

 

The XenAPI does not do anything with OpenFlow. Everything OpenFlow related is done by the vswitch controller, which talks directly to the vswitches inside the hosts in your pool. ACL rules, for example, can be defined in the web GUI of the controller.

 

Cheers,

Rob

 

From: frank [mailto:frank@xxxxxxxxx]
Sent: 13 December 2010 17:27
To: Rob Hoes
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to use "xe tunnel-create" to create GRE tunnel?

 

Hi Rob:
    Cloud you kindly point me which part of API is responsible for flow controller?
    I searched java doc of FP1 beta API, only got "setVswitchController" and "getVswitchController", not see OpenFlow relevant API.
    Thank you very much.

On 12/13/2010 02:01 AM, Rob Hoes wrote:

The controller I am talking about is part of XS 5.6 FP1 (Advanced Edition or higher), which is released by Citrix very soon, and was also included in the beta. This controller uses OpenFlow for setting up ACL rules etc, and another, Open vSwitch specific, protocol to create GRE tunnel ports remotely.
 
Rob
 
-----Original Message-----
From: frank [mailto:frank@xxxxxxxxx]
Sent: 12 December 2010 19:00
To: Rob Hoes
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] How to use "xe tunnel-create" to create GRE
tunnel?
 
  What "controller" means here? is it an openflow controller or
controller made by xensource?
as I know, openflow standard has no definition for creating a GRE
tunnel.
thank you
 
On 12/12/2010 08:11 AM, Rob Hoes wrote:
Hi Frank,
 
You need to connect the Open vSwitch Controller that came with XS 5.6
FP1 beta to your pool. The controller sees the tunnels that you create
by the xe commands (as you did), and will create the GRE ports on the
vSwitches for you.
 
Regards,
Rob
 
On 11 Dec 2010, at 01:47, frank wrote:
 
  Hi,
     In XenServer5.6 FP1 beta, I have switched default bridge to
open
vswitch, I wonder how to use "xe tunnel-create" to create a GRE
tunnel.
 
my commands:
 
xe tunnel-create pif-uuid=eth0_uuid
network-uuid=network_created_by_xe_network_create
 
then I got an uuid which is "access-PIF" of output from "xe tunnel-
list".
 
what should I do next? how to set remote_ip and GRE type and GRE key?
 
I already know how to do these by open vswitch, I just want to use
xe
command do same things.
 
than kyou.
 
--
Frank Zhang
Cloud.com INC
 
 
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
 
 
--
Frank Zhang
Cloud.com INC
 




-- 
Frank Zhang
Cloud.com INC
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users