Re: [ovs-discuss] how do you make ovsdb-server persistent?

2013-02-07 Thread Justin Pettit
On Feb 7, 2013, at 11:49 PM, Umair Hoodbhoy wrote: > How do I know whether these init scripts are actually being called? I'm > guessing that since they refer to /usr/sbin/ovsdb-server instead of > /usr/local/sbin/ovsdb-server, that they are not currently being called > (otherwise ovsdb-server

Re: [ovs-discuss] how do you make ovsdb-server persistent?

2013-02-07 Thread Umair Hoodbhoy
How do I know whether these init scripts are actually being called? I'm guessing that since they refer to /usr/sbin/ovsdb-server instead of /usr/local/sbin/ovsdb-server, that they are not currently being called (otherwise ovsdb-server would be running upon reboot). My understanding is that the pre

Re: [ovs-discuss] how do you make ovsdb-server persistent?

2013-02-07 Thread Justin Pettit
Yes, for Ubuntu, it's in the "debian" directory. The init script you want is "openvswitch-switch.init", which calls ovs-ctl, which starts ovsdb-server (and does a bunch of other init-related stuff). If you're using Ubuntu, you may want to look at using the prebuilt packages in your distributio

Re: [ovs-discuss] Unsupported Tunnel type

2013-02-07 Thread Justin Pettit
No. --Justin On Feb 7, 2013, at 11:31 PM, maryam hanfi wrote: > Is there a way to stop adding port if tunnel type is not supported. > > On Fri, Feb 8, 2013 at 12:27 PM, Justin Pettit wrote: > ovs-vsctl doesn't sanity-check your input, since only ovs-vswitchd is going > to know what's suppor

Re: [ovs-discuss] Unsupported Tunnel type

2013-02-07 Thread maryam hanfi
Is there a way to stop adding port if tunnel type is not supported. On Fri, Feb 8, 2013 at 12:27 PM, Justin Pettit wrote: > ovs-vsctl doesn't sanity-check your input, since only ovs-vswitchd is > going to know what's supported. However, ovs-vswitchd did log a message > complaining it was invali

Re: [ovs-discuss] how do you make ovsdb-server persistent?

2013-02-07 Thread Umair Hoodbhoy
What exactly would the init script be that I should be looking for? I'm running Ubuntu, so I guess that would be in the 'debian' directory. If so, then under that directory I see several files with a .init extention. In particular, there is a debian/openvswitch-switch.init that has the following li

Re: [ovs-discuss] Unsupported Tunnel type

2013-02-07 Thread Justin Pettit
ovs-vsctl doesn't sanity-check your input, since only ovs-vswitchd is going to know what's supported. However, ovs-vswitchd did log a message complaining it was invalid, which you found. --Justin On Feb 7, 2013, at 11:25 PM, maryam hanfi wrote: > Yes it works for gre because gre is a suppor

Re: [ovs-discuss] Unsupported Tunnel type

2013-02-07 Thread maryam hanfi
Yes it works for gre because gre is a supported tunnel type in OVS. But my question is, if a tunnel type is not support for example gre0 or mytunnel which are not valid types in OVS, then OVS should throw an error and should not add it to the configuration. But it is adding unsupported types in the

Re: [ovs-discuss] Unsupported Tunnel type

2013-02-07 Thread Justin Pettit
Try type "gre", not "gre0". --Justin On Feb 7, 2013, at 10:49 PM, maryam hanfi wrote: > Hi, > > I am using OVS-1.7.1 and I tried to add gre0 which is an unsupported type in > OVS. It gives me warning and complains about family not supported. But when I > run ovs-vsctl show command, it list

[ovs-discuss] Unsupported Tunnel type

2013-02-07 Thread maryam hanfi
Hi, I am using OVS-1.7.1 and I tried to add gre0 which is an unsupported type in OVS. It gives me warning and complains about family not supported. But when I run ovs-vsctl show command, it list gre0 as port with type gre0 in the datapath. If type is unknown or protocol is not supported should it

Re: [ovs-discuss] how do you make ovsdb-server persistent?

