Re: [ovs-discuss] Openvswitch with LXC

2021-02-03 Thread George Papathanail
Thank you Rayomond, I followed these steps: 1) sudo lxc-start -n c2 -d --logfile=logs 2) ovs-vsctl add-br switch0 ip add add 192.168.100.1/24 dev switch0 I have these two scripts: BRIDGE=switch0 ovs-vsctl --may-exist add-br $BRIDGE ovs-vsctl --if-exists del-port $BRIDGE $5 ovs-vsctl --may-exist

Re: [ovs-discuss] Openvswitch with LXC

2021-02-03 Thread Raymond Burkholder
Pretty simple: 1) read the man page on lxc.container.conf 2) build one or two interface up/down files Don't guarantee this works without a bit of extra massaging, but should be enough to get started: # cat /etc/lxc/scripts/ovs.port.up.sh #!/bin/bash logger "lxc_name=${LXC_NAME}" logger

[ovs-discuss] dp_hash algorithm works incorretly when tcp retransmit

2021-02-03 Thread ychen
We meet a problem that same tcp session selects different ovs group bucket when in tcp retransmition, and we can easily reproduce this phenomenon. After some code research, we found that when tcp retransmit, it may call function sk_rethink_txhash(), and this function makes skb->hash changed,

Re: [ovs-discuss] xml parsing issues with lib/db-ctl-base.xml

2021-02-03 Thread Ilya Maximets
On 2/3/21 7:22 PM, Ben Pfaff wrote: > On Wed, Feb 03, 2021 at 06:02:02PM +0100, Ilya Maximets wrote: >>> On Tue, Feb 02, 2021 at 05:02:54PM -0500, Flavio Fernandes wrote: Hi Ben, compiling ovn master with ovs master is upset because of an xml issue in the file:

Re: [ovs-discuss] xml parsing issues with lib/db-ctl-base.xml

2021-02-03 Thread Ben Pfaff
On Wed, Feb 03, 2021 at 06:02:02PM +0100, Ilya Maximets wrote: > > On Tue, Feb 02, 2021 at 05:02:54PM -0500, Flavio Fernandes wrote: > >> Hi Ben, > >> > >> compiling ovn master with ovs master is upset because of an xml issue in > >> the file: lib/db-ctl-base.xml > >> > >> Could you help

[ovs-discuss] Openvswitch with LXC

2021-02-03 Thread George Papathanail
Hello everyone, I'm trying to connect LXC with Openvswitch and to have a setup like this: [image: lxc.png] I'm kindly asking for your input, or if there is a tutorial please let me know Thank you in advance ___ discuss mailing list

Re: [ovs-discuss] xml parsing issues with lib/db-ctl-base.xml

2021-02-03 Thread Ilya Maximets
> On Tue, Feb 02, 2021 at 05:02:54PM -0500, Flavio Fernandes wrote: >> Hi Ben, >> >> compiling ovn master with ovs master is upset because of an xml issue in the >> file: lib/db-ctl-base.xml >> >> Could you help fixing it, please? > > Oops, I applied this: Thanks, Ben for fixing this. I