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/
Home Products Support Community News


Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch

To: Todd Deshane <todd.deshane@xxxxxxx>
Subject: Re: [Xen-users] [XCP] XCP network and VLAN by Open vSwitch
From: Wei-Chih Chen <wcchen.tw@xxxxxxxxx>
Date: Thu, 7 Jul 2011 16:34:54 +0800
Cc: George Shuklin <george.shuklin@xxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 07 Jul 2011 01:38: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=XgyA00QAHYQDKgS9ZAvSuSSrfHBYXOE5scG6QUtRlic=; b=uyonL8tQubsD1t06KPGf51iy6TFHdtJhOfoIkkW5CpRJgJtZ8H0yFips0RtGwtX5gQ gEZirRF+YofytiLuuN4M6+Thv4HclWApNDe34bnmsPN0ac1BvDWEGu/AXfhQo/RAfE7P X9jrSukHQDLJnSl7FXaoYPu5atK06bnUnFlAE=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CAMrPLW+sxMAyU5toGRDbX4XfbrDve2peNCc2Drk0n3YJp-s7MQ@xxxxxxxxxxxxxx>
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> <CANx=6oaiSsyB2_TkpwdMKetcPekKVV7bcxbKdzikEq7FF9qLLA@xxxxxxxxxxxxxx> <CAMrPLW+sxMAyU5toGRDbX4XfbrDve2peNCc2Drk0n3YJp-s7MQ@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Dear Todd and Everyone,

On Wed, Jul 6, 2011 at 6:59 AM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
On Tue, Jul 5, 2011 at 8:20 AM, Wei-Chih Chen <wcchen.tw@gmail.com> wrote:
> 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.

When xe uses the ovs commands it is often working with the bridge as
directly as it needs to (i.e. there are ovs commands that accomplish
the desired result).

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

> Then the remaining managements are done through XAPI or OpenFlow (if XAPI
> does not support this configuration).
> Is the method correct?

I think this seems OK. Does the previous response that I sent answer
this question better?
Do you mean this?
"Either use the XenCenter/OpenXenManager front ends or xe command directly to manage the network.


Use a commercial or open source controller that is designed to interact properly with XCP/xapi/Open vSwitch."
My current requirements are VLANs.
However, I need features of Open vSwitch in the future.
And it takes time to study OpenFlow and controllers.
Therefore, now, I plan to create networks of VLANs with Java SDK (XAPI).
In the future, open source OpenFlow controller (current choice is Beacon) is adopted in order to meet more requirements.


Xen-users mailing list