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] openvswitch controller using

To: 'Alexey Larkov' <gmlexx@xxxxxxxxx>, "xen-users@xxxxxxxxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-users] [XCP] openvswitch controller using
From: Rob Hoes <Rob.Hoes@xxxxxxxxxx>
Date: Mon, 16 Aug 2010 15:04:30 +0100
Accept-language: en-US
Acceptlanguage: en-US
Delivery-date: Mon, 16 Aug 2010 07:06:37 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTin3m-anOx2QYeV_0AkNWsyAdcWOXKBBZjyuSFpz@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: <AANLkTimgZ8PAijdpGz38eu87Vqzmw_NjyG=ub+o51mb4@xxxxxxxxxxxxxx> <7EA643C653F17F4C80DE959E978F10ED7991553270@xxxxxxxxxxxxxxxxxxxxxxxxx> <AANLkTin3m-anOx2QYeV_0AkNWsyAdcWOXKBBZjyuSFpz@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acs9RClyclXy2FesRZy6DKh0Fx5rSwAAy/5Q
Thread-topic: [Xen-users] [XCP] openvswitch controller using

Hi Alexey,


I just checked this with some people and it seems that the xsconsole stuff you are seeing is old and removed in the current development version of XCP. Please ignore what you are seeing there. Also ignore the CLI command I mentioned.


I think association of a controller to a pool should happen from the controller. I have never seen the SNAC controller though, so I am unfortunately not able to tell you how it works. Perhaps the openflow people can help?


Please note that this stuff is still experimental.





From: Alexey Larkov [mailto:gmlexx@xxxxxxxxx]
Sent: 16 August 2010 14:09
To: Rob Hoes
Subject: Re: [Xen-users] [XCP] openvswitch controller using


Thanks, Rob.


But xsconsole still shows  "Controller (in-use)  <None>"

/etc/init.d/openvswitch restart didn't help

Log /var/log/openvswitch/ovs-vswitchd.log has no records about controller.


Any ideas how to launch using controller?

On 16 August 2010 18:52, Rob Hoes <Rob.Hoes@xxxxxxxxxx> wrote:



You should be able to use the following CLI command to link a controller to your pool:


xe pool-set-vswitch-controller address=<address_of_controller>





From: xen-users-bounces@xxxxxxxxxxxxxxxxxxx [mailto:xen-users-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Alexey Larkov
Sent: 15 August 2010 09:06
To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] [XCP] openvswitch controller using


I'm using XCP 0.5.0 version.


In the same host in debian VM I installed SNAC http://www.openflowswitch.org/wp/snac/ 1.0 as openflow controller.


1. Is it possible to setup openvswitch controller from xsconsole?

Controller (config)  xxx.xxx.xxx.xxx - display <SNAC ip address>

Controller (in-use)  <None> - always display "None"


2. I tried to use folowing commands:

ovs-vsctl set-controller xenbr0 tcp:<SNAC ip address>

For a few minutes everything works good and I can manage switch from <SNAC ip address>, but than connection to host has broken suddenly.

Connection to host's VM's may works longer, but usually lost also or a bit later.

Connection immediately restored after command: ovs-vsctl del-controller xenbr0.

In SNAC contoller switch looks good, no denied packets.


I can't find any criminal in log files.

I'd be appreciate for any help and advice how to dig the problem.



Kind regards,
Larkov Alexey

Kind regards,
Larkov Alexey

Xen-users mailing list
<Prev in Thread] Current Thread [Next in Thread>