Re: [ovs-discuss] How vswitchd connects to open flow controller

2010-12-09 Thread Derek Cormier
I haven't used the auto discovery, but I use: ovs-vsctl set-controller br0 tcp:192.168.1.100:6633 ...where br0 is the name of my virtual bridge and 192.168.1.100 is the IP address I assigned to the virtual bridge using ifconfig. My controller listens locally on port 6633. -Derek On 12/10/2

Re: [ovs-discuss] How vswitchd connects to open flow controller

2010-12-09 Thread frank
On 12/09/2010 09:45 PM, Ben Pfaff wrote: On Thu, Dec 9, 2010 at 9:36 PM, frank wrote: I don't see parameter to specify IP/Port of openflow controller for vswitchd connect in, How vswitchd find controller? auto discovery? by ovs-vswitchd ofproto/list "ofproto/list" is an ovs-appct

Re: [ovs-discuss] How vswitchd connects to open flow controller

2010-12-09 Thread Ben Pfaff
On Thu, Dec 9, 2010 at 9:36 PM, frank wrote: >    I don't see parameter to specify IP/Port of openflow controller for > vswitchd connect in, How vswitchd find controller? auto discovery? >    by > >    ovs-vswitchd ofproto/list "ofproto/list" is an ovs-appctl command, not an ovs-vswitchd command.

[ovs-discuss] How vswitchd connects to open flow controller

2010-12-09 Thread frank
Hi experts: I don't see parameter to specify IP/Port of openflow controller for vswitchd connect in, How vswitchd find controller? auto discovery? by ovs-vswitchd ofproto/list output: Dec 09 21:32:22|1|reconnect|INFO|ofproto/list: connecting... Dec 09 21:32:22|2|recon

Re: [ovs-discuss] Create GRE tunnel failed, vswitch complains no kernel module

2010-12-09 Thread frank
Thanks Ben. It worked! just notice I should do xe-switch-network-backend openvswitch reboot On 12/09/2010 04:19 PM, Ben Pfaff wrote: On Thu, Dec 09, 2010 at 04:08:43PM -0800, frank wrote: So, openvswitch_mod.ko is a mandatory requirement for creating GRE? Yes. It is mandatory for using Open

Re: [ovs-discuss] Create GRE tunnel failed, vswitch complains no kernel module

2010-12-09 Thread Ben Pfaff
On Thu, Dec 09, 2010 at 04:08:43PM -0800, frank wrote: > So, openvswitch_mod.ko is a mandatory requirement for creating GRE? Yes. It is mandatory for using Open vSwitch at all. > The OVS GRE module is not required? Open vSwitch does not have any separate GRE module. > By "rpm -ql openvswitch",

Re: [ovs-discuss] Create GRE tunnel failed, vswitch complains no kernel module

2010-12-09 Thread frank
Thanks Ben. So, openvswitch_mod.ko is a mandatory requirement for creating GRE? And said in http://www.mail-archive.com/discuss@openvswitch.org/msg00356.html Also, I should point out that while you are correct that you no longer need to load a separate OVS GRE module, you do still need to unl

Re: [ovs-discuss] Create GRE tunnel failed, vswitch complains no kernel module

2010-12-09 Thread Ben Pfaff
On Thu, Dec 09, 2010 at 03:53:01PM -0800, frank wrote: > Dec 9 15:24:46 xenserver-frank1 ovs-vswitchd: > 00011|dpif_linux|ERR|/proc/devices: openvswitch major not found (is > the module loaded?) I suspect that the kernel module is not loaded. INSTALL.Linux has debugging tips: 6. If you built ke

[ovs-discuss] Create GRE tunnel failed, vswitch complains no kernel module

2010-12-09 Thread frank
Hi, I am trying to create GRE tunnel on XenServer5.6, the vswitch is default installed in the distribution. also from http://www.mail-archive.com/discuss@openvswitch.org/msg00356.html, Jesse said we need not load GRE module, but it seems I am failed due to lack of this module. I

Re: [ovs-discuss] ubuntu openvswitch gre interface

2010-12-09 Thread Jesse Gross
On Thu, Dec 9, 2010 at 10:42 AM, frank wrote: > >>> However interface gre0 doesn't show up in ifconfig. >> >> No, it won't.  The Open vSwitch implementation of GRE doesn't create >> Linux network devices. > > so, if I want to debug, how to track if my traffic was going to gre > interface? > just t

Re: [ovs-discuss] ubuntu openvswitch gre interface

2010-12-09 Thread Ben Pfaff
On Thu, Dec 09, 2010 at 10:42:52AM -0800, frank wrote: > > >>However interface gre0 doesn't show up in ifconfig. > >No, it won't. The Open vSwitch implementation of GRE doesn't create > >Linux network devices. > so, if I want to debug, how to track if my traffic was going to gre > interface? > ju

Re: [ovs-discuss] ubuntu openvswitch gre interface

2010-12-09 Thread frank
However interface gre0 doesn't show up in ifconfig. No, it won't. The Open vSwitch implementation of GRE doesn't create Linux network devices. so, if I want to debug, how to track if my traffic was going to gre interface? just tcdump the really eth0 of my host? -- Frank Zhang Cloud.com INC

Re: [ovs-discuss] How to remotely configure vswitch through json-rpc

2010-12-09 Thread frank
On 12/09/2010 12:35 AM, Justin Pettit wrote: The JSON-RPC interface is for doing switch-level configuration, such as that provided by ovs-vsctl. If you're looking to do flow-level configuration, which is what ovs-ofctl does, then you need to use the OpenFlow protocol. --Justin On Dec 8, 20

Re: [ovs-discuss] ubuntu openvswitch gre interface

2010-12-09 Thread Ben Pfaff
On Thu, Dec 09, 2010 at 09:07:38PM +0800, CS Lee wrote: > Has anyone tried to create gre interface using openvswitch on Ubuntu, I have > followed the instruction here - > > http://www.mail-archive.com/discuss@openvswitch.org/msg00356.html There's a simpler way: ovs-vsctl add-port br0 gre -- set i

[ovs-discuss] ubuntu openvswitch gre interface

2010-12-09 Thread CS Lee
hi there, Has anyone tried to create gre interface using openvswitch on Ubuntu, I have followed the instruction here - http://www.mail-archive.com/discuss@openvswitch.org/msg00356.html However interface gre0 doesn't show up in ifconfig. By the way, when I created the virtual interface, say for

Re: [ovs-discuss] How to remotely configure vswitch through json-rpc

2010-12-09 Thread Justin Pettit
The JSON-RPC interface is for doing switch-level configuration, such as that provided by ovs-vsctl. If you're looking to do flow-level configuration, which is what ovs-ofctl does, then you need to use the OpenFlow protocol. --Justin On Dec 8, 2010, at 9:58 AM, frank wrote: > Hi, > I am l