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] [XCP] XCP network and VLAN by Open vSwitch

To: George Shuklin <george.shuklin@xxxxxxxxx>
Subject: Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch
From: Wei-Chih Chen <wcchen.tw@xxxxxxxxx>
Date: Tue, 5 Jul 2011 20:20:13 +0800
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 05 Jul 2011 05:21:50 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=zpXE6cihEITcSz4+9Gtb3wiNYnFxnJevauL75zPFCgY=; b=aOsKrHsM5hiFs0vw4JLI+pUOpfQH1ytl5TWCIBfhg4uYEMui0V68W+RYiSc8vJUTob Mx/aq6944elejOBdgnR1sMPTifvH0r+tbkxJbyNC60LzCBcPO1jWleB1W3GSSsHJezVD w1ewKir1me5QU53O8Nz5aV7Jlk4F/NmTjUrF0=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <1309799912.4149.16.camel@mabase>
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: <BANLkTimdsxyfce+iuxv7wL0zQK+owUJrNg@xxxxxxxxxxxxxx> <BANLkTikForS5T4hEV0EHLY_CMDt4YH8upA@xxxxxxxxxxxxxx> <BANLkTimM4fF3O3N_ZUO2Ad9E4RwLvBehGg@xxxxxxxxxxxxxx> <BANLkTinKp4VhzZG2YAJaUjJexLpdGoC_KA@xxxxxxxxxxxxxx> <BANLkTimYrQ89-MyP4ZkDPCB3cH0+ahHVeg@xxxxxxxxxxxxxx> <BANLkTindVRz_M4NyuQjN=dC5+nPUu1r9yA@xxxxxxxxxxxxxx> <BANLkTik0sbRkpQ8byxnTQjTYSjg3Hg4Fjg@xxxxxxxxxxxxxx> <BANLkTimWUxuu1BY48FePnjMJvhZ2A5ihXw@xxxxxxxxxxxxxx> <BANLkTimA0UP8tNi2Zg8JBCApDnVZfvMi7A@xxxxxxxxxxxxxx> <BANLkTinytD__TdfAze12dnsZA7wFrzgOYw@xxxxxxxxxxxxxx> <BANLkTi=KB91S-UKDgKrcpoaE3gFzNtazLg@xxxxxxxxxxxxxx> <BANLkTim0VX-s3hMMhEt+1dE26NJVnuaK3w@xxxxxxxxxxxxxx> <CANx=6oZQXVsfEmqHNzEVDuvVMpS-G_R83gJNEv37dqtB7deRSw@xxxxxxxxxxxxxx> <1309799912.4149.16.camel@mabase>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear George and Everyone,

I've checked that script.
It surprises me that it uses ovs-vsctl.
I thought XAPI controls Linux bridge directly instead of using newly integrated ovs- commands.
However, it seems that some of xe commands (XAPI) also use ovs- commands.

Therefore, some contents mentioned in this discussion list before has to be modified?
1. Original Linux network: XenCenter (GUI tool)-> xe command-> XAPI -> Linux Bridge or Open vSwitch (depeding on what is configured ? )
2. (from Todd)
some vSwitch Controller (commercial from companies like Citrix or open source using NOX)-> OpenFlow protocol-> Open vSwitch switches


On Tue, Jul 5, 2011 at 1:18 AM, George Shuklin <george.shuklin@xxxxxxxxx> wrote:
I could not reply to all question but look to
the /etc/xensource/scripts/vif - it contain shell script executed by
xapi during vif-plug/unplug operations.

В Пнд, 04/07/2011 в 19:05 +0800, Wei-Chih Chen пишет:

> Sorry that I still have many questions about network of XCP 1.0 .
>
> Can Linux Bridge and Open vSwitch coexist and work at the same time?
> The command "xe-switch-network-backend openvswitch" enables vSwitch.
> This means "just turn on vSwitch" or "turn on vSwitch and turn off
> Linux Bridge"?
>
> "A  network is a virtual Ethernet switch on a XenServer host."
> Does the virtual Ethernet switch the same as the virtual bridge
> created by "ovs-vsctl add-br"?
It seems they are the same?
The original problem is virtual bridges created with ovs-vsctl directly can not be shown in XenCenter.
It is said using ovs- commands is not recommended.
Therefore, if the virtual Ethernet switch and the virtual bridge created by "ovs-vsctl add-br" are the same,
I can first create virtual switches through XAPI (i.e. XenCenter or xe commands).
Then the remaining managements are done through XAPI or OpenFlow (if XAPI does not support this configuration).
Is the method correct?
>
> From administrator's guide, there are 4 types of network in XenServer.
> It seems that only cross-server private network needs Open vSwitch,
> which is managed by vSwitch Controller.
> (Another 3 networks use Linux bridge?)
> However, XCP does not support cross-server private network.
> I think it is because vSwitch Controller is a commercial product.
> Does this mean Citrix does not provide XCP users a way/tool to control
> Open vSwitch?
> Or Citrix does not plan to bring benefits of Open vSwitch to XCP,
> therefore does not integrate Open vSwitch and XCP completely?
> XCP users only have to use ovs- commands (from Todd and
> admin@xxxxxxxxxxx, ovs commands may confuse XAPI) or OpenFlow
> controllers to complete what vSwitch Controller does?

Thanks a lot.

Regards,
Wayne

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