2013-02-07 Thread Justin Pettit
Running that command doesn't cause it to install itself on boot. You need some sort of init script to do that. We've included ones for various distributions in the OVS sources. (The commands are different but basically equivalent (other than the --log-file) because if you don't specify a data

[ovs-discuss] how do you make ovsdb-server persistent?

2013-02-07 Thread Umair Hoodbhoy
Hi, I have OVS 1.7.3 successfully installed and ovsdb-server is running. But upon reboot it is not. INSTALL.Linux says to run this: % ovsdb-server \ --remote=punix:/usr/local/var/run/openvswitch/db.sock \ --remote=db:Open_vSwitch,manager_options \

Re: [ovs-discuss] IPsec authentication headers and L4 matching

2013-02-07 Thread Jesse Gross
On Thu, Feb 7, 2013 at 3:23 PM, Saul St. John wrote: > Hi! > > I was reading DESIGN and lib/flow.c to try and better understand the > behavior of Open vSwitch vis-a-vis IPsec authentication headers. It looks > like IPsec Authentication Headers are basically ignored on IPv6 packets when > populatin

Re: [ovs-discuss] Ruby bindings

2013-02-07 Thread Justin Pettit
There aren't any that ship with OVS. I don't know of any external ones. --Justin On Feb 7, 2013, at 3:41 PM, Endre Karlson wrote: > Is there any ruby bindings for OVS? > ___ > discuss mailing list > discuss@openvswitch.org > http://openvswitch.org/

[ovs-discuss] IPsec authentication headers and L4 matching

2013-02-07 Thread Saul St. John
Hi! I was reading DESIGN and lib/flow.c to try and better understand the behavior of Open vSwitch vis-a-vis IPsec authentication headers. It looks like IPsec Authentication Headers are basically ignored on IPv6 packets when populating the 'flow' struct. As such, it would be possible to match

Re: [ovs-discuss] The error of db.sock failed when system reboot

2013-02-07 Thread Martinx - ジェームズ
Hi! Please, read the following link before upgrade openvswitch Ubuntu package to 1.4.0-1ubuntu1.4. brcompat module problem after upgrade to the release "1.4.0-1ubuntu1.4": https://answers.launchpad.net/ubuntu/+source/openvswitch/+question/221334 BTW, are you running the 1.4.0-1ubuntu1.4? Thanks

Re: [ovs-discuss] Hi, ask for help about OVS.

2013-02-07 Thread Jesse Gross
On Thu, Feb 7, 2013 at 12:41 AM, Liangliang LL2 Ma wrote: > Hi: > > I am a beginner OVS user from china, I tried install OVS in my OpenSuse > 11.4. > > then I test OVS and get infor blow, I don't understand the blue strings. > > > > 1 What is the " The Open vSwitch kernel module " ? > > 2 How to c

[ovs-discuss] Hi, ask for help about OVS.

2013-02-07 Thread Liangliang LL2 Ma
Hi: I am a beginner OVS user from china, I tried install OVS in my OpenSuse 11.4. then I test OVS and get infor blow, I don't understand the blue strings. 1 What is the " The Open vSwitch kernel module " ? 2 How to create a datapath ? 3 Can OVS replace linux TC functions ? Can you tell me how to

Re: [ovs-discuss] OVS / Linux box with OVS as a receiver for GRE

2013-02-07 Thread Endre Karlson
I mean like how I can configure the destination GRE receiver as a receiver for multiple GRE tunnels from other OVS switches / devices to SPAN / Mirror out the traffic to multiple services. 2013/2/7 Ben Pfaff > On Thu, Feb 07, 2013 at 05:12:18PM +0100, Endre Karlson wrote: > > I tried earlier us

Re: [ovs-discuss] OVS / Linux box with OVS as a receiver for GRE

2013-02-07 Thread Ben Pfaff
On Thu, Feb 07, 2013 at 05:12:18PM +0100, Endre Karlson wrote: > I tried earlier using a ip tunnel interface and adding it as a port to ovs > then mirroring that port out on a dummy iface. Though I couldn't get any > traffic out. I would not normally expect an IP tunnel to work with Open vSwitch,

Re: [ovs-discuss] OVS / Linux box with OVS as a receiver for GRE

2013-02-07 Thread Endre Karlson
I tried earlier using a ip tunnel interface and adding it as a port to ovs then mirroring that port out on a dummy iface. Though I couldn't get any traffic out. Endre. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listin

Re: [ovs-discuss] Difference in behavior between master branch and latest download version

2013-02-07 Thread Ben Pfaff
No one has looked at it yet. If only one userspace switch works at a time, then that's a bug. On Thu, Feb 07, 2013 at 07:41:34AM -0800, Aishwarya wrote: > Hi, > > Any update on this issue? > > Thanks. > On Feb 6, 2013 10:28 AM, "Aishwarya" wrote: > > > Hi, > > > > I am working with creating m

Re: [ovs-discuss] Difference in behavior between master branch and latest download version

2013-02-07 Thread Aishwarya
Hi, Any update on this issue? Thanks. On Feb 6, 2013 10:28 AM, "Aishwarya" wrote: > Hi, > > I am working with creating multiple userspace only switches on a host. I > am not using the kernel module. While I am able to do this successfully > with the latest 1.7.3 download version, it fails in th

Re: [ovs-discuss] netflow related question

2013-02-07 Thread Ben Pfaff
On Thu, Feb 07, 2013 at 10:31:33AM +0530, nirmoy das wrote: > 1 Can I activate NetFlow on a specific ovs port ? i No. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

Re: [ovs-discuss] OVS / Linux box with OVS as a receiver for GRE

2013-02-07 Thread Ben Pfaff
On Thu, Feb 07, 2013 at 04:07:03PM +0100, Endre Karlson wrote: > I got a scenario where I'm trying to terminate a Ethernet over GRE tunnel > on a host and then mirror the traffic out to specific NICs on the Host. > > Is this possible? Sure, what's the difficulty? _

[ovs-discuss] OVS / Linux box with OVS as a receiver for GRE

2013-02-07 Thread Endre Karlson
I got a scenario where I'm trying to terminate a Ethernet over GRE tunnel on a host and then mirror the traffic out to specific NICs on the Host. Is this possible? Endre. ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/li