frank
2010-Dec-11 01:47 UTC
[Xen-users] How to use "xe tunnel-create" to create GRE tunnel?
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@lists.xensource.com http://lists.xensource.com/xen-users
Rob Hoes
2010-Dec-12 16:11 UTC
Re: [Xen-users] How to use "xe tunnel-create" to create GRE tunnel?
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@lists.xensource.com > http://lists.xensource.com/xen-users_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
frank
2010-Dec-12 19:00 UTC
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@lists.xensource.com >> http://lists.xensource.com/xen-users-- Frank Zhang Cloud.com INC _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rob Hoes
2010-Dec-13 10:01 UTC
RE: [Xen-users] How to use "xe tunnel-create" to create GRE tunnel?
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@cloud.com] > Sent: 12 December 2010 19:00 > To: Rob Hoes > Cc: xen-users@lists.xensource.com > 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@lists.xensource.com > >> http://lists.xensource.com/xen-users > > > -- > Frank Zhang > Cloud.com INC_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
frank
2010-Dec-13 17:27 UTC
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@cloud.com] >> Sent: 12 December 2010 19:00 >> To: Rob Hoes >> Cc: xen-users@lists.xensource.com >> 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@lists.xensource.com >>>> http://lists.xensource.com/xen-users >> >> -- >> Frank Zhang >> Cloud.com INC-- Frank Zhang Cloud.com INC _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Rob Hoes
2010-Dec-14 10:33 UTC
RE: [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@cloud.com] Sent: 13 December 2010 17:27 To: Rob Hoes Cc: xen-users@lists.xensource.com 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@cloud.com] Sent: 12 December 2010 19:00 To: Rob Hoes Cc: xen-users@lists.xensource.com<mailto:xen-users@lists.xensource.com> 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@lists.xensource.com<mailto:Xen-users@lists.xensource.com> http://lists.xensource.com/xen-users -- Frank Zhang Cloud.com INC -- Frank Zhang Cloud.com INC _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
frank
2010-Dec-14 23:51 UTC
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@cloud.com] > *Sent:* 13 December 2010 17:27 > *To:* Rob Hoes > *Cc:* xen-users@lists.xensource.com > *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@cloud.com] > > Sent: 12 December 2010 19:00 > > To: Rob Hoes > > Cc:xen-users@lists.xensource.com <mailto:xen-users@lists.xensource.com> > > 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@lists.xensource.com <mailto:Xen-users@lists.xensource.com> > > 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@lists.xensource.com http://lists.xensource.com/xen-users