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?

Thank you Rob. Clear now.

On 12/14/2010 02:33 AM, Rob Hoes wrote:

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


